public class MoveProjectAction extends CopyProjectAction
Modifier and Type | Field and Description |
---|---|
static String |
ID
The id of this action.
|
errorStatus, shell
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
Constructor and Description |
---|
MoveProjectAction(Shell shell)
Creates a new project move action with the given text.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getErrorsTitle()
Return the title of the errors dialog.
|
protected Object[] |
queryDestinationParameters(IProject project)
Query for a new project destination using the parameters in the existing
project.
|
void |
run()
Implementation of method defined on
IAction . |
createDescription, getModelProviderIds, getPlugin, setModelProviderIds, updateSelection
clearCache, getSelectedNonResources, getSelectedResources, resourceIsType, selectionIsOfType
getStructuredSelection, runWithEvent, selectionChanged, selectionChanged
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, removePropertyChangeListener
public static final String ID
public MoveProjectAction(Shell shell)
shell
- the shell for any dialogsprotected String getErrorsTitle()
getErrorsTitle
in class CopyProjectAction
protected Object[] queryDestinationParameters(IProject project)
queryDestinationParameters
in class CopyProjectAction
project
- the project we are going to move.public void run()
IAction
.run
in interface IAction
run
in class CopyProjectAction
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.