@Test public void testEditableChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getEditableChanged()); adapter.editableChanged(null); assertFalse(invoked[0]); adapter.setEditableChanged(callable); adapter.editableChanged(null); assertTrue(invoked[0]); }
public void editableChanged(org.apache.pivot.wtk.TextPane arg0) { if (editableChanged != null) { editableChanged.call(arg0); } }
TextPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TextPaneListener { public void editableChanged(org.apache.pivot.wtk.TextPane arg0) { if (editableChanged != null) { editableChanged.call(arg0); } } }
TextPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TextPaneListener { public void editableChanged(org.apache.pivot.wtk.TextPane arg0) { if (editableChanged != null) { editableChanged.call(arg0); } }  }
TextPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TextPaneListener { public void editableChanged(org.apache.pivot.wtk.TextPane arg0) { if (editableChanged != null) { editableChanged.call(arg0); } }  CallableWithArgs<Void> getDocumentChanged(); CallableWithArgs<Void> getEditableChanged(); void setDocumentChanged(CallableWithArgs<Void> documentChanged); void setEditableChanged(CallableWithArgs<Void> editableChanged); void documentChanged(org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1); void editableChanged(org.apache.pivot.wtk.TextPane arg0); }
TextPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TextPaneListener { public void editableChanged(org.apache.pivot.wtk.TextPane arg0) { if (editableChanged != null) { editableChanged.call(arg0); } }  CallableWithArgs<Void> getDocumentChanged(); CallableWithArgs<Void> getEditableChanged(); void setDocumentChanged(CallableWithArgs<Void> documentChanged); void setEditableChanged(CallableWithArgs<Void> editableChanged); void documentChanged(org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1); void editableChanged(org.apache.pivot.wtk.TextPane arg0);  }