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.
Method Summary |
void |
checkSelection()
Checks the selection and enables this operation if
appropriate. |
protected RBStatus |
performAction()
Performs the actual work of this operation. |
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()
- Description copied from class:
BuildActionDelegate
Performs the actual work of this operation. It can get create a progress
monitor from its context if necessary. 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.
The default implementation creates a ProgressMonitorDialog and runs
performAction(monitor) within that. Can be overridden by subclasses if
they prefer to use a different IRunnableContext.
- Overrides:
performAction
in class BuildActionDelegate
Copyright 2009 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.