Bug 119331 Library - name space terminology and behavior
During BIRT 2.0 library feature review meeting the following change was decided. - Change the term namespace to 'prefix' - By default use the library name as the prefix ( namespace ); the dialog to input prefix should be prompted only if hte auto generated prefix is not unique.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/actions/ImportLibraryAction.java
import org.eclipse.birt.report.designer.internal.ui.util.ExceptionHandler;
import org.eclipse.birt.report.designer.internal.ui.util.UIUtil;
import org.eclipse.birt.report.designer.internal.ui.views.ILibraryProvider;
import org.eclipse.birt.report.designer.nls.Messages;
import org.eclipse.birt.report.designer.ui.ReportPlugin;
import org.eclipse.birt.report.model.api.LibraryHandle;
import org.eclipse.birt.report.model.api.ModuleHandle;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.FileDialog;
import org.eclipse.ui.IEditorPart;
/**
 * The action used to add library to a report design
 */
public class ImportLibraryAction extends Action
{
	public static final String ID = "UseLibraryAction"; 
	public static final String ACTION_TEXT = Messages.getString( "UseLibraryAction.Text" ); 
	private static final String MSG_DIALOG_TITLE = Messages.getString( "ImportLibraryAction.Title.ImportSuccessfully" ); 
	private static final String MSG_DIALOG_MSG = Messages.getString( "ImportLibraryAction.Message.ImportSuccessfully" ); 
	public ImportLibraryAction( )
	{
		setText( ACTION_TEXT ); 
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.action.Action#isEnabled()
	 */
	public boolean isEnabled( )
	{