com.ibm.etools.systems.files.ui.actions
Class SystemCompareFilesAction
java.lang.Object
Action
com.ibm.etools.systems.core.ui.actions.SystemBaseAction
com.ibm.etools.systems.files.ui.actions.SystemCompareFilesAction
- All Implemented Interfaces:
- ISystemAction
- public class SystemCompareFilesAction
- extends SystemBaseAction
Compare two remote files
- See Also:
- Serialized Form
Fields inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
allowOnMultipleSelection, arrowCursor, copyright, helpId, selectionSensitive, shell, sSelection, traceSelections, traceTarget, viewer, waitCursor |
Method Summary |
void |
run()
Compare two remote files |
boolean |
updateSelection(IStructuredSelection selection)
Called when the selection changes in the systems view. |
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
allowOnMultipleSelection, checkObjectType, getAdapter, getContextMenuGroup, getCurrentTreeView, getDescription, getFirstSelection, getHelpContextId, getLabel, getNextSelection, getRemoteAdapter, getSelection, getSelectionProvider, getShell, getShell, getString, getStringOrNull, getSystemConnection, getToolTip, getViewer, isDummy, isEnabled, isSelectionSensitive, issueTraceMessage, selectionChanged, setAvailableOffline, setBusyCursor, setContextMenuGroup, setDisplayCursor, setDisplayCursor, setHelp, setInputs, setSelection, setSelectionProvider, setSelectionSensitive, setShell, setSystemConnection, setTracing, setTracing, setViewer |
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
SystemCompareFilesAction
public SystemCompareFilesAction(Shell parent)
- Constructor for SystemCompareFilesAction
- Parameters:
parent
-
run
public void run()
- Compare two remote files
- Overrides:
run
in class SystemBaseAction
- See Also:
Action#run()
updateSelection
public boolean updateSelection(IStructuredSelection selection)
- Called when the selection changes in the systems view. This determines
the input object for the command and whether to enable or disable
the action.
- Overrides:
updateSelection
in class SystemBaseAction
- Parameters:
selection
- the current seleciton
- Returns:
- whether to enable or disable the action
Copyright © 2005 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.