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
  * Frame container JMenu.
41
  * Frame container JMenu.
42
  */
42
  */
43
 public class FrameContainerMenu extends JMenu implements FrameInfoListener,
43
 public class FrameContainerMenu extends JMenu implements FrameInfoListener,
44
-        ActionListener, SelectionListener, FrameContainerMenuIterface {
44
+        ActionListener, SelectionListener, FrameContainerMenuInterface {
45
 
45
 
46
     /**
46
     /**
47
      * A version number for this class. It should be changed whenever the class
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
 /**
27
 /**
28
  * Interface to define a menu or menu item that holds a framecontainer.
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
      * Returns the wrapped frame container.
33
      * Returns the wrapped frame container.

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

40
  * Action representing a frame.
40
  * Action representing a frame.
41
  */
41
  */
42
 public class FrameContainerMenuItem extends JMenuItem implements FrameInfoListener,
42
 public class FrameContainerMenuItem extends JMenuItem implements FrameInfoListener,
43
-        ActionListener, SelectionListener, FrameContainerMenuIterface {
43
+        ActionListener, SelectionListener, FrameContainerMenuInterface {
44
 
44
 
45
     /**
45
     /**
46
      * A version number for this class. It should be changed whenever the class
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
                     }
406
                     }
407
                 });
407
                 });
408
         for (int i = count; i < menuItemCount; i++) {
408
         for (int i = count; i < menuItemCount; i++) {
409
-            if (!(menu.getMenuComponent(i) instanceof FrameContainerMenuIterface)) {
409
+            if (!(menu.getMenuComponent(i) instanceof FrameContainerMenuInterface)) {
410
                 continue;
410
                 continue;
411
             }
411
             }
412
             final int index = i;
412
             final int index = i;
418
                             setObject(menu.getMenuComponent(index));
418
                             setObject(menu.getMenuComponent(index));
419
                         }
419
                         }
420
                     });
420
                     });
421
-            final FrameContainer child = ((FrameContainerMenuIterface) component).getFrame();
421
+            final FrameContainer child = ((FrameContainerMenuInterface) component).getFrame();
422
             if (sortBefore(newChild, child)) {
422
             if (sortBefore(newChild, child)) {
423
                 return i;
423
                 return i;
424
             } else if (!sortAfter(newChild, child) && IdentityManager.
424
             } else if (!sortAfter(newChild, child) && IdentityManager.

Loading…
Cancel
Save