public void propertyChange(PropertyChangeEvent evt) { ChoiceView.this.removeActionListener(this); try { if (ExplorerManager.PROP_SELECTED_NODES.equals(evt.getPropertyName())) { Node[] selectedNodes = (Node[]) evt.getNewValue(); updateSelection(); return; } if (!showExploredContext && ExplorerManager.PROP_ROOT_CONTEXT.equals(evt.getPropertyName())) { updateChoice(); return; } if (showExploredContext && ExplorerManager.PROP_EXPLORED_CONTEXT.equals(evt.getPropertyName())) { updateChoice(); return; } } finally { ChoiceView.this.addActionListener(this); } }
public void propertyChange(PropertyChangeEvent evt) { ChoiceView.this.removeActionListener (this); try { if (ExplorerManager.PROP_SELECTED_NODES.equals(evt.getPropertyName())) { Node[] selectedNodes = (Node[])evt.getNewValue(); updateSelection(); return; } if ( !showExploredContext && ExplorerManager.PROP_ROOT_CONTEXT.equals(evt.getPropertyName()) ) { updateChoice(); return; } if ( showExploredContext && ExplorerManager.PROP_EXPLORED_CONTEXT.equals (evt.getPropertyName()) ) { updateChoice(); return; } } finally { ChoiceView.this.addActionListener (this); } }
public void propertyChange(PropertyChangeEvent evt) { ChoiceView.this.removeActionListener (this); try { if (ExplorerManager.PROP_SELECTED_NODES.equals(evt.getPropertyName())) { Node[] selectedNodes = (Node[])evt.getNewValue(); updateSelection(); return; } if ( !showExploredContext && ExplorerManager.PROP_ROOT_CONTEXT.equals(evt.getPropertyName()) ) { updateChoice(); return; } if ( showExploredContext && ExplorerManager.PROP_EXPLORED_CONTEXT.equals (evt.getPropertyName()) ) { updateChoice(); return; } } finally { ChoiceView.this.addActionListener (this); } }
@Override public void removeNotify() { super.removeNotify(); removeActionListener(iListener); if (manager != null) { manager.removeVetoableChangeListener(iListener); manager.removePropertyChangeListener(iListener); } }
public void removeNotify() { super.removeNotify (); removeActionListener (iListener); manager.removeVetoableChangeListener(iListener); manager.removePropertyChangeListener(iListener); }
public void removeNotify() { super.removeNotify (); removeActionListener (iListener); manager.removeVetoableChangeListener(iListener); manager.removePropertyChangeListener(iListener); }