@Test public void testDeinitialize() { plugin.deinitialize( context ); verify( source ).removePropertyChangeListener( anyString(), any( PropertyChangeListener.class ) ); }
public void deinitialize( final SwingGuiContext swingGuiContext ) { super.deinitialize( swingGuiContext ); swingGuiContext.getEventSource().removePropertyChangeListener( PreviewPane.PAGINATED_PROPERTY, jobListener ); }
ZoomListActionPlugin extends AbstractActionPlugin { public void deinitialize( final SwingGuiContext swingGuiContext ) { super.deinitialize( swingGuiContext ); swingGuiContext.getEventSource().removePropertyChangeListener( PreviewPane.PAGINATED_PROPERTY, jobListener ); } }
ZoomListActionPlugin extends AbstractActionPlugin { public void deinitialize( final SwingGuiContext swingGuiContext ) { super.deinitialize( swingGuiContext ); swingGuiContext.getEventSource().removePropertyChangeListener( PreviewPane.PAGINATED_PROPERTY, jobListener ); } ZoomListActionPlugin(); }
ZoomListActionPlugin extends AbstractActionPlugin { public void deinitialize( final SwingGuiContext swingGuiContext ) { super.deinitialize( swingGuiContext ); swingGuiContext.getEventSource().removePropertyChangeListener( PreviewPane.PAGINATED_PROPERTY, jobListener ); } ZoomListActionPlugin(); JComboBox getComponent(); void setComponent( final JComboBox component ); boolean initialize( final SwingGuiContext context ); void deinitialize( final SwingGuiContext swingGuiContext ); String getDisplayName(); String getShortDescription(); Icon getSmallIcon(); Icon getLargeIcon(); KeyStroke getAcceleratorKey(); Integer getMnemonicKey(); }
ZoomListActionPlugin extends AbstractActionPlugin { public void deinitialize( final SwingGuiContext swingGuiContext ) { super.deinitialize( swingGuiContext ); swingGuiContext.getEventSource().removePropertyChangeListener( PreviewPane.PAGINATED_PROPERTY, jobListener ); } ZoomListActionPlugin(); JComboBox getComponent(); void setComponent( final JComboBox component ); boolean initialize( final SwingGuiContext context ); void deinitialize( final SwingGuiContext swingGuiContext ); String getDisplayName(); String getShortDescription(); Icon getSmallIcon(); Icon getLargeIcon(); KeyStroke getAcceleratorKey(); Integer getMnemonicKey();  }