test_class.declarator: adapter = new DialogAdapter()
test_class.modifier: private
test_class.original_string: private DialogAdapter adapter = new DialogAdapter();
test_class.type: DialogAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/DialogAdapterTest.java
test_class.identifier: DialogAdapterTest
test_case.body: @Test
      public void testModalChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getModalChanged());
          adapter.modalChanged(null);
          assertFalse(invoked[0]);
  
          adapter.setModalChanged(callable);
          adapter.modalChanged(null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: DialogAdapterTest.testModalChanged()
test_case.full_signature: @Test public void testModalChanged()
test_case.identifier: testModalChanged
test_case.invocations: assertNull getModalChanged modalChanged assertFalse setModalChanged modalChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testModalChanged()
focal_class.declarator: modalChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> modalChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: modalChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/DialogAdapter.java
focal_class.identifier: DialogAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.DialogListener
focal_class.class_method_signature: DialogAdapter.getModalChanged()
focal_class.full_signature: public CallableWithArgs<Void> getModalChanged()
focal_class.identifier: getModalChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getModalChanged()
focal_class.class_method_signature: DialogAdapter.setModalChanged(CallableWithArgs<Void> modalChanged)
focal_class.full_signature: public void setModalChanged(CallableWithArgs<Void> modalChanged)
focal_class.identifier: setModalChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> modalChanged)
focal_class.return: void
focal_class.signature: void setModalChanged(CallableWithArgs<Void> modalChanged)
focal_class.class_method_signature: DialogAdapter.modalChanged(org.apache.pivot.wtk.Dialog arg0)
focal_class.full_signature: public void modalChanged(org.apache.pivot.wtk.Dialog arg0)
focal_class.identifier: modalChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Dialog arg0)
focal_class.return: void
focal_class.signature: void modalChanged(org.apache.pivot.wtk.Dialog arg0)
focal_method.body: public void modalChanged(org.apache.pivot.wtk.Dialog arg0) {
          if (modalChanged != null) {
              modalChanged.call(arg0);
          }
      }
focal_method.class_method_signature: DialogAdapter.modalChanged(org.apache.pivot.wtk.Dialog arg0)
focal_method.full_signature: public void modalChanged(org.apache.pivot.wtk.Dialog arg0)
focal_method.identifier: modalChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.Dialog arg0)
focal_method.return: void
focal_method.signature: void modalChanged(org.apache.pivot.wtk.Dialog arg0)