Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.actions
Class SystemUploadConflictAction

java.lang.Object
  extended byAction
      extended bycom.ibm.etools.systems.core.ui.actions.SystemBaseAction
          extended bycom.ibm.etools.systems.core.ui.actions.SystemUploadConflictAction
All Implemented Interfaces:
ISystemAction, Runnable

public class SystemUploadConflictAction
extends SystemBaseAction
implements Runnable

This is the default action used to handle upload conflicts

See Also:
Serialized Form

Nested Class Summary
 class SystemUploadConflictAction.CloseEditorAction
          Action used to close a specified editor
 class SystemUploadConflictAction.ReopenAction
          Action used to reopen the editor for a cached file with a remote file from a different location
 
Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction
allowOnMultipleSelection, arrowCursor, copyright, helpId, selectionSensitive, shell, sSelection, traceSelections, traceTarget, viewer, waitCursor
 
Constructor Summary
SystemUploadConflictAction(Shell shell, IFile tempFile, IRemoteFile remoteFile, boolean remoteNewer)
          Constructor.
 
Method Summary
 void run()
          Called when this action is invoked
 
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, updateSelection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

SystemUploadConflictAction

public SystemUploadConflictAction(Shell shell,
                                  IFile tempFile,
                                  IRemoteFile remoteFile,
                                  boolean remoteNewer)
Constructor.

Parameters:
shell - the parent shell of the action
tempFile - the cached local file that is in conflict with the remote file
remoteFile - the remote file
remoteNewer - indicates whether the remote file has changed since it was last downloaded
Method Detail

run

public void run()
Called when this action is invoked

Specified by:
run in interface Runnable
Overrides:
run in class SystemBaseAction
See Also:
Action#run()

Remote Systems
v6.4.1

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.