net.sourceforge.squirrel_sql.plugins.sqlbookmark
Class AddBookmarkAction

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.sqlbookmark.AddBookmarkAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, ISQLPanelAction

public class AddBookmarkAction
extends SquirrelAction
implements ISQLPanelAction

Prompt for name and add a new bookmark into the system.

Author:
Joseph Mocker
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
 
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
AddBookmarkAction(IApplication app, Resources rsrc, SQLBookmarkPlugin plugin)
           
 
Method Summary
 void actionPerformed(ActionEvent evt)
           
 void setSQLPanel(ISQLPanelAPI panel)
           
 
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
 

Constructor Detail

AddBookmarkAction

public AddBookmarkAction(IApplication app,
                         Resources rsrc,
                         SQLBookmarkPlugin plugin)
                  throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

actionPerformed

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

setSQLPanel

public void setSQLPanel(ISQLPanelAPI panel)
Specified by:
setSQLPanel in interface ISQLPanelAction


Copyright © 2001-2010. All Rights Reserved.