net.sf.tm.plugin.actions
Class DiscardServerAction

java.lang.Object
  extended byorg.eclipse.jface.action.Action
      extended bynet.sf.tm.plugin.actions.AbstractAction
          extended bynet.sf.tm.plugin.actions.DiscardServerAction
All Implemented Interfaces:
IAction

public class DiscardServerAction
extends AbstractAction

Action for removing server objects from the Tomcat Manager tree view.

Version:
$Id: DiscardServerAction.java,v 1.3 2003/08/25 11:41:55 apataki Exp $
Author:
Andreas Pataki

Field Summary
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, CHECKED, DESCRIPTION, ENABLED, IMAGE, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
DiscardServerAction(WebContextView parentView)
          Constructor for this action.
 
Method Summary
 void run()
          Server is removed from the ServerStore on execution.
 
Methods inherited from class net.sf.tm.plugin.actions.AbstractAction
getLocalizedString, getLocalizedString, getLocalizedString
 
Methods inherited from class org.eclipse.jface.action.Action
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, removeAcceleratorText, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscardServerAction

public DiscardServerAction(WebContextView parentView)
Constructor for this action. The text and image settings are initialized.

Parameters:
parentView - Parent view which created this action.
Method Detail

run

public void run()
Server is removed from the ServerStore on execution. The user must confirm the deletion.

See Also:
Action.run()


Copyright © 2003-2004 Andreas Pataki. All Rights Reserved.