| /******************************************************************************* |
| * Copyright (c) 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.jst.ws.internal.consumption.ui.widgets.object; |
| |
| import org.eclipse.core.resources.IProject; |
| import org.eclipse.jface.viewers.IStructuredSelection; |
| import org.eclipse.wst.command.env.core.common.Status; |
| import org.eclipse.wst.command.env.ui.widgets.WidgetDataContributor; |
| |
| |
| public interface IObjectSelectionWidget extends WidgetDataContributor |
| { |
| public void setInitialSelection(IStructuredSelection initialSelection); |
| public IStructuredSelection getObjectSelection(); |
| public Status validateSelection(IStructuredSelection objectSelection); |
| public IProject getProject(); |
| } |