diff options
author | Tod Creasey | 2007-02-05 14:59:19 +0000 |
---|---|---|
committer | Tod Creasey | 2007-02-05 14:59:19 +0000 |
commit | 7ca9871cab2c623e145e84baef4d60e7c8023766 (patch) | |
tree | e039765151f1778223b88830fc1e2cff5f67c7d2 /bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/statushandlers/AbstractStatusHandler.java | |
parent | b215bea4a6a75c61a83d81e69edc33d79138a1a3 (diff) | |
download | eclipse.platform.ui-7ca9871cab2c623e145e84baef4d60e7c8023766.tar.gz eclipse.platform.ui-7ca9871cab2c623e145e84baef4d60e7c8023766.tar.xz eclipse.platform.ui-7ca9871cab2c623e145e84baef4d60e7c8023766.zip |
Fix for Bug 172673 [StatusHandling] Add StatusAdapter class
Diffstat (limited to 'bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/statushandlers/AbstractStatusHandler.java')
-rw-r--r-- | bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/statushandlers/AbstractStatusHandler.java | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/statushandlers/AbstractStatusHandler.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/statushandlers/AbstractStatusHandler.java index 3fe336ef9a3..20615b06c26 100644 --- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/statushandlers/AbstractStatusHandler.java +++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/statushandlers/AbstractStatusHandler.java @@ -16,7 +16,7 @@ import java.util.Map; /** * <p> * All status handlers are <code>AbstractStatusHandler</code> subclasses. Each - * handler has to have <code>handle(StatusHandlingState status)</code> + * handler has to have <code>handle(StatusAdapter status)</code> * implemented. This method handles the status due to handling hint. The hint * indicates how status handler should handle a status but this is only a * suggestion. @@ -65,15 +65,16 @@ public abstract class AbstractStatusHandler { private String id; /** - * Handles {@link StatusHandlingState} objects. This method can modify - * status and hint. Each handler can suggest the facility to stop handling a - * problem. If handling policy respects it, handling will be stopped. + * Handles {@link StatusAdapter} objects. This method can modify status and + * hint. Each handler can suggest the facility to stop handling a problem. + * If handling policy respects it, handling will be stopped. * - * @param handlingState - * the handling state - * @return <code>false</code> if handling should be stopped, <code>true</code> otherwise + * @param statusAdapter + * the status adapter + * @return <code>false</code> if handling should be stopped, + * <code>true</code> otherwise */ - abstract public boolean handle(StatusHandlingState handlingState); + abstract public boolean handle(StatusAdapter statusAdapter); /** * @return Returns the params. |