test_class.declarator: adapter = new MenuAdapter()
test_class.modifier: private
test_class.original_string: private MenuAdapter adapter = new MenuAdapter();
test_class.type: MenuAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/MenuAdapterTest.java
test_class.identifier: MenuAdapterTest
test_case.body: @Test
      public void testSectionsRemoved() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getSectionsRemoved());
          adapter.sectionsRemoved(null, 0, null);
          assertFalse(invoked[0]);
  
          adapter.setSectionsRemoved(callable);
          adapter.sectionsRemoved(null, 0, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: MenuAdapterTest.testSectionsRemoved()
test_case.full_signature: @Test public void testSectionsRemoved()
test_case.identifier: testSectionsRemoved
test_case.invocations: assertNull getSectionsRemoved sectionsRemoved assertFalse setSectionsRemoved sectionsRemoved assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSectionsRemoved()
focal_class.declarator: sectionInserted
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> sectionInserted;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: sectionInserted
focal_class.declarator: sectionsRemoved
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> sectionsRemoved;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: sectionsRemoved
focal_class.declarator: activeItemChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> activeItemChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: activeItemChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/MenuAdapter.java
focal_class.identifier: MenuAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.MenuListener
focal_class.class_method_signature: MenuAdapter.getSectionInserted()
focal_class.full_signature: public CallableWithArgs<Void> getSectionInserted()
focal_class.identifier: getSectionInserted
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSectionInserted()
focal_class.class_method_signature: MenuAdapter.getSectionsRemoved()
focal_class.full_signature: public CallableWithArgs<Void> getSectionsRemoved()
focal_class.identifier: getSectionsRemoved
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSectionsRemoved()
focal_class.class_method_signature: MenuAdapter.getActiveItemChanged()
focal_class.full_signature: public CallableWithArgs<Void> getActiveItemChanged()
focal_class.identifier: getActiveItemChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getActiveItemChanged()
focal_class.class_method_signature: MenuAdapter.setSectionInserted(CallableWithArgs<Void> sectionInserted)
focal_class.full_signature: public void setSectionInserted(CallableWithArgs<Void> sectionInserted)
focal_class.identifier: setSectionInserted
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> sectionInserted)
focal_class.return: void
focal_class.signature: void setSectionInserted(CallableWithArgs<Void> sectionInserted)
focal_class.class_method_signature: MenuAdapter.setSectionsRemoved(CallableWithArgs<Void> sectionsRemoved)
focal_class.full_signature: public void setSectionsRemoved(CallableWithArgs<Void> sectionsRemoved)
focal_class.identifier: setSectionsRemoved
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> sectionsRemoved)
focal_class.return: void
focal_class.signature: void setSectionsRemoved(CallableWithArgs<Void> sectionsRemoved)
focal_class.class_method_signature: MenuAdapter.setActiveItemChanged(CallableWithArgs<Void> activeItemChanged)
focal_class.full_signature: public void setActiveItemChanged(CallableWithArgs<Void> activeItemChanged)
focal_class.identifier: setActiveItemChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> activeItemChanged)
focal_class.return: void
focal_class.signature: void setActiveItemChanged(CallableWithArgs<Void> activeItemChanged)
focal_class.class_method_signature: MenuAdapter.sectionInserted(org.apache.pivot.wtk.Menu arg0, int arg1)
focal_class.full_signature: public void sectionInserted(org.apache.pivot.wtk.Menu arg0, int arg1)
focal_class.identifier: sectionInserted
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Menu arg0, int arg1)
focal_class.return: void
focal_class.signature: void sectionInserted(org.apache.pivot.wtk.Menu arg0, int arg1)
focal_class.class_method_signature: MenuAdapter.sectionsRemoved(org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence<Menu.Section> arg2)
focal_class.full_signature: public void sectionsRemoved(org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence<Menu.Section> arg2)
focal_class.identifier: sectionsRemoved
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence<Menu.Section> arg2)
focal_class.return: void
focal_class.signature: void sectionsRemoved(org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence<Menu.Section> arg2)
focal_class.class_method_signature: MenuAdapter.activeItemChanged(org.apache.pivot.wtk.Menu arg0, org.apache.pivot.wtk.Menu.Item arg1)
focal_class.full_signature: public void activeItemChanged(org.apache.pivot.wtk.Menu arg0, org.apache.pivot.wtk.Menu.Item arg1)
focal_class.identifier: activeItemChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Menu arg0, org.apache.pivot.wtk.Menu.Item arg1)
focal_class.return: void
focal_class.signature: void activeItemChanged(org.apache.pivot.wtk.Menu arg0, org.apache.pivot.wtk.Menu.Item arg1)
focal_method.body: public void sectionsRemoved(org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence<Menu.Section> arg2) {
          if (sectionsRemoved != null) {
              sectionsRemoved.call(arg0, arg1, arg2);
          }
      }
focal_method.class_method_signature: MenuAdapter.sectionsRemoved(org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence<Menu.Section> arg2)
focal_method.full_signature: public void sectionsRemoved(org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence<Menu.Section> arg2)
focal_method.identifier: sectionsRemoved
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence<Menu.Section> arg2)
focal_method.return: void
focal_method.signature: void sectionsRemoved(org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence<Menu.Section> arg2)