String filePath = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getFileName( ); String fileName = filePath.substring( filePath.lastIndexOf( File.separator ) + 1 );  PublishLibraryWizard publishLibrary = new PublishLibraryWizard( (LibraryHandle) SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ), fileName, ReportPlugin.getDefault( ).getResourcePreference( ) );  WizardDialog dialog = new WizardDialog( UIUtil.getDefaultShell( ), publishLibrary );  dialog.setPageSize( 500, 250 ); dialog.open( );
	public void run( IAction action )	{		if(isEnable() == true)		{			publishiLibrary();		}	}