net.sourceforge.squirrel_sql.plugins.userscript
Class UserScriptAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by net.sourceforge.squirrel_sql.fw.gui.action.BaseAction
          extended by net.sourceforge.squirrel_sql.client.action.SquirrelAction
              extended by net.sourceforge.squirrel_sql.plugins.userscript.UserScriptAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, ISessionAction
Direct Known Subclasses:
UserScriptSQLAction

public class UserScriptAction
extends SquirrelAction
implements ISessionAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sourceforge.squirrel_sql.fw.gui.action.BaseAction
BaseAction.IBaseActionPropertyNames
 
Field Summary
protected  UserScriptPlugin _plugin
          Current plugin.
protected  ISession _session
          Current session.
 
Fields inherited from class net.sourceforge.squirrel_sql.client.action.SquirrelAction
_app
 
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
UserScriptAction(IApplication app, IResources resources, UserScriptPlugin plugin)
           
 
Method Summary
 void actionPerformed(ActionEvent evt)
           
protected  boolean getTargetType()
          Is redefined in UserScriptSQLAction.
 void setSession(ISession session)
          Set the current session.
 
Methods inherited from class net.sourceforge.squirrel_sql.client.action.SquirrelAction
getApplication, getKeyStroke
 
Methods inherited from class net.sourceforge.squirrel_sql.fw.gui.action.BaseAction
getParentFrame
 
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
 

Field Detail

_session

protected ISession _session
Current session.


_plugin

protected final UserScriptPlugin _plugin
Current plugin.

Constructor Detail

UserScriptAction

public UserScriptAction(IApplication app,
                        IResources resources,
                        UserScriptPlugin plugin)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent evt)
Specified by:
actionPerformed in interface ActionListener

getTargetType

protected boolean getTargetType()
Is redefined in UserScriptSQLAction.


setSession

public void setSession(ISession session)
Set the current session.

Specified by:
setSession in interface ISessionAction
Parameters:
session - The current session.


Copyright © 2001-2013. All Rights Reserved.