org.fife.rtext.plugins.langsupport
Class GoToMemberAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.fife.ui.app.StandardAction
          extended by org.fife.rtext.plugins.langsupport.GoToMemberAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, CurrentTextAreaListener

public class GoToMemberAction
extends StandardAction
implements CurrentTextAreaListener

Action that opens the active language support's "Go to Member" window, if one is available.

Version:
1.0
Author:
Robert Futrell
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.fife.ui.app.StandardAction
DEFAULT_ACCELERATOR
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
GoToMemberAction(RText app)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void currentTextAreaPropertyChanged(CurrentTextAreaEvent e)
          Listens for text area events.
 
Methods inherited from class org.fife.ui.app.StandardAction
getAccelerator, getApplication, getDefaultAccelerator, getIcon, getMnemonic, getName, getShortDescription, setAccelerator, setDefaultAccelerator, setIcon, setIcon, setIcon, setMnemonic, setName, setShortDescription
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoToMemberAction

public GoToMemberAction(RText app)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

currentTextAreaPropertyChanged

public void currentTextAreaPropertyChanged(CurrentTextAreaEvent e)
Listens for text area events. If the active text area changes, or the active text area's syntax style changes, we re-evaluate whether this action should be active.

Specified by:
currentTextAreaPropertyChanged in interface CurrentTextAreaListener
Parameters:
e - The event.