@Test public void testSetDependency() { dependency.setDependency(true); assertTrue(dependency.isDependencyEnabled()); }
public void setDependency(boolean enable) { if (enable != this.enabled) { this.enabled = enable; if (eventHelper != null) eventHelper.fireEvent(new VisualPropertyDependencyChangedEvent(this)); } }
VisualPropertyDependency { public void setDependency(boolean enable) { if (enable != this.enabled) { this.enabled = enable; if (eventHelper != null) eventHelper.fireEvent(new VisualPropertyDependencyChangedEvent(this)); } } }
VisualPropertyDependency { public void setDependency(boolean enable) { if (enable != this.enabled) { this.enabled = enable; if (eventHelper != null) eventHelper.fireEvent(new VisualPropertyDependencyChangedEvent(this)); } } VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon); }
VisualPropertyDependency { public void setDependency(boolean enable) { if (enable != this.enabled) { this.enabled = enable; if (eventHelper != null) eventHelper.fireEvent(new VisualPropertyDependencyChangedEvent(this)); } } VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon); String getDisplayName(); String getIdString(); Set<VisualProperty<?>> getVisualProperties(); void setDependency(boolean enable); boolean isDependencyEnabled(); VisualProperty<T> getParentVisualProperty(); void setEventHelper(CyEventHelper eventHelper); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
VisualPropertyDependency { public void setDependency(boolean enable) { if (enable != this.enabled) { this.enabled = enable; if (eventHelper != null) eventHelper.fireEvent(new VisualPropertyDependencyChangedEvent(this)); } } VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon); String getDisplayName(); String getIdString(); Set<VisualProperty<?>> getVisualProperties(); void setDependency(boolean enable); boolean isDependencyEnabled(); VisualProperty<T> getParentVisualProperty(); void setEventHelper(CyEventHelper eventHelper); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }