net.sf.tm.plugin.actions
Class NewServerAction

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

public class NewServerAction
extends AbstractAction

Action for creating a new server.

Version:
$Id: NewServerAction.java,v 1.5 2003/08/28 14:15:38 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
NewServerAction(WebContextView parentView)
          Constructor for this action.
 
Method Summary
 void run()
          On excecution the NewServerDialog is opened.
 
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

NewServerAction

public NewServerAction(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()
On excecution the NewServerDialog is opened. If the user confirms this dialog a new server is created in the ServerStore.

See Also:
Action.run()


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