blob: 611c96efddd016f2f7530fe69151ee180eca63e5 [file] [log] [blame]
/*******************************************************************************
* 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"));
}
}