| //------------------------------------------------------------------------------ |
| // Copyright (c) 2005, 2006 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 implementation |
| //------------------------------------------------------------------------------ |
| package org.eclipse.epf.library.ui; |
| |
| /** |
| * Interface to provide user interface for creating or opening method library. |
| * |
| * @author Phong Nguyen Le - Oct 26, 2006 |
| * @since 1.0 |
| */ |
| public interface ILibraryUIManager { |
| /** |
| * Creates a new method library with user specified information. |
| * |
| * @return |
| */ |
| boolean createNewLibrary(); |
| |
| /** |
| * Open a method library that user specified. |
| * |
| * @param lastOpen |
| * if true will try to open the method library that had been |
| * opened most recently. |
| * @return |
| * <li><code>true</code> if successful |
| * <li><code>false</code> if user cancelled or exception |
| * occured |
| */ |
| boolean openLibrary(boolean lastOpen); |
| } |