diff options
author | pmoogk | 2007-03-15 20:16:25 +0000 |
---|---|---|
committer | pmoogk | 2007-03-15 20:16:25 +0000 |
commit | 77505e926effa5aacf49774ff9a00f687f0ac8f6 (patch) | |
tree | eb2a1edd180fc3e96ef02cfcc32db39a973dcac8 /bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant | |
parent | 39b54b0d514a34899933eb260eefe5e52c7d85c1 (diff) | |
download | webtools.webservices-77505e926effa5aacf49774ff9a00f687f0ac8f6.tar.gz webtools.webservices-77505e926effa5aacf49774ff9a00f687f0ac8f6.tar.xz webtools.webservices-77505e926effa5aacf49774ff9a00f687f0ac8f6.zip |
[176886] Updated framework to use the new BaseStatusHandler
Diffstat (limited to 'bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant')
2 files changed, 13 insertions, 8 deletions
diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntEnvironment.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntEnvironment.java index b0c7666e2..ab125ea55 100644 --- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntEnvironment.java +++ b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntEnvironment.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005, 2006 IBM Corporation and others. + * Copyright (c) 2005, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -11,6 +11,7 @@ * -------- -------- ----------------------------------------------------------- * 20060523 133714 joan@ca.ibm.com - Joan Haggarty * 20060726 151614 pmoogk@ca.ibm.com - Peter Moogk + * 20070314 176886 pmoogk@ca.ibm.com - Peter Moogk *******************************************************************************/ package org.eclipse.wst.command.internal.env.ant; @@ -38,9 +39,9 @@ import org.eclipse.wst.command.internal.env.core.data.ClassEntry; import org.eclipse.wst.command.internal.env.core.data.Transformer; import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment; import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment; +import org.eclipse.wst.command.internal.env.eclipse.IEclipseStatusHandler; import org.eclipse.wst.command.internal.env.plugin.EnvPlugin; import org.eclipse.wst.common.environment.ILog; -import org.eclipse.wst.common.environment.IStatusHandler; import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation; /** @@ -84,7 +85,7 @@ public class AntEnvironment extends EclipseEnvironment{ private AntController controller_; - public AntEnvironment(AntController controller, TransientResourceContext context, IStatusHandler handler, Hashtable properties) + public AntEnvironment(AntController controller, TransientResourceContext context, IEclipseStatusHandler handler, Hashtable properties) { super(controller.getOperationManager(), context, handler); antProperties_ = properties; diff --git a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntStatusHandler.java b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntStatusHandler.java index aa4c6c884..03b4649ba 100644 --- a/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntStatusHandler.java +++ b/bundles/org.eclipse.wst.command.env/src/org/eclipse/wst/command/internal/env/ant/AntStatusHandler.java @@ -1,21 +1,25 @@ /******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. + * Copyright (c) 2005, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: - * IBM Corporation - initial API and implementation + * IBM Corporation - initial API and implementation + * yyyymmdd bug Email and other contact information + * -------- -------- ----------------------------------------------------------- + * 20070314 176886 pmoogk@ca.ibm.com - Peter Moogk *******************************************************************************/ package org.eclipse.wst.command.internal.env.ant; import org.eclipse.core.runtime.IStatus; +import org.eclipse.wst.command.internal.env.eclipse.BaseStatusHandler; import org.eclipse.wst.common.environment.Choice; -import org.eclipse.wst.common.environment.IStatusHandler; import org.eclipse.wst.common.environment.StatusException; -public class AntStatusHandler implements IStatusHandler { +public class AntStatusHandler extends BaseStatusHandler +{ public Choice report(IStatus status, Choice[] choices) { // TODO |