diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLOperationNode.java')
-rw-r--r-- | bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLOperationNode.java | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLOperationNode.java b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLOperationNode.java new file mode 100644 index 000000000..611c96efd --- /dev/null +++ b/bundles/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/perspective/WSDLOperationNode.java @@ -0,0 +1,43 @@ +/******************************************************************************* + * Copyright (c) 2001, 2004 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 + *******************************************************************************/ + +package org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective; + +import org.eclipse.wst.ws.internal.datamodel.*; +import org.eclipse.wst.ws.internal.explorer.platform.datamodel.*; +import org.eclipse.wst.ws.internal.explorer.platform.perspective.*; + +// WSDL operation node for the WSDL Navigator Tree View +public class WSDLOperationNode extends WSDLNavigatorNode +{ + public WSDLOperationNode(TreeElement element,NodeManager nodeManager,int nodeDepth) + { + super(element,nodeManager,nodeDepth,"wsdl/images/wsdl_operation_node.gif"); + element.addListener(new ElementAdapter() + { + public void relAdded(RelAddEvent event) + { + } + + public void relRemoved(RelRemoveEvent event) + { + } + }); + } + + protected final void initTools() + { + Controller controller = nodeManager_.getController(); + WSDLPerspective wsdlPerspective = controller.getWSDLPerspective(); + new InvokeWSDLOperationTool(toolManager_, wsdlPerspective.getMessage("ALT_INVOKE_WSDL_OPERATION")); + } + +} |