Browse Source

FrameContainerMenuIterface renamed to FrameContainerMenuInterface

Fixes issue 3857

Change-Id: I6c3cf98628911ca1fcb38ac43ab5e873ee44dcd1
Reviewed-on: http://gerrit.dmdirc.com/1099
Reviewed-by: Gregory Holmes <greg@dmdirc.com>
Automatic-Compile: Gregory Holmes <greg@dmdirc.com>
tags/0.6.4
Simon Mott 14 years ago
parent
commit
603d50ac91

+ 1
- 1
src/com/dmdirc/addons/ui_swing/framemanager/windowmenu/FrameContainerMenu.java View File

@@ -41,7 +41,7 @@ import javax.swing.SwingUtilities;
41 41
  * Frame container JMenu.
42 42
  */
43 43
 public class FrameContainerMenu extends JMenu implements FrameInfoListener,
44
-        ActionListener, SelectionListener, FrameContainerMenuIterface {
44
+        ActionListener, SelectionListener, FrameContainerMenuInterface {
45 45
 
46 46
     /**
47 47
      * A version number for this class. It should be changed whenever the class

src/com/dmdirc/addons/ui_swing/framemanager/windowmenu/FrameContainerMenuIterface.java → src/com/dmdirc/addons/ui_swing/framemanager/windowmenu/FrameContainerMenuInterface.java View File

@@ -27,7 +27,7 @@ import com.dmdirc.FrameContainer;
27 27
 /**
28 28
  * Interface to define a menu or menu item that holds a framecontainer.
29 29
  */
30
-public interface FrameContainerMenuIterface {
30
+public interface FrameContainerMenuInterface {
31 31
 
32 32
     /**
33 33
      * Returns the wrapped frame container.

+ 1
- 1
src/com/dmdirc/addons/ui_swing/framemanager/windowmenu/FrameContainerMenuItem.java View File

@@ -40,7 +40,7 @@ import javax.swing.SwingUtilities;
40 40
  * Action representing a frame.
41 41
  */
42 42
 public class FrameContainerMenuItem extends JMenuItem implements FrameInfoListener,
43
-        ActionListener, SelectionListener, FrameContainerMenuIterface {
43
+        ActionListener, SelectionListener, FrameContainerMenuInterface {
44 44
 
45 45
     /**
46 46
      * A version number for this class. It should be changed whenever the class

+ 2
- 2
src/com/dmdirc/addons/ui_swing/framemanager/windowmenu/WindowMenuFrameManager.java View File

@@ -406,7 +406,7 @@ public final class WindowMenuFrameManager extends JMenu implements
406 406
                     }
407 407
                 });
408 408
         for (int i = count; i < menuItemCount; i++) {
409
-            if (!(menu.getMenuComponent(i) instanceof FrameContainerMenuIterface)) {
409
+            if (!(menu.getMenuComponent(i) instanceof FrameContainerMenuInterface)) {
410 410
                 continue;
411 411
             }
412 412
             final int index = i;
@@ -418,7 +418,7 @@ public final class WindowMenuFrameManager extends JMenu implements
418 418
                             setObject(menu.getMenuComponent(index));
419 419
                         }
420 420
                     });
421
-            final FrameContainer child = ((FrameContainerMenuIterface) component).getFrame();
421
+            final FrameContainer child = ((FrameContainerMenuInterface) component).getFrame();
422 422
             if (sortBefore(newChild, child)) {
423 423
                 return i;
424 424
             } else if (!sortAfter(newChild, child) && IdentityManager.

Loading…
Cancel
Save