From 2198e60bb94b8f555d4ee99d5d39c48d5ed743d4 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Fri, 11 Apr 2008 23:39:56 +0000 Subject: [PATCH] [216252] Revert CANCELED -> CANCELLED to restore 2.0.x compatibility --- .../dstore/DStoreConnectorService.java | 2 +- .../dstore/util/ConnectionStatusListener.java | 4 +-- .../ssh/SshConnectorService.java | 8 ++--- .../telnet/TelnetConnectorService.java | 18 +++++----- .../resources/SystemEditableRemoteFile.java | 2 +- .../UniversalFileTransferUtility.java | 18 +++++----- .../SystemQualifiedRemoteFolderCombo.java | 2 +- .../actions/SystemDownloadConflictAction.java | 6 ++-- .../ui/view/SystemViewRemoteFileAdapter.java | 4 +-- .../ui/actions/SystemKillProcessAction.java | 4 +-- .../SystemProcessStatesContentProvider.java | 2 +- .../ui/view/SystemProcessesViewResources.java | 2 +- .../SystemProcessesViewResources.properties | 2 +- .../view/SystemViewRemoteProcessAdapter.java | 2 +- .../dstore/files/DStoreFileService.java | 28 +++++++-------- .../dstore/search/DStoreSearchService.java | 4 +-- .../local/files/LocalFileService.java | 4 +-- .../local/search/LocalSearchHandler.java | 2 +- .../clientserver/messages/CommonMessages.java | 8 ++--- .../messages/CommonMessages.properties | 8 ++--- .../messages/ICommonMessageIds.java | 34 ++++++++++++------- .../ISystemProcessRemoteConstants.java | 8 ++--- .../files/RemoteFileCanceledException.java | 20 ++++++----- .../services/search/HostSearchResultSet.java | 2 +- .../services/search/IHostSearchConstants.java | 4 +-- .../IHostSearchResultConfiguration.java | 4 +-- .../core/servicesubsystem/OutputRefresh.java | 2 +- .../subsystems/IRemoteSearchConstants.java | 3 +- ...ileSubSystemSearchResultConfiguration.java | 2 +- .../actions/SystemProfileNameCopyAction.java | 2 +- .../ui/dialogs/SystemRenameDialog.java | 2 +- ...SystemViewAPIProviderForFilterStrings.java | 2 +- .../view/SystemViewAPIProviderForFilters.java | 4 +-- .../SystemViewFilterReferenceAdapter.java | 4 +-- .../org/eclipse/rse/ui/ISystemMessages.java | 14 +++----- .../rse/ui/actions/SystemBaseCopyAction.java | 2 +- .../ui/operations/SystemFetchOperation.java | 2 +- .../ui/view/AbstractSystemViewAdapter.java | 2 +- .../ui/view/SystemAbstractAPIProvider.java | 2 +- .../SystemNewConnectionPromptObject.java | 2 +- .../rse/core/subsystems/SubSystem.java | 16 ++++----- 41 files changed, 132 insertions(+), 131 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.connectorservice.dstore/src/org/eclipse/rse/connectorservice/dstore/DStoreConnectorService.java b/rse/plugins/org.eclipse.rse.connectorservice.dstore/src/org/eclipse/rse/connectorservice/dstore/DStoreConnectorService.java index 6bc040edc9f..bbc8647287a 100644 --- a/rse/plugins/org.eclipse.rse.connectorservice.dstore/src/org/eclipse/rse/connectorservice/dstore/DStoreConnectorService.java +++ b/rse/plugins/org.eclipse.rse.connectorservice.dstore/src/org/eclipse/rse/connectorservice/dstore/DStoreConnectorService.java @@ -1288,7 +1288,7 @@ public class DStoreConnectorService extends StandardConnectorService implements String serverPort = (String)starter.launch(monitor); if (monitor.isCanceled()) { - SystemMessage msg = createSystemMessage(ICommonMessageIds.MSG_OPERATION_CANCELED, IStatus.CANCEL, CommonMessages.MSG_OPERATION_CANCELED); + SystemMessage msg = createSystemMessage(ICommonMessageIds.MSG_OPERATION_CANCELLED, IStatus.CANCEL, CommonMessages.MSG_OPERATION_CANCELLED); throw new SystemMessageException(msg); } diff --git a/rse/plugins/org.eclipse.rse.connectorservice.dstore/src/org/eclipse/rse/connectorservice/dstore/util/ConnectionStatusListener.java b/rse/plugins/org.eclipse.rse.connectorservice.dstore/src/org/eclipse/rse/connectorservice/dstore/util/ConnectionStatusListener.java index 0b08490bb88..bbc8a5e5ff7 100644 --- a/rse/plugins/org.eclipse.rse.connectorservice.dstore/src/org/eclipse/rse/connectorservice/dstore/util/ConnectionStatusListener.java +++ b/rse/plugins/org.eclipse.rse.connectorservice.dstore/src/org/eclipse/rse/connectorservice/dstore/util/ConnectionStatusListener.java @@ -277,8 +277,8 @@ public class ConnectionStatusListener implements IDomainListener, IRunnableWithP */ protected void showDisconnectCancelledMessage(Shell shell, String hostName, int port) { - String msg = NLS.bind(CommonMessages.MSG_DISCONNECT_CANCELED, hostName); - SystemMessageDialog msgDlg = new SystemMessageDialog(shell, new SimpleSystemMessage(Activator.PLUGIN_ID, ICommonMessageIds.MSG_DISCONNECT_CANCELED, IStatus.CANCEL, msg)); + String msg = NLS.bind(CommonMessages.MSG_DISCONNECT_CANCELLED, hostName); + SystemMessageDialog msgDlg = new SystemMessageDialog(shell, new SimpleSystemMessage(Activator.PLUGIN_ID, ICommonMessageIds.MSG_DISCONNECT_CANCELLED, IStatus.CANCEL, msg)); msgDlg.open(); } } diff --git a/rse/plugins/org.eclipse.rse.connectorservice.ssh/src/org/eclipse/rse/internal/connectorservice/ssh/SshConnectorService.java b/rse/plugins/org.eclipse.rse.connectorservice.ssh/src/org/eclipse/rse/internal/connectorservice/ssh/SshConnectorService.java index 82d56168e91..005862a5693 100644 --- a/rse/plugins/org.eclipse.rse.connectorservice.ssh/src/org/eclipse/rse/internal/connectorservice/ssh/SshConnectorService.java +++ b/rse/plugins/org.eclipse.rse.connectorservice.ssh/src/org/eclipse/rse/internal/connectorservice/ssh/SshConnectorService.java @@ -321,8 +321,8 @@ public class SshConnectorService extends StandardConnectorService implements ISs //SystemMessage msg = RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_CONNECT_UNKNOWNHOST); SystemMessage msg = new SimpleSystemMessage(Activator.PLUGIN_ID, - ICommonMessageIds.MSG_CONNECT_CANCELED, IStatus.CANCEL, - NLS.bind(CommonMessages.MSG_CONNECT_CANCELED, + ICommonMessageIds.MSG_CONNECT_CANCELLED, IStatus.CANCEL, + NLS.bind(CommonMessages.MSG_CONNECT_CANCELLED, _connection.getHost().getAliasName())); SystemMessageDialog dialog = new SystemMessageDialog(getShell(), msg); @@ -456,8 +456,8 @@ public class SshConnectorService extends StandardConnectorService implements ISs protected void showDisconnectCancelledMessage(Shell shell, String hostName, int port) { //SystemMessage.displayMessage(SystemMessage.MSGTYPE_ERROR, shell, RSEUIPlugin.getResourceBundle(), - // ISystemMessages.MSG_DISCONNECT_CANCELED, hostName) - SystemMessage msg = new SimpleSystemMessage(Activator.PLUGIN_ID, ICommonMessageIds.MSG_DISCONNECT_CANCELED, IStatus.CANCEL, NLS.bind(CommonMessages.MSG_DISCONNECT_CANCELED, hostName)); + // ISystemMessages.MSG_DISCONNECT_CANCELLED, hostName) + SystemMessage msg = new SimpleSystemMessage(Activator.PLUGIN_ID, ICommonMessageIds.MSG_DISCONNECT_CANCELLED, IStatus.CANCEL, NLS.bind(CommonMessages.MSG_DISCONNECT_CANCELLED, hostName)); SystemMessageDialog msgDlg = new SystemMessageDialog(shell,msg); msgDlg.open(); } diff --git a/rse/plugins/org.eclipse.rse.connectorservice.telnet/src/org/eclipse/rse/internal/connectorservice/telnet/TelnetConnectorService.java b/rse/plugins/org.eclipse.rse.connectorservice.telnet/src/org/eclipse/rse/internal/connectorservice/telnet/TelnetConnectorService.java index 35b66dd1f61..d9f7b8b2032 100644 --- a/rse/plugins/org.eclipse.rse.connectorservice.telnet/src/org/eclipse/rse/internal/connectorservice/telnet/TelnetConnectorService.java +++ b/rse/plugins/org.eclipse.rse.connectorservice.telnet/src/org/eclipse/rse/internal/connectorservice/telnet/TelnetConnectorService.java @@ -79,7 +79,7 @@ public class TelnetConnectorService extends StandardConnectorService implements private static final int ERROR_CODE = 100; // filed error code private static final int SUCCESS_CODE = 150; // login pass code private static final int CONNECT_CLOSED = 200; // code for end of login attempts - private static final int CONNECT_CANCELED = 250; // code for cancel progress + private static final int CONNECT_CANCELLED = 250; // code for cancel progress public TelnetConnectorService(IHost host) { super(TelnetConnectorResources.TelnetConnectorService_Name, @@ -170,7 +170,7 @@ public class TelnetConnectorService extends StandardConnectorService implements if (monitor!=null) { monitor.worked(1); if (monitor.isCanceled()) { - status = CONNECT_CANCELED; + status = CONNECT_CANCELLED; //Thread will be interrupted by sessionDisconnect() //checkLogin.interrupt(); break; @@ -184,7 +184,7 @@ public class TelnetConnectorService extends StandardConnectorService implements } checkLogin.join(500); } - if (status != CONNECT_CANCELED) { + if (status != CONNECT_CANCELLED) { status = checkLogin.getLoginStatus(); checkLogin.join(); } @@ -192,7 +192,7 @@ public class TelnetConnectorService extends StandardConnectorService implements Activator.trace("Telnet Service failed: " + e.toString()); //$NON-NLS-1$ nestedException = e; } finally { - if (status == CONNECT_CANCELED) { + if (status == CONNECT_CANCELLED) { Activator.trace("Telnet Service: Canceled"); //$NON-NLS-1$ try { client.disconnect(); //will eventually destroy the LoginThread @@ -367,9 +367,9 @@ public class TelnetConnectorService extends StandardConnectorService implements // SystemMessage msg = RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_CONNECT_UNKNOWNHOST); SystemMessage msg = new SimpleSystemMessage(Activator.PLUGIN_ID, - ICommonMessageIds.MSG_CONNECT_CANCELED, + ICommonMessageIds.MSG_CONNECT_CANCELLED, IStatus.CANCEL, - NLS.bind(CommonMessages.MSG_CONNECT_CANCELED, _connection.getHost().getAliasName())); + NLS.bind(CommonMessages.MSG_CONNECT_CANCELLED, _connection.getHost().getAliasName())); SystemMessageDialog dialog = new SystemMessageDialog(getShell(), msg); dialog.open(); @@ -506,11 +506,11 @@ public class TelnetConnectorService extends StandardConnectorService implements String hostName, int port) { // SystemMessage.displayMessage(SystemMessage.MSGTYPE_ERROR, shell, // RSEUIPlugin.getResourceBundle(), - // ISystemMessages.MSG_DISCONNECT_CANCELED, hostName); + // ISystemMessages.MSG_DISCONNECT_CANCELLED, hostName); SystemMessage msg = new SimpleSystemMessage(Activator.PLUGIN_ID, - ICommonMessageIds.MSG_DISCONNECT_CANCELED, + ICommonMessageIds.MSG_DISCONNECT_CANCELLED, IStatus.CANCEL, - NLS.bind(CommonMessages.MSG_DISCONNECT_CANCELED, hostName)); + NLS.bind(CommonMessages.MSG_DISCONNECT_CANCELLED, hostName)); SystemMessageDialog msgDlg = new SystemMessageDialog(shell,msg); msgDlg.open(); } diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/SystemEditableRemoteFile.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/SystemEditableRemoteFile.java index 201844e0af1..90b58289233 100644 --- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/SystemEditableRemoteFile.java +++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/SystemEditableRemoteFile.java @@ -579,7 +579,7 @@ public class SystemEditableRemoteFile implements ISystemEditableRemoteObject, IP switch (conflictAction.getState()) { - case SystemDownloadConflictAction.CANCELED : + case SystemDownloadConflictAction.CANCELLED : return false; case SystemDownloadConflictAction.OPEN_WITH_LOCAL : return true; diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java index 5ed8e30e6ac..aad5da7e582 100644 --- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java +++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java @@ -2532,10 +2532,10 @@ public class UniversalFileTransferUtility int state = rr.getCancelStatus(); - if (state == RenameRunnable.RENAME_DIALOG_CANCELED_ALL) { + if (state == RenameRunnable.RENAME_DIALOG_CANCELLED_ALL) { status = new RenameStatus(IStatus.CANCEL, Activator.getDefault().getBundle().getSymbolicName(), RenameStatus.CANCEL_ALL, "", null); //$NON-NLS-1$ } - else if (state == RenameRunnable.RENAME_DIALOG_CANCELED) { + else if (state == RenameRunnable.RENAME_DIALOG_CANCELLED) { status = new RenameStatus(IStatus.CANCEL, Activator.getDefault().getBundle().getSymbolicName(), IStatus.CANCEL, "", null); //$NON-NLS-1$ } } @@ -2576,25 +2576,25 @@ public class UniversalFileTransferUtility /** * @since 3.0 */ - public static int RENAME_DIALOG_NOT_CANCELED = -1; + public static int RENAME_DIALOG_NOT_CANCELLED = -1; /** * @since 3.0 */ - public static int RENAME_DIALOG_CANCELED = 0; + public static int RENAME_DIALOG_CANCELLED = 0; /** * @since 3.0 */ - public static int RENAME_DIALOG_CANCELED_ALL = 1; + public static int RENAME_DIALOG_CANCELLED_ALL = 1; public RenameRunnable(IRemoteFile targetFileOrFolder) { _targetFileOrFolder = targetFileOrFolder; - cancelStatus = RENAME_DIALOG_NOT_CANCELED; + cancelStatus = RENAME_DIALOG_NOT_CANCELLED; } public RenameRunnable(IRemoteFile targetFileOrFolder, List namesInUse) { _targetFileOrFolder = targetFileOrFolder; - cancelStatus = RENAME_DIALOG_NOT_CANCELED; + cancelStatus = RENAME_DIALOG_NOT_CANCELLED; _namesInUse=namesInUse; } @@ -2618,10 +2618,10 @@ public class UniversalFileTransferUtility _newName = null; if (dlg.wasCancelledAll()) { - cancelStatus = RENAME_DIALOG_CANCELED_ALL; + cancelStatus = RENAME_DIALOG_CANCELLED_ALL; } else { - cancelStatus = RENAME_DIALOG_CANCELED; + cancelStatus = RENAME_DIALOG_CANCELLED; } } } diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/widgets/SystemQualifiedRemoteFolderCombo.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/widgets/SystemQualifiedRemoteFolderCombo.java index b521f8e3065..e84936a9eb2 100644 --- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/widgets/SystemQualifiedRemoteFolderCombo.java +++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/widgets/SystemQualifiedRemoteFolderCombo.java @@ -624,7 +624,7 @@ public class SystemQualifiedRemoteFolderCombo extends Composite } } catch (OperationCanceledException exc) { - String msgTxt = NLS.bind(CommonMessages.MSG_CONNECT_CANCELED, conn.getHostName()); + String msgTxt = NLS.bind(CommonMessages.MSG_CONNECT_CANCELLED, conn.getHostName()); throw new Exception(msgTxt); } catch (Exception exc) { diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemDownloadConflictAction.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemDownloadConflictAction.java index a0c4ec546f8..f96042dd859 100644 --- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemDownloadConflictAction.java +++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemDownloadConflictAction.java @@ -194,7 +194,7 @@ public class SystemDownloadConflictAction extends SystemBaseAction implements Ru public static final int REPLACE_WITH_REMOTE = 0; public static final int OPEN_WITH_LOCAL = 1; - public static final int CANCELED = 2; + public static final int CANCELLED = 2; /** * Constructor. @@ -226,7 +226,7 @@ public class SystemDownloadConflictAction extends SystemBaseAction implements Ru *
RUNNING
, FINISHED
,
- * CANCELED
, or DISCONNECTED
.
+ * CANCELLED
, or DISCONNECTED
.
* @param status the status.
*/
public void setStatus(int status);
/**
* Gets the status of the search. One of RUNNING
, FINISHED
,
- * CANCELED
, or DISCONNECTED
.
+ * CANCELLED
, or DISCONNECTED
.
* @return the status of the search.
*/
public int getStatus();
diff --git a/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/servicesubsystem/OutputRefresh.java b/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/servicesubsystem/OutputRefresh.java
index 0d65d5b6e7f..0e046a66e7d 100644
--- a/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/servicesubsystem/OutputRefresh.java
+++ b/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/servicesubsystem/OutputRefresh.java
@@ -36,7 +36,7 @@ public class OutputRefresh implements Runnable
{
this.searchConfig = searchConfig;
this.isDone = searchConfig.getStatus() == IHostSearchConstants.FINISHED;
- this.isCancelled = searchConfig.getStatus() == IHostSearchConstants.CANCELED;
+ this.isCancelled = searchConfig.getStatus() == IHostSearchConstants.CANCELLED;
}
public void run() {
diff --git a/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/subsystems/IRemoteSearchConstants.java b/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/subsystems/IRemoteSearchConstants.java
index c866a8088e2..c818cf28a17 100644
--- a/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/subsystems/IRemoteSearchConstants.java
+++ b/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/subsystems/IRemoteSearchConstants.java
@@ -31,9 +31,8 @@ public interface IRemoteSearchConstants {
/**
* Status indicating configuration has been cancelled, 2.
- * @since 3.0
*/
- public static final int CANCELED = 2;
+ public static final int CANCELLED = 2;
/**
* Status indicating configuration has been disconnected, 3.
diff --git a/rse/plugins/org.eclipse.rse.subsystems.files.dstore/src/org/eclipse/rse/internal/subsystems/files/dstore/DStoreFileSubSystemSearchResultConfiguration.java b/rse/plugins/org.eclipse.rse.subsystems.files.dstore/src/org/eclipse/rse/internal/subsystems/files/dstore/DStoreFileSubSystemSearchResultConfiguration.java
index 235bcf0c8e8..f66728cdba2 100644
--- a/rse/plugins/org.eclipse.rse.subsystems.files.dstore/src/org/eclipse/rse/internal/subsystems/files/dstore/DStoreFileSubSystemSearchResultConfiguration.java
+++ b/rse/plugins/org.eclipse.rse.subsystems.files.dstore/src/org/eclipse/rse/internal/subsystems/files/dstore/DStoreFileSubSystemSearchResultConfiguration.java
@@ -174,7 +174,7 @@ public class DStoreFileSubSystemSearchResultConfiguration extends DStoreSearchRe
}
else if (_status.getValue().equals("cancelled")) //$NON-NLS-1$
{
- setStatus(IHostSearchConstants.CANCELED);
+ setStatus(IHostSearchConstants.CANCELLED);
_status.getDataStore().getDomainNotifier().removeDomainListener(this);
}
OutputRefresh refresh = new OutputRefresh(this);
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/actions/SystemProfileNameCopyAction.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/actions/SystemProfileNameCopyAction.java
index 91ab958225e..1a248a11d68 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/actions/SystemProfileNameCopyAction.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/actions/SystemProfileNameCopyAction.java
@@ -214,7 +214,7 @@ public class SystemProfileNameCopyAction extends SystemBaseDialogAction
*/
protected void showOperationCancelledMessage(Shell shell)
{
- SystemMessageDialog msgDlg = new SystemMessageDialog(shell, RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_OPERATION_CANCELED));
+ SystemMessageDialog msgDlg = new SystemMessageDialog(shell, RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_OPERATION_CANCELLED));
msgDlg.open();
}
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/dialogs/SystemRenameDialog.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/dialogs/SystemRenameDialog.java
index 16627674e5e..36a6dea8626 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/dialogs/SystemRenameDialog.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/dialogs/SystemRenameDialog.java
@@ -413,7 +413,7 @@ public class SystemRenameDialog extends SystemPromptDialog
{
boolean ok = ValidatorConnectionName.validateNameNotInUse(newName, getShell());
if (!ok)
- errMsg = RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_OPERATION_CANCELED);
+ errMsg = RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_OPERATION_CANCELLED);
}
}
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewAPIProviderForFilterStrings.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewAPIProviderForFilterStrings.java
index 841413c2ff8..68ae51b64ff 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewAPIProviderForFilterStrings.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewAPIProviderForFilterStrings.java
@@ -147,7 +147,7 @@ public class SystemViewAPIProviderForFilterStrings
catch (InterruptedException exc)
{
children = new SystemMessageObject[1];
- children[0] = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELED),
+ children[0] = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELLED),
ISystemMessageObject.MSGTYPE_CANCEL, element);
System.out.println("Canceled."); //$NON-NLS-1$
}
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewAPIProviderForFilters.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewAPIProviderForFilters.java
index 1dc9dbb2368..de6fca52467 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewAPIProviderForFilters.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewAPIProviderForFilters.java
@@ -147,7 +147,7 @@ public class SystemViewAPIProviderForFilters
ISystemFilter newFilter = adapter.createFilterByPrompting(ssf, fRef, RSEUIPlugin.getTheSystemRegistryUI().getShell());
if (newFilter == null)
{
- children[0] = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELED),
+ children[0] = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELLED),
ISystemMessageObject.MSGTYPE_CANCEL,element);
}
else // filter successfully created!
@@ -205,7 +205,7 @@ public class SystemViewAPIProviderForFilters
catch (InterruptedException exc)
{
children = new SystemMessageObject[1];
- children[0] = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELED),
+ children[0] = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELLED),
ISystemMessageObject.MSGTYPE_CANCEL,element);
SystemBasePlugin.logDebugMessage(this.getClass().getName(),"Filter resolving canceled by user."); //$NON-NLS-1$
}
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewFilterReferenceAdapter.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewFilterReferenceAdapter.java
index 0aa070064ec..308e00b4081 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewFilterReferenceAdapter.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewFilterReferenceAdapter.java
@@ -320,7 +320,7 @@ public class SystemViewFilterReferenceAdapter
ISystemFilter newFilter = adapter.createFilterByPrompting(ssf, fRef, getShell());
if (newFilter == null)
{
- children[0] = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELED), ISystemMessageObject.MSGTYPE_CANCEL, element);
+ children[0] = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELLED), ISystemMessageObject.MSGTYPE_CANCEL, element);
}
else // filter successfully created!
{
@@ -471,7 +471,7 @@ public class SystemViewFilterReferenceAdapter
catch (InterruptedException exc)
{
children = new SystemMessageObject[1];
- children[0] = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELED), ISystemMessageObject.MSGTYPE_CANCEL, element);
+ children[0] = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELLED), ISystemMessageObject.MSGTYPE_CANCEL, element);
SystemBasePlugin.logDebugMessage(this.getClass().getName(), "Filter resolving canceled by user."); //$NON-NLS-1$
}
catch (Exception exc)
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/ISystemMessages.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/ISystemMessages.java
index c02ebf29d40..9f568439cf5 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/ISystemMessages.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/ISystemMessages.java
@@ -151,10 +151,7 @@ public interface ISystemMessages
//public static final String MSG_OPERATION_PREFIX = MSG_PREFIX + "Operation.";
public static final String MSG_OPERATION_FAILED = "RSEG1066"; //$NON-NLS-1$
- /**
- * @since 3.0
- */
- public static final String MSG_OPERATION_CANCELED = "RSEG1067"; //$NON-NLS-1$
+ public static final String MSG_OPERATION_CANCELLED = "RSEG1067"; //$NON-NLS-1$
public static final String MSG_HOSTNAME_NOTFOUND = "RSEG1220"; //$NON-NLS-1$
@@ -179,18 +176,15 @@ public interface ISystemMessages
// --------------------------
//public static final String MSG_EXPAND_PREFIX = MSG_PREFIX + "Expand.";
public static final String MSG_EXPAND_FAILED = "RSEG1098"; //MSG_EXPAND_PREFIX + "Failed"; //$NON-NLS-1$
- /**
- * @since 3.0
- */
- public static final String MSG_EXPAND_CANCELED = "RSEG1067"; //MSG_EXPAND_PREFIX + "Cancelled"; //$NON-NLS-1$
+ public static final String MSG_EXPAND_CANCELLED = "RSEG1067"; //MSG_EXPAND_PREFIX + "Cancelled"; //$NON-NLS-1$
// Message vetoed by UCD
- //public static final String MSG_EXPAND_CANCELED = "RSEG1099"; //MSG_EXPAND_PREFIX + "Cancelled";
+ //public static final String MSG_EXPAND_CANCELLED = "RSEG1099"; //MSG_EXPAND_PREFIX + "Cancelled";
public static final String MSG_EXPAND_EMPTY = "RSEG1100"; //MSG_EXPAND_PREFIX + "Empty"; //$NON-NLS-1$
public static final String MSG_EXPAND_FILTERCREATED = "RSEG1102"; //MSG_EXPAND_PREFIX + "FilterCreated"; //$NON-NLS-1$
public static final String MSG_EXPAND_CONNECTIONCREATED = "RSEG1108"; //MSG_EXPAND_PREFIX + "ConnectionCreated"; //$NON-NLS-1$
//public static final String MSG_LIST_PREFIX = MSG_PREFIX + "List.";
- public static final String MSG_LIST_CANCELED = "RSEG1101"; //MSG_LIST_PREFIX + "Cancelled"; //$NON-NLS-1$
+ public static final String MSG_LIST_CANCELLED = "RSEG1101"; //MSG_LIST_PREFIX + "Cancelled"; //$NON-NLS-1$
// ----------------------------------
// GENERIC ERROR CHECKING MESSAGES...
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/actions/SystemBaseCopyAction.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/actions/SystemBaseCopyAction.java
index 34e1b6d3934..2c3ccad3db9 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/actions/SystemBaseCopyAction.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/actions/SystemBaseCopyAction.java
@@ -433,7 +433,7 @@ public abstract class SystemBaseCopyAction extends SystemBaseDialogAction
*/
protected void showOperationCancelledMessage(Shell shell)
{
- SystemMessageDialog msgDlg = new SystemMessageDialog(shell, RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_OPERATION_CANCELED));
+ SystemMessageDialog msgDlg = new SystemMessageDialog(shell, RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_OPERATION_CANCELLED));
msgDlg.open();
}
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java
index 1a54bb0ecd1..1ce06c7c6e1 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java
@@ -234,7 +234,7 @@ public class SystemFetchOperation extends JobChangeAdapter implements IRunnableW
PromptForPassword prompter = new PromptForPassword(ss);
dis.syncExec(prompter);
if (prompter.isCanceled()) {
- SystemMessage canceledMessage = RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELED);
+ SystemMessage canceledMessage = RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELLED);
SystemMessageObject canceledMessageObject = new SystemMessageObject(canceledMessage, ISystemMessageObject.MSGTYPE_CANCEL, _remoteObject);
_collector.add(canceledMessageObject, monitor);
throw new InterruptedException();
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/AbstractSystemViewAdapter.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/AbstractSystemViewAdapter.java
index 6512fc5fff0..2410cef3be6 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/AbstractSystemViewAdapter.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/AbstractSystemViewAdapter.java
@@ -1845,7 +1845,7 @@ public abstract class AbstractSystemViewAdapter implements ISystemViewElementAda
protected final void initMsgObjects()
{
nullObject = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_EMPTY),ISystemMessageObject.MSGTYPE_EMPTY, null);
- canceledObject = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_LIST_CANCELED),ISystemMessageObject.MSGTYPE_CANCEL, null);
+ canceledObject = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_LIST_CANCELLED),ISystemMessageObject.MSGTYPE_CANCEL, null);
errorObject = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_FAILED),ISystemMessageObject.MSGTYPE_ERROR, null);
}
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SystemAbstractAPIProvider.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SystemAbstractAPIProvider.java
index 839290bb6fc..6b960c13fa7 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SystemAbstractAPIProvider.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SystemAbstractAPIProvider.java
@@ -94,7 +94,7 @@ public abstract class SystemAbstractAPIProvider
protected final void initMsgObjects()
{
nullObject = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_EMPTY),ISystemMessageObject.MSGTYPE_EMPTY, null);
- canceledObject = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_LIST_CANCELED),ISystemMessageObject.MSGTYPE_CANCEL, null);
+ canceledObject = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_LIST_CANCELLED),ISystemMessageObject.MSGTYPE_CANCEL, null);
errorObject = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_FAILED),ISystemMessageObject.MSGTYPE_ERROR, null);
}
diff --git a/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/ui/internal/model/SystemNewConnectionPromptObject.java b/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/ui/internal/model/SystemNewConnectionPromptObject.java
index 6c75e20433f..d692ace8b81 100644
--- a/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/ui/internal/model/SystemNewConnectionPromptObject.java
+++ b/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/ui/internal/model/SystemNewConnectionPromptObject.java
@@ -285,7 +285,7 @@ public class SystemNewConnectionPromptObject implements ISystemPromptableObject,
result = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CONNECTIONCREATED), ISystemMessageObject.MSGTYPE_OBJECTCREATED,
null);
} else
- result = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELED), ISystemMessageObject.MSGTYPE_CANCEL, null);
+ result = new SystemMessageObject(RSEUIPlugin.getPluginMessage(ISystemMessages.MSG_EXPAND_CANCELLED), ISystemMessageObject.MSGTYPE_CANCEL, null);
return new Object[] { result };
}
diff --git a/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/SubSystem.java b/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/SubSystem.java
index ba00fb3c5f0..aa8b7f3a22b 100644
--- a/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/SubSystem.java
+++ b/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/SubSystem.java
@@ -531,9 +531,9 @@ implements IAdaptable, ISubSystem, ISystemFilterPoolReferenceManagerProvider
else
if (e instanceof OperationCanceledException)
{
- String msgTxt = NLS.bind(CommonMessages.MSG_CONNECT_CANCELED, getHost().getAliasName());
+ String msgTxt = NLS.bind(CommonMessages.MSG_CONNECT_CANCELLED, getHost().getAliasName());
SystemMessage msg = new SimpleSystemMessage(RSECorePlugin.PLUGIN_ID,
- ICommonMessageIds.MSG_CONNECT_CANCELED,
+ ICommonMessageIds.MSG_CONNECT_CANCELLED,
IStatus.CANCEL, msgTxt);
throw new SystemMessageException(msg);
}
@@ -1826,9 +1826,9 @@ implements IAdaptable, ISubSystem, ISystemFilterPoolReferenceManagerProvider
*/
protected void showConnectCancelledMessage(Shell shell, String hostName, int port)
{
- String msgTxt = NLS.bind(CommonMessages.MSG_CONNECT_CANCELED, hostName);
+ String msgTxt = NLS.bind(CommonMessages.MSG_CONNECT_CANCELLED, hostName);
SystemMessage msg = new SimpleSystemMessage(RSECorePlugin.PLUGIN_ID,
- ICommonMessageIds.MSG_CONNECT_CANCELED,
+ ICommonMessageIds.MSG_CONNECT_CANCELLED,
IStatus.CANCEL, msgTxt);
SystemMessageDialog msgDlg = new SystemMessageDialog(shell, msg);
msgDlg.open();
@@ -1856,9 +1856,9 @@ implements IAdaptable, ISubSystem, ISystemFilterPoolReferenceManagerProvider
*/
protected void showDisconnectCancelledMessage(Shell shell, String hostName, int port)
{
- String msgTxt = NLS.bind(CommonMessages.MSG_DISCONNECT_CANCELED, hostName);
+ String msgTxt = NLS.bind(CommonMessages.MSG_DISCONNECT_CANCELLED, hostName);
SystemMessage msg = new SimpleSystemMessage(RSECorePlugin.PLUGIN_ID,
- ICommonMessageIds.MSG_DISCONNECT_CANCELED,
+ ICommonMessageIds.MSG_DISCONNECT_CANCELLED,
IStatus.CANCEL, msgTxt);
SystemMessageDialog msgDlg = new SystemMessageDialog(shell,msg);
@@ -1954,9 +1954,9 @@ implements IAdaptable, ISubSystem, ISystemFilterPoolReferenceManagerProvider
*/
protected void showOperationCancelledMessage(Shell shell)
{
- String msgTxt = CommonMessages.MSG_OPERATION_CANCELED;
+ String msgTxt = CommonMessages.MSG_OPERATION_CANCELLED;
SystemMessage msg = new SimpleSystemMessage(RSECorePlugin.PLUGIN_ID,
- ICommonMessageIds.MSG_OPERATION_CANCELED,
+ ICommonMessageIds.MSG_OPERATION_CANCELLED,
IStatus.CANCEL, msgTxt);
SystemMessageDialog msgDlg = new SystemMessageDialog(shell, msg);
msgDlg.open();