aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis-Michel Mathurin2014-03-24 11:38:22 (EDT)
committerLars Vogel2014-03-25 07:15:42 (EDT)
commit691c2110ac3eb11c8e8db2c783b10781d48856a7 (patch)
tree731f0e62111d898ea68ec3fae433fe979226321b
parent4e361ecb178e9ec96c79b9e3c8a92de65842bf2c (diff)
downloadeclipse.platform.ui-691c2110ac3eb11c8e8db2c783b10781d48856a7.zip
eclipse.platform.ui-691c2110ac3eb11c8e8db2c783b10781d48856a7.tar.gz
eclipse.platform.ui-691c2110ac3eb11c8e8db2c783b10781d48856a7.tar.bz2
Bug 430991 - org.eclipse.ui.commands add @Deprecated andI20140325-0830refs/changes/10/23810/3
@SuppressWarnings("all") Change-Id: I109a72500fde4e6e3d9366a962a68de7f5908191 Signed-off-by: Louis-Michel Mathurin <mathurin.lm@agiledss.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ActionHandler.java11
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CategoryEvent.java5
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandEvent.java12
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandException.java5
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandManagerEvent.java14
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ExecutionException.java2
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/HandlerEvent.java7
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/HandlerSubmission.java10
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICategory.java8
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICategoryListener.java3
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommand.java12
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandListener.java3
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandManager.java19
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandManagerListener.java3
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IHandler.java7
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IHandlerListener.java3
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeyConfiguration.java10
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeyConfigurationListener.java3
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeySequenceBinding.java3
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IWorkbenchCommandSupport.java7
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/KeyConfigurationEvent.java8
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/NotDefinedException.java4
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/NotHandledException.java4
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/Priority.java5
24 files changed, 163 insertions, 5 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ActionHandler.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ActionHandler.java
index be70490..d5e6a53 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ActionHandler.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ActionHandler.java
@@ -13,7 +13,6 @@ package org.eclipse.ui.commands;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
-
import org.eclipse.core.commands.IHandlerAttributes;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.util.IPropertyChangeListener;
@@ -29,6 +28,8 @@ import org.eclipse.ui.actions.RetargetAction;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @see org.eclipse.jface.commands.ActionHandler
*/
+@Deprecated
+@SuppressWarnings("all")
public final class ActionHandler extends AbstractHandler {
/**
@@ -93,6 +94,7 @@ public final class ActionHandler extends AbstractHandler {
* @param action
* the action. Must not be <code>null</code>.
*/
+ @Deprecated
public ActionHandler(IAction action) {
if (action == null) {
throw new NullPointerException();
@@ -105,6 +107,7 @@ public final class ActionHandler extends AbstractHandler {
* @see org.eclipse.ui.commands.IHandler#addHandlerListener(org.eclipse.ui.commands.IHandlerListener)
* @since 3.1
*/
+ @Deprecated
public void addHandlerListener(IHandlerListener handlerListener) {
if (!hasListeners()) {
attachListener();
@@ -166,6 +169,7 @@ public final class ActionHandler extends AbstractHandler {
*
* @see org.eclipse.ui.commands.IHandler#dispose()
*/
+ @Deprecated
public void dispose() {
if (hasListeners()) {
action.removePropertyChangeListener(propertyChangeListener);
@@ -176,6 +180,7 @@ public final class ActionHandler extends AbstractHandler {
/* (non-Javadoc)
* @see org.eclipse.ui.commands.IHandler#execute(java.util.Map)
*/
+ @Deprecated
public Object execute(Map parameterValuesByName) throws ExecutionException {
if ((action.getStyle() == IAction.AS_CHECK_BOX)
|| (action.getStyle() == IAction.AS_RADIO_BUTTON)) {
@@ -196,6 +201,7 @@ public final class ActionHandler extends AbstractHandler {
* @return the action associated with this handler (not null)
* @since 3.1
*/
+ @Deprecated
public IAction getAction() {
return action;
}
@@ -203,6 +209,7 @@ public final class ActionHandler extends AbstractHandler {
/* (non-Javadoc)
* @see org.eclipse.ui.commands.IHandler#getAttributeValuesByName()
*/
+ @Deprecated
public Map getAttributeValuesByName() {
if (attributeValuesByName == null) {
return getAttributeValuesByNameFromAction();
@@ -240,6 +247,7 @@ public final class ActionHandler extends AbstractHandler {
* @see org.eclipse.ui.commands.IHandler#removeHandlerListener(org.eclipse.ui.commands.IHandlerListener)
* @since 3.1
*/
+ @Deprecated
public void removeHandlerListener(IHandlerListener handlerListener) {
super.removeHandlerListener(handlerListener);
@@ -251,6 +259,7 @@ public final class ActionHandler extends AbstractHandler {
/* (non-Javadoc)
* @see java.lang.Object#toString()
*/
+ @Deprecated
public final String toString() {
final StringBuffer buffer = new StringBuffer();
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CategoryEvent.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CategoryEvent.java
index d80c430..ec991b6 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CategoryEvent.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CategoryEvent.java
@@ -23,6 +23,7 @@ package org.eclipse.ui.commands;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @see org.eclipse.core.commands.CategoryEvent
*/
+@Deprecated
public final class CategoryEvent {
/**
@@ -50,6 +51,7 @@ public final class CategoryEvent {
* @param nameChanged
* true, iff the name property changed.
*/
+ @Deprecated
public CategoryEvent(ICategory category, boolean definedChanged,
boolean nameChanged) {
if (category == null) {
@@ -67,6 +69,7 @@ public final class CategoryEvent {
* @return the instance of the interface that changed. Guaranteed not to be
* <code>null</code>.
*/
+ @Deprecated
public ICategory getCategory() {
return category;
}
@@ -76,6 +79,7 @@ public final class CategoryEvent {
*
* @return true, iff the defined property changed.
*/
+ @Deprecated
public boolean hasDefinedChanged() {
return definedChanged;
}
@@ -85,6 +89,7 @@ public final class CategoryEvent {
*
* @return true, iff the name property changed.
*/
+ @Deprecated
public boolean hasNameChanged() {
return nameChanged;
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandEvent.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandEvent.java
index 17e9e22..cb3fdef 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandEvent.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandEvent.java
@@ -12,7 +12,6 @@ package org.eclipse.ui.commands;
import java.util.Collections;
import java.util.Map;
-
import org.eclipse.ui.internal.util.Util;
/**
@@ -27,6 +26,8 @@ import org.eclipse.ui.internal.util.Util;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @see org.eclipse.core.commands.CommandEvent
*/
+@Deprecated
+@SuppressWarnings("all")
public final class CommandEvent {
/**
@@ -143,6 +144,7 @@ public final class CommandEvent {
* @return the instance of the interface that changed. Guaranteed not to be
* <code>null</code>.
*/
+ @Deprecated
public ICommand getCommand() {
return command;
}
@@ -158,6 +160,7 @@ public final class CommandEvent {
* guaranteed to not be null if haveAttributeValuesByNameChanged()
* is <code>true</code>.
*/
+ @Deprecated
public Map getPreviousAttributeValuesByName() {
return previousAttributeValuesByName;
}
@@ -167,6 +170,7 @@ public final class CommandEvent {
*
* @return true, iff the categoryId property changed.
*/
+ @Deprecated
public boolean hasCategoryIdChanged() {
return categoryIdChanged;
}
@@ -176,6 +180,7 @@ public final class CommandEvent {
*
* @return true, iff the defined property changed.
*/
+ @Deprecated
public boolean hasDefinedChanged() {
return definedChanged;
}
@@ -185,6 +190,7 @@ public final class CommandEvent {
*
* @return true, iff the description property changed.
*/
+ @Deprecated
public boolean hasDescriptionChanged() {
return descriptionChanged;
}
@@ -194,6 +200,7 @@ public final class CommandEvent {
*
* @return true, iff the handled property changed.
*/
+ @Deprecated
public boolean hasHandledChanged() {
return handledChanged;
}
@@ -203,6 +210,7 @@ public final class CommandEvent {
*
* @return true, iff the name property changed.
*/
+ @Deprecated
public boolean hasNameChanged() {
return nameChanged;
}
@@ -212,6 +220,7 @@ public final class CommandEvent {
*
* @return true, iff the attributeValuesByName property changed.
*/
+ @Deprecated
public boolean haveAttributeValuesByNameChanged() {
return attributeValuesByNameChanged;
}
@@ -221,6 +230,7 @@ public final class CommandEvent {
*
* @return true, iff the keySequenceBindings property changed.
*/
+ @Deprecated
public boolean haveKeySequenceBindingsChanged() {
return keySequenceBindingsChanged;
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandException.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandException.java
index b581c6a..fb1f372 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandException.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandException.java
@@ -21,6 +21,8 @@ package org.eclipse.ui.commands;
* @see org.eclipse.core.commands.common.CommandException
* @noextend This class is not intended to be subclassed by clients.
*/
+@Deprecated
+@SuppressWarnings("all")
public abstract class CommandException extends Exception {
/**
@@ -39,6 +41,7 @@ public abstract class CommandException extends Exception {
* @param message
* the detail message.
*/
+ @Deprecated
public CommandException(String message) {
super(message);
}
@@ -52,6 +55,7 @@ public abstract class CommandException extends Exception {
* @param cause
* the cause.
*/
+ @Deprecated
public CommandException(String message, Throwable cause) {
super(message);
// don't pass the cause to super, to allow compilation against JCL Foundation
@@ -65,6 +69,7 @@ public abstract class CommandException extends Exception {
* @return the cause or <code>null</code>
* @since 3.1
*/
+ @Deprecated
public Throwable getCause() {
return cause;
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandManagerEvent.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandManagerEvent.java
index 2e792a2..fc7ce48 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandManagerEvent.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/CommandManagerEvent.java
@@ -11,7 +11,6 @@
package org.eclipse.ui.commands;
import java.util.Set;
-
import org.eclipse.ui.internal.util.Util;
/**
@@ -26,6 +25,8 @@ import org.eclipse.ui.internal.util.Util;
* @see org.eclipse.core.commands.CommandManagerEvent
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
*/
+@Deprecated
+@SuppressWarnings("all")
public final class CommandManagerEvent {
/**
@@ -193,6 +194,7 @@ public final class CommandManagerEvent {
* @return the instance of the interface that changed. Guaranteed not to be
* <code>null</code>.
*/
+ @Deprecated
public ICommandManager getCommandManager() {
return commandManager;
}
@@ -208,6 +210,7 @@ public final class CommandManagerEvent {
* guaranteed to not be null if haveDefinedCategoryIdsChanged() is
* <code>true</code>.
*/
+ @Deprecated
public Set getPreviouslyDefinedCategoryIds() {
return previouslyDefinedCategoryIds;
}
@@ -223,6 +226,7 @@ public final class CommandManagerEvent {
* guaranteed to not be null if haveDefinedCommandIdsChanged() is
* <code>true</code>.
*/
+ @Deprecated
public Set getPreviouslyDefinedCommandIds() {
return previouslyDefinedCommandIds;
}
@@ -238,6 +242,7 @@ public final class CommandManagerEvent {
* and is guaranteed to not be null if
* haveDefinedKeyConfigurationIdsChanged() is <code>true</code>.
*/
+ @Deprecated
public Set getPreviouslyDefinedKeyConfigurationIds() {
return previouslyDefinedKeyConfigurationIds;
}
@@ -247,6 +252,7 @@ public final class CommandManagerEvent {
*
* @return true, iff the activeKeyConfigurationId property changed.
*/
+ @Deprecated
public boolean hasActiveKeyConfigurationIdChanged() {
return activeKeyConfigurationIdChanged;
}
@@ -256,6 +262,7 @@ public final class CommandManagerEvent {
*
* @return true, iff the activeLocale property changed.
*/
+ @Deprecated
public boolean hasActiveLocaleChanged() {
return activeLocaleChanged;
}
@@ -265,6 +272,7 @@ public final class CommandManagerEvent {
*
* @return true, iff the activePlatform property changed.
*/
+ @Deprecated
public boolean hasActivePlatformChanged() {
return activePlatformChanged;
}
@@ -274,6 +282,7 @@ public final class CommandManagerEvent {
*
* @return true, iff the activeContextIds property changed.
*/
+ @Deprecated
public boolean haveActiveContextIdsChanged() {
return activeContextIdsChanged;
}
@@ -283,6 +292,7 @@ public final class CommandManagerEvent {
*
* @return true, iff the definedCategoryIds property changed.
*/
+ @Deprecated
public boolean haveDefinedCategoryIdsChanged() {
return definedCategoryIdsChanged;
}
@@ -292,6 +302,7 @@ public final class CommandManagerEvent {
*
* @return true, iff the definedCommandIds property changed.
*/
+ @Deprecated
public boolean haveDefinedCommandIdsChanged() {
return definedCommandIdsChanged;
}
@@ -301,6 +312,7 @@ public final class CommandManagerEvent {
*
* @return true, iff the definedKeyConfigurationIds property changed.
*/
+ @Deprecated
public boolean haveDefinedKeyConfigurationIdsChanged() {
return definedKeyConfigurationIdsChanged;
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ExecutionException.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ExecutionException.java
index 61fa0f9..2da2672 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ExecutionException.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ExecutionException.java
@@ -20,6 +20,8 @@ package org.eclipse.ui.commands;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @see org.eclipse.core.commands.ExecutionException
*/
+@Deprecated
+@SuppressWarnings("all")
public final class ExecutionException extends CommandException {
/**
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/HandlerEvent.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/HandlerEvent.java
index fa054ec..8332cf4 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/HandlerEvent.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/HandlerEvent.java
@@ -11,7 +11,6 @@
package org.eclipse.ui.commands;
import java.util.Map;
-
import org.eclipse.ui.internal.util.Util;
/**
@@ -25,6 +24,8 @@ import org.eclipse.ui.internal.util.Util;
* @see IHandlerListener#handlerChanged(HandlerEvent)
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
*/
+@Deprecated
+@SuppressWarnings("all")
public final class HandlerEvent {
/**
@@ -72,6 +73,7 @@ public final class HandlerEvent {
* <code>false</code> and must not be null if
* attributeValuesByNameChanged is <code>true</code>.
*/
+ @Deprecated
public HandlerEvent(IHandler handler, boolean attributeValuesByNameChanged,
Map previousAttributeValuesByName) {
if (handler == null) {
@@ -99,6 +101,7 @@ public final class HandlerEvent {
* @return the instance of the interface that changed. Guaranteed not to be
* <code>null</code>.
*/
+ @Deprecated
public IHandler getHandler() {
return handler;
}
@@ -114,6 +117,7 @@ public final class HandlerEvent {
* guaranteed to not be null if haveAttributeValuesByNameChanged()
* is <code>true</code>.
*/
+ @Deprecated
public Map getPreviousAttributeValuesByName() {
if (originalPreviousAttributeValuesByName == null) {
return null;
@@ -133,6 +137,7 @@ public final class HandlerEvent {
*
* @return true, iff the attributeValuesByName property changed.
*/
+ @Deprecated
public boolean haveAttributeValuesByNameChanged() {
return attributeValuesByNameChanged;
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/HandlerSubmission.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/HandlerSubmission.java
index 1f6020b..6ab8de5 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/HandlerSubmission.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/HandlerSubmission.java
@@ -40,6 +40,8 @@ import org.eclipse.ui.internal.util.Util;
* instead.
* @see org.eclipse.ui.handlers.IHandlerService
*/
+@Deprecated
+@SuppressWarnings("all")
public final class HandlerSubmission implements Comparable {
/**
@@ -108,6 +110,7 @@ public final class HandlerSubmission implements Comparable {
* @param priority
* the priority. Must not be <code>null</code>.
*/
+ @Deprecated
public HandlerSubmission(String activePartId, Shell activeShell,
IWorkbenchPartSite activeWorkbenchPartSite, String commandId,
IHandler handler, Priority priority) {
@@ -126,6 +129,7 @@ public final class HandlerSubmission implements Comparable {
/**
* @see Comparable#compareTo(java.lang.Object)
*/
+ @Deprecated
public int compareTo(Object object) {
HandlerSubmission castedObject = (HandlerSubmission) object;
int compareTo = Util.compare(activeWorkbenchPartSite,
@@ -163,6 +167,7 @@ public final class HandlerSubmission implements Comparable {
* @return the identifier of the part that must be active for this request
* to be considered. May be <code>null</code>.
*/
+ @Deprecated
public String getActivePartId() {
return activePartId;
}
@@ -173,6 +178,7 @@ public final class HandlerSubmission implements Comparable {
* @return the shell that must be active for this request to be considered.
* May be <code>null</code>.
*/
+ @Deprecated
public Shell getActiveShell() {
return activeShell;
}
@@ -184,6 +190,7 @@ public final class HandlerSubmission implements Comparable {
* @return the workbench part site of the part that must be active for this
* request to be considered. May be <code>null</code>.
*/
+ @Deprecated
public IWorkbenchPartSite getActiveWorkbenchPartSite() {
return activeWorkbenchPartSite;
}
@@ -194,6 +201,7 @@ public final class HandlerSubmission implements Comparable {
* @return the identifier of the command to be handled. Guaranteed not to be
* <code>null</code>.
*/
+ @Deprecated
public String getCommandId() {
return commandId;
}
@@ -203,6 +211,7 @@ public final class HandlerSubmission implements Comparable {
*
* @return the handler. Guaranteed not to be <code>null</code>.
*/
+ @Deprecated
public IHandler getHandler() {
return handler;
}
@@ -212,6 +221,7 @@ public final class HandlerSubmission implements Comparable {
*
* @return the priority. Guaranteed not to be <code>null</code>.
*/
+ @Deprecated
public Priority getPriority() {
return priority;
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICategory.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICategory.java
index 6482d2a..46aa320 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICategory.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICategory.java
@@ -46,6 +46,8 @@ package org.eclipse.ui.commands;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @noimplement This interface is not intended to be implemented by clients.
*/
+@Deprecated
+@SuppressWarnings("all")
public interface ICategory extends Comparable {
/**
@@ -59,6 +61,7 @@ public interface ICategory extends Comparable {
* which is already registered with this instance, no operation
* is performed.
*/
+ @Deprecated
void addCategoryListener(ICategoryListener categoryListener);
/**
@@ -76,6 +79,7 @@ public interface ICategory extends Comparable {
* @throws NotDefinedException
* if the category represented by this handle is not defined.
*/
+ @Deprecated
String getDescription() throws NotDefinedException;
/**
@@ -83,6 +87,7 @@ public interface ICategory extends Comparable {
*
* @return the identifier of this handle. Guaranteed not to be <code>null</code>.
*/
+ @Deprecated
String getId();
/**
@@ -100,6 +105,7 @@ public interface ICategory extends Comparable {
* @throws NotDefinedException
* if the category represented by this handle is not defined.
*/
+ @Deprecated
String getName() throws NotDefinedException;
/**
@@ -115,6 +121,7 @@ public interface ICategory extends Comparable {
* @return <code>true</code>, iff the category represented by this
* handle is defined.
*/
+ @Deprecated
boolean isDefined();
/**
@@ -128,5 +135,6 @@ public interface ICategory extends Comparable {
* which is not already registered with this instance, no
* operation is performed.
*/
+ @Deprecated
void removeCategoryListener(ICategoryListener categoryListener);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICategoryListener.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICategoryListener.java
index 7850833..10245bb 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICategoryListener.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICategoryListener.java
@@ -28,6 +28,8 @@ package org.eclipse.ui.commands;
* @see org.eclipse.core.commands.ICategoryListener
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
*/
+@Deprecated
+@SuppressWarnings("all")
public interface ICategoryListener {
/**
@@ -38,5 +40,6 @@ public interface ICategoryListener {
* @param categoryEvent
* the category event. Guaranteed not to be <code>null</code>.
*/
+ @Deprecated
void categoryChanged(CategoryEvent categoryEvent);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommand.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommand.java
index af6b5d6..f30d372 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommand.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommand.java
@@ -43,6 +43,8 @@ import java.util.Map;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @noimplement This interface is not intended to be implemented by clients.
*/
+@Deprecated
+@SuppressWarnings("all")
public interface ICommand extends Comparable {
/**
@@ -56,6 +58,7 @@ public interface ICommand extends Comparable {
* is already registered with this instance, no operation is
* performed.
*/
+ @Deprecated
void addCommandListener(ICommandListener commandListener);
/**
@@ -71,6 +74,7 @@ public interface ICommand extends Comparable {
* @throws NotHandledException
* if this is not handled.
*/
+ @Deprecated
Object execute(Map parameterValuesByName) throws ExecutionException,
NotHandledException;
@@ -88,6 +92,7 @@ public interface ICommand extends Comparable {
* @throws NotHandledException
* if this is not handled.
*/
+ @Deprecated
Map getAttributeValuesByName() throws NotHandledException;
/**
@@ -105,6 +110,7 @@ public interface ICommand extends Comparable {
* @throws NotDefinedException
* if the command represented by this handle is not defined.
*/
+ @Deprecated
String getCategoryId() throws NotDefinedException;
/**
@@ -122,6 +128,7 @@ public interface ICommand extends Comparable {
* @throws NotDefinedException
* if the command represented by this handle is not defined.
*/
+ @Deprecated
String getDescription() throws NotDefinedException;
/**
@@ -130,6 +137,7 @@ public interface ICommand extends Comparable {
* @return the identifier of this handle. Guaranteed not to be
* <code>null</code>.
*/
+ @Deprecated
String getId();
/**
@@ -165,6 +173,7 @@ public interface ICommand extends Comparable {
* @throws NotDefinedException
* if the command represented by this handle is not defined.
*/
+ @Deprecated
String getName() throws NotDefinedException;
/**
@@ -179,6 +188,7 @@ public interface ICommand extends Comparable {
* @return <code>true</code>, iff the command represented by this handle
* is defined.
*/
+ @Deprecated
boolean isDefined();
/**
@@ -195,6 +205,7 @@ public interface ICommand extends Comparable {
*
* @return <code>true</code>, iff this command is enabled.
*/
+ @Deprecated
boolean isHandled();
/**
@@ -208,5 +219,6 @@ public interface ICommand extends Comparable {
* which is not already registered with this instance, no
* operation is performed.
*/
+ @Deprecated
void removeCommandListener(ICommandListener commandListener);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandListener.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandListener.java
index 0031acf..d83ea36 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandListener.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandListener.java
@@ -23,6 +23,8 @@ package org.eclipse.ui.commands;
* @see org.eclipse.core.commands.ICommandListener
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
*/
+@Deprecated
+@SuppressWarnings("all")
public interface ICommandListener {
/**
@@ -32,5 +34,6 @@ public interface ICommandListener {
* @param commandEvent
* the command event. Guaranteed not to be <code>null</code>.
*/
+ @Deprecated
void commandChanged(CommandEvent commandEvent);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandManager.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandManager.java
index 89c6011..21b28bf 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandManager.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandManager.java
@@ -13,7 +13,6 @@ package org.eclipse.ui.commands;
import java.util.Map;
import java.util.Set;
-
import org.eclipse.ui.keys.KeySequence;
/**
@@ -33,6 +32,8 @@ import org.eclipse.ui.keys.KeySequence;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @noimplement This interface is not intended to be implemented by clients.
*/
+@Deprecated
+@SuppressWarnings("all")
public interface ICommandManager {
/**
@@ -46,6 +47,7 @@ public interface ICommandManager {
* <code>ICommandManagerListener</code> which is already
* registered with this instance, no operation is performed.
*/
+ @Deprecated
void addCommandManagerListener(
ICommandManagerListener commandManagerListener);
@@ -61,6 +63,7 @@ public interface ICommandManager {
* set is not empty, it is guaranteed to only contain instances of
* <code>String</code>.
*/
+ @Deprecated
Set getActiveContextIds();
/**
@@ -75,6 +78,7 @@ public interface ICommandManager {
* is not empty, it is guaranteed to only contains instances of
* <code>String</code>.
*/
+ @Deprecated
String getActiveKeyConfigurationId();
/**
@@ -88,6 +92,7 @@ public interface ICommandManager {
*
* @return the active locale. May be <code>null</code>.
*/
+ @Deprecated
String getActiveLocale();
/**
@@ -101,6 +106,7 @@ public interface ICommandManager {
*
* @return the active platform. May be <code>null</code>.
*/
+ @Deprecated
String getActivePlatform();
/**
@@ -110,6 +116,7 @@ public interface ICommandManager {
* an identifier. Must not be <code>null</code>
* @return a handle to a category.
*/
+ @Deprecated
ICategory getCategory(String categoryId);
/**
@@ -119,6 +126,7 @@ public interface ICommandManager {
* an identifier. Must not be <code>null</code>
* @return a handle to a command; never <code>null</code>.
*/
+ @Deprecated
ICommand getCommand(String commandId);
/**
@@ -135,6 +143,7 @@ public interface ICommandManager {
* set is not empty, it is guaranteed to only contain instances of
* <code>String</code>.
*/
+ @Deprecated
Set getDefinedCategoryIds();
/**
@@ -151,6 +160,7 @@ public interface ICommandManager {
* set is not empty, it is guaranteed to only contain instances of
* <code>String</code>.
*/
+ @Deprecated
Set getDefinedCommandIds();
/**
@@ -167,6 +177,7 @@ public interface ICommandManager {
* If this set is not empty, it is guaranteed to only contain
* instances of <code>String</code>.
*/
+ @Deprecated
Set getDefinedKeyConfigurationIds();
/**
@@ -176,6 +187,7 @@ public interface ICommandManager {
* an identifier. Must not be <code>null</code>
* @return a handle to a key configuration.
*/
+ @Deprecated
IKeyConfiguration getKeyConfiguration(String keyConfigurationId);
/**
@@ -189,6 +201,7 @@ public interface ICommandManager {
* <code>String</code>). This map may be empty, but it is never
* <code>null</code>.
*/
+ @Deprecated
Map getPartialMatches(KeySequence keySequence);
/**
@@ -200,6 +213,7 @@ public interface ICommandManager {
* @return The command id for the matching command, if any;
* <code>null</code> if none.
*/
+ @Deprecated
String getPerfectMatch(KeySequence keySequence);
/**
@@ -212,6 +226,7 @@ public interface ICommandManager {
* that starts with <code>keySequence</code>;<code>false</code>
* otherwise.
*/
+ @Deprecated
boolean isPartialMatch(KeySequence keySequence);
/**
@@ -223,6 +238,7 @@ public interface ICommandManager {
* @return <code>true</code> if a command has a matching key binding;
* <code>false</code> otherwise.
*/
+ @Deprecated
boolean isPerfectMatch(KeySequence keySequence);
/**
@@ -236,6 +252,7 @@ public interface ICommandManager {
* <code>ICommandManagerListener</code> which is not already
* registered with this instance, no operation is performed.
*/
+ @Deprecated
void removeCommandManagerListener(
ICommandManagerListener commandManagerListener);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandManagerListener.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandManagerListener.java
index 2ee3f22..fd9cb7d 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandManagerListener.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/ICommandManagerListener.java
@@ -23,6 +23,8 @@ package org.eclipse.ui.commands;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @see org.eclipse.core.commands.ICommandManagerListener
*/
+@Deprecated
+@SuppressWarnings("all")
public interface ICommandManagerListener {
/**
@@ -34,5 +36,6 @@ public interface ICommandManagerListener {
* the commandManager event. Guaranteed not to be
* <code>null</code>.
*/
+ @Deprecated
void commandManagerChanged(CommandManagerEvent commandManagerEvent);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IHandler.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IHandler.java
index 833f31c..c5372a8 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IHandler.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IHandler.java
@@ -26,6 +26,8 @@ import java.util.Map;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @see org.eclipse.core.commands.IHandler
*/
+@Deprecated
+@SuppressWarnings("all")
public interface IHandler {
/**
@@ -37,6 +39,7 @@ public interface IHandler {
* an attempt is made to register an instance which is already
* registered with this instance, no operation is performed.
*/
+ @Deprecated
void addHandlerListener(IHandlerListener handlerListener);
/**
@@ -44,6 +47,7 @@ public interface IHandler {
* longer referenced. This can be used as an opportunity to unhook listeners
* from other objects.
*/
+ @Deprecated
public void dispose();
/**
@@ -57,6 +61,7 @@ public interface IHandler {
* @throws ExecutionException
* if an exception occurred during execution.
*/
+ @Deprecated
Object execute(Map parameterValuesByName) throws ExecutionException;
/**
@@ -71,6 +76,7 @@ public interface IHandler {
* empty, its collection of keys is guaranteed to only contain
* instances of <code>String</code>.
*/
+ @Deprecated
Map getAttributeValuesByName();
/**
@@ -83,5 +89,6 @@ public interface IHandler {
* already registered with this instance, no operation is
* performed.
*/
+ @Deprecated
void removeHandlerListener(IHandlerListener handlerListener);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IHandlerListener.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IHandlerListener.java
index 6813e08..105cad5 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IHandlerListener.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IHandlerListener.java
@@ -23,6 +23,8 @@ package org.eclipse.ui.commands;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @see org.eclipse.core.commands.IHandlerListener
*/
+@Deprecated
+@SuppressWarnings("all")
public interface IHandlerListener {
/**
@@ -33,5 +35,6 @@ public interface IHandlerListener {
* @param handlerEvent
* the handler event. Guaranteed not to be <code>null</code>.
*/
+ @Deprecated
void handlerChanged(HandlerEvent handlerEvent);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeyConfiguration.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeyConfiguration.java
index 05279ed..2c8e0ab 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeyConfiguration.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeyConfiguration.java
@@ -43,6 +43,8 @@ package org.eclipse.ui.commands;
* plug-in instead.
* @noimplement This interface is not intended to be implemented by clients.
*/
+@Deprecated
+@SuppressWarnings("all")
public interface IKeyConfiguration extends Comparable {
/**
@@ -56,6 +58,7 @@ public interface IKeyConfiguration extends Comparable {
* which is already registered with this instance, no operation
* is performed.
*/
+ @Deprecated
void addKeyConfigurationListener(
IKeyConfigurationListener keyConfigurationListener);
@@ -75,6 +78,7 @@ public interface IKeyConfiguration extends Comparable {
* if the key configuration represented by this handle is not
* defined.
*/
+ @Deprecated
String getDescription() throws NotDefinedException;
/**
@@ -83,6 +87,7 @@ public interface IKeyConfiguration extends Comparable {
* @return the identifier of this handle. Guaranteed not to be
* <code>null</code>.
*/
+ @Deprecated
String getId();
/**
@@ -101,6 +106,7 @@ public interface IKeyConfiguration extends Comparable {
* if the key configuration represented by this handle is not
* defined.
*/
+ @Deprecated
String getName() throws NotDefinedException;
/**
@@ -119,6 +125,7 @@ public interface IKeyConfiguration extends Comparable {
* if the key configuration represented by this handle is not
* defined.
*/
+ @Deprecated
String getParentId() throws NotDefinedException;
/**
@@ -134,6 +141,7 @@ public interface IKeyConfiguration extends Comparable {
*
* @return <code>true</code>, iff this command is active.
*/
+ @Deprecated
boolean isActive();
/**
@@ -149,6 +157,7 @@ public interface IKeyConfiguration extends Comparable {
* @return <code>true</code>, iff the key configuration represented by
* this handle is defined.
*/
+ @Deprecated
boolean isDefined();
/**
@@ -162,6 +171,7 @@ public interface IKeyConfiguration extends Comparable {
* <code>IKeyConfigurationListener</code> which is not already
* registered with this instance, no operation is performed.
*/
+ @Deprecated
void removeKeyConfigurationListener(
IKeyConfigurationListener keyConfigurationListener);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeyConfigurationListener.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeyConfigurationListener.java
index 8228bc7..835137c 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeyConfigurationListener.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeyConfigurationListener.java
@@ -29,6 +29,8 @@ package org.eclipse.ui.commands;
* plug-in instead.
* @see org.eclipse.jface.bindings.ISchemeListener
*/
+@Deprecated
+@SuppressWarnings("all")
public interface IKeyConfigurationListener {
/**
@@ -38,5 +40,6 @@ public interface IKeyConfigurationListener {
* @param keyConfigurationEvent
* the keyConfiguration event. Guaranteed not to be <code>null</code>.
*/
+ @Deprecated
void keyConfigurationChanged(KeyConfigurationEvent keyConfigurationEvent);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeySequenceBinding.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeySequenceBinding.java
index dc4ab4e..b1988f7 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeySequenceBinding.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IKeySequenceBinding.java
@@ -30,6 +30,8 @@ import org.eclipse.ui.keys.KeySequence;
* @see org.eclipse.jface.bindings.keys.KeyBinding
* @noimplement This interface is not intended to be implemented by clients.
*/
+@Deprecated
+@SuppressWarnings("all")
public interface IKeySequenceBinding extends Comparable {
/**
@@ -37,5 +39,6 @@ public interface IKeySequenceBinding extends Comparable {
*
* @return the key sequence. Guaranteed not to be <code>null</code>.
*/
+ @Deprecated
KeySequence getKeySequence();
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IWorkbenchCommandSupport.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IWorkbenchCommandSupport.java
index 0f0c342..46463d6 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IWorkbenchCommandSupport.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/IWorkbenchCommandSupport.java
@@ -27,6 +27,8 @@ import java.util.Collection;
* @see org.eclipse.ui.handlers.IHandlerService
* @noimplement This interface is not intended to be implemented by clients.
*/
+@Deprecated
+@SuppressWarnings("all")
public interface IWorkbenchCommandSupport {
/**
@@ -39,6 +41,7 @@ public interface IWorkbenchCommandSupport {
* @param handlerSubmission
* The submission to be added; must not be <code>null</code>.
*/
+ @Deprecated
void addHandlerSubmission(HandlerSubmission handlerSubmission);
/**
@@ -54,6 +57,7 @@ public interface IWorkbenchCommandSupport {
* and must contain zero or more instances of
* <code>HandlerSubmission</code>.
*/
+ @Deprecated
void addHandlerSubmissions(Collection handlerSubmissions);
/**
@@ -62,6 +66,7 @@ public interface IWorkbenchCommandSupport {
* @return the command manager for the workbench. Guaranteed not to be
* <code>null</code>.
*/
+ @Deprecated
ICommandManager getCommandManager();
/**
@@ -73,6 +78,7 @@ public interface IWorkbenchCommandSupport {
* @param handlerSubmission
* The submission to be removed; must not be <code>null</code>.
*/
+ @Deprecated
void removeHandlerSubmission(HandlerSubmission handlerSubmission);
/**
@@ -86,5 +92,6 @@ public interface IWorkbenchCommandSupport {
* and must contain instances of <code>HandlerSubmission</code>
* only.
*/
+ @Deprecated
void removeHandlerSubmissions(Collection handlerSubmissions);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/KeyConfigurationEvent.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/KeyConfigurationEvent.java
index 86cb577..a36f135 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/KeyConfigurationEvent.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/KeyConfigurationEvent.java
@@ -24,6 +24,8 @@ package org.eclipse.ui.commands;
* plug-in instead.
* @see org.eclipse.jface.bindings.SchemeEvent
*/
+@Deprecated
+@SuppressWarnings("all")
public final class KeyConfigurationEvent {
/**
@@ -66,6 +68,7 @@ public final class KeyConfigurationEvent {
* @param parentIdChanged
* true, iff the parentId property changed.
*/
+ @Deprecated
public KeyConfigurationEvent(IKeyConfiguration keyConfiguration,
boolean activeChanged, boolean definedChanged, boolean nameChanged,
boolean parentIdChanged) {
@@ -86,6 +89,7 @@ public final class KeyConfigurationEvent {
* @return the instance of the interface that changed. Guaranteed not to be
* <code>null</code>.
*/
+ @Deprecated
public IKeyConfiguration getKeyConfiguration() {
return keyConfiguration;
}
@@ -95,6 +99,7 @@ public final class KeyConfigurationEvent {
*
* @return true, iff the active property changed.
*/
+ @Deprecated
public boolean hasActiveChanged() {
return activeChanged;
}
@@ -104,6 +109,7 @@ public final class KeyConfigurationEvent {
*
* @return true, iff the defined property changed.
*/
+ @Deprecated
public boolean hasDefinedChanged() {
return definedChanged;
}
@@ -113,6 +119,7 @@ public final class KeyConfigurationEvent {
*
* @return true, iff the name property changed.
*/
+ @Deprecated
public boolean hasNameChanged() {
return nameChanged;
}
@@ -122,6 +129,7 @@ public final class KeyConfigurationEvent {
*
* @return true, iff the parentId property changed.
*/
+ @Deprecated
public boolean hasParentIdChanged() {
return parentIdChanged;
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/NotDefinedException.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/NotDefinedException.java
index d0e9ee3..f56f4d0 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/NotDefinedException.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/NotDefinedException.java
@@ -21,6 +21,8 @@ package org.eclipse.ui.commands;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @see org.eclipse.core.commands.common.NotDefinedException
*/
+@Deprecated
+@SuppressWarnings("all")
public final class NotDefinedException extends CommandException {
/**
@@ -36,6 +38,7 @@ public final class NotDefinedException extends CommandException {
* @param s
* the detail message.
*/
+ @Deprecated
public NotDefinedException(String s) {
super(s);
}
@@ -49,6 +52,7 @@ public final class NotDefinedException extends CommandException {
* must not be <code>null</code>.
* @since 3.1
*/
+ @Deprecated
public NotDefinedException(
final org.eclipse.core.commands.common.NotDefinedException e) {
super(e.getMessage(), e);
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/NotHandledException.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/NotHandledException.java
index 67cf85b..c2b8616 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/NotHandledException.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/NotHandledException.java
@@ -21,6 +21,8 @@ package org.eclipse.ui.commands;
* @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
* @see org.eclipse.core.commands.NotHandledException
*/
+@Deprecated
+@SuppressWarnings("all")
public final class NotHandledException extends CommandException {
/**
@@ -36,6 +38,7 @@ public final class NotHandledException extends CommandException {
* @param s
* the detail message.
*/
+ @Deprecated
public NotHandledException(String s) {
super(s);
}
@@ -49,6 +52,7 @@ public final class NotHandledException extends CommandException {
* must not be <code>null</code>.
* @since 3.1
*/
+ @Deprecated
public NotHandledException(final org.eclipse.core.commands.NotHandledException e) {
super(e.getMessage(), e);
}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/Priority.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/Priority.java
index 7445b70..8b1fba9 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/Priority.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/commands/Priority.java
@@ -42,6 +42,8 @@ import org.eclipse.ui.internal.util.Util;
* integer constants.
*
*/
+@Deprecated
+@SuppressWarnings("all")
public final class Priority implements Comparable {
/**
@@ -87,6 +89,7 @@ public final class Priority implements Comparable {
/**
* @see Comparable#compareTo(java.lang.Object)
*/
+ @Deprecated
public int compareTo(Object object) {
Priority castedObject = (Priority) object;
int compareTo = Util.compare(value, castedObject.value);
@@ -99,6 +102,7 @@ public final class Priority implements Comparable {
*
* @return The integer priority value.
*/
+ @Deprecated
int getValue() {
return value;
}
@@ -106,6 +110,7 @@ public final class Priority implements Comparable {
/**
* @see Object#toString()
*/
+ @Deprecated
public String toString() {
if (string == null) {
final StringBuffer stringBuffer = new StringBuffer();