| /******************************************************************************* |
| * Copyright (c) 2014 TwelveTone LLC 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: |
| * Steven Spungin <steven@spungin.tv> - initial API and implementation, Bug 424730 |
| *******************************************************************************/ |
| |
| package org.eclipse.e4.tools.emf.ui.internal.common.resourcelocator.dialogs; |
| |
| /** |
| * An interface for a URI Dialog |
| * |
| * @author Steven Spungin |
| * |
| */ |
| public interface UriDialog { |
| |
| void setUri(String uri); |
| |
| String getUri(); |
| |
| /** |
| * See @org.eclipse.jface.dialogs.Dialog.open |
| * |
| * @return Dialog.OK if the user submitted a response. |
| */ |
| int open(); |
| } |