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); } }
public void addNotify() { manager = ExplorerManager.find (this); manager.addVetoableChangeListener(iListener); manager.addPropertyChangeListener(iListener); updateChoice(); addActionListener (iListener); super.addNotify (); }
public void addNotify() { manager = ExplorerManager.find (this); manager.addVetoableChangeListener(iListener); manager.addPropertyChangeListener(iListener); updateChoice(); addActionListener (iListener); super.addNotify (); }
@Override public void addNotify() { manager = ExplorerManager.find(this); manager.addVetoableChangeListener(iListener); manager.addPropertyChangeListener(iListener); updateChoice(); addActionListener(iListener); super.addNotify(); }