@Test public void testLexiconStateChangedEvent(){ Set<VisualProperty<?>> enabled = (Set<VisualProperty<?>>) mock(Set.class); Set<VisualProperty<?>> disabled = (Set<VisualProperty<?>>) mock(Set.class); LexiconStateChangedEvent event = new LexiconStateChangedEvent(mock(Object.class), enabled , disabled); assertEquals(enabled, event.getEnabled()); assertEquals(disabled, event.getDisabled()); }
public LexiconStateChangedEvent(final Object source, final Set<VisualProperty<?>> enabled, final Set<VisualProperty<?>> disabled) { super(source, LexiconStateChangedListener.class); this.enabled = enabled; this.disabled = disabled; }
LexiconStateChangedEvent extends AbstractCyEvent<Object> { public LexiconStateChangedEvent(final Object source, final Set<VisualProperty<?>> enabled, final Set<VisualProperty<?>> disabled) { super(source, LexiconStateChangedListener.class); this.enabled = enabled; this.disabled = disabled; } }
LexiconStateChangedEvent extends AbstractCyEvent<Object> { public LexiconStateChangedEvent(final Object source, final Set<VisualProperty<?>> enabled, final Set<VisualProperty<?>> disabled) { super(source, LexiconStateChangedListener.class); this.enabled = enabled; this.disabled = disabled; } LexiconStateChangedEvent(final Object source,
			final Set<VisualProperty<?>> enabled,
			final Set<VisualProperty<?>> disabled); }
LexiconStateChangedEvent extends AbstractCyEvent<Object> { public LexiconStateChangedEvent(final Object source, final Set<VisualProperty<?>> enabled, final Set<VisualProperty<?>> disabled) { super(source, LexiconStateChangedListener.class); this.enabled = enabled; this.disabled = disabled; } LexiconStateChangedEvent(final Object source,
			final Set<VisualProperty<?>> enabled,
			final Set<VisualProperty<?>> disabled); Set<VisualProperty<?>> getDisabled(); Set<VisualProperty<?>> getEnabled(); }
LexiconStateChangedEvent extends AbstractCyEvent<Object> { public LexiconStateChangedEvent(final Object source, final Set<VisualProperty<?>> enabled, final Set<VisualProperty<?>> disabled) { super(source, LexiconStateChangedListener.class); this.enabled = enabled; this.disabled = disabled; } LexiconStateChangedEvent(final Object source,
			final Set<VisualProperty<?>> enabled,
			final Set<VisualProperty<?>> disabled); Set<VisualProperty<?>> getDisabled(); Set<VisualProperty<?>> getEnabled();  }