com.ibm.etools.iseries.remotebuild.styles
Class PushChangesDelegate
java.lang.Object
com.ibm.etools.iseries.remotebuild.BuildActionDelegate
com.ibm.etools.iseries.remotebuild.styles.RemoteAction
com.ibm.etools.iseries.remotebuild.styles.PushChangesDelegate
public class PushChangesDelegate
- extends RemoteAction
Implements the specialization of the abstract PushAction
for the resources changed since the last push action.
Methods inherited from class com.ibm.etools.iseries.remotebuild.BuildActionDelegate |
checkDirtyEditors, getActivePart, getConnection, getModelProject, getModelProject, getModelProjects, getProject, getProjects, getSelection, getShell, getStatus, getWorkbenchWindow, initialize, isCanceled, performAction, performPostActions, performPreActions, run, runWorkspaceOperation, selectionChanged, selectionIsProject, selectionIsProjects, setActivePart, setCanceled, setEnabled, showStatusMessage, showSystemMessage, showSystemMessageInUI, terminate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
PushChangesDelegate
public PushChangesDelegate()
checkSelection
public void checkSelection()
- Checks the selection and enables this operation if
appropriate.
- Specified by:
checkSelection
in class BuildActionDelegate
- See Also:
BuildActionDelegate.checkSelection()
performAction
protected RBStatus performAction(IProgressMonitor monitor)
- Description copied from class:
BuildActionDelegate
Performs the actual work of this operation. It is supplied a progress
monitor. It can retrieve its structured selection using
getSelection()
. It can retrieve its project using
getModelProject()
. Any long running action should create
a progress monitor from the context and periodically test the progress
monitor and cancel if requested.
The action is cancelable and runs in the UI thread.
Actions are run only if the current status is OK and the action has not
been canceled.
The default implementation does nothing. Subclasses should either
override this or performAction().
- Overrides:
performAction
in class BuildActionDelegate
getTaskName
protected String getTaskName()
- Overrides:
getTaskName
in class BuildActionDelegate
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.