org.eclipse.pde.internal.ui.PDEPlugin Java Examples

The following examples show how to use org.eclipse.pde.internal.ui.PDEPlugin. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ReportAdvancedLauncherTab.java    From birt with Eclipse Public License 1.0 6 votes vote down vote up
public void initializeFrom( ILaunchConfiguration config )
{
	try
	{
		if ( fPluginTreeViewer.getInput( ) == null )
		{
			fPluginTreeViewer.setUseHashlookup( true );
			fPluginTreeViewer.setInput( PDEPlugin.getDefault( ) );
			fPluginTreeViewer.reveal( fWorkspacePlugins );
		}
		initWorkspacePluginsState( config );
		initExternalPluginsState( config );
	}
	catch ( CoreException e )
	{
		PDEPlugin.logException( e );
	}
	adjustCustomControlEnableState( true );
	updateStatus( );
}
 
Example #2
Source File: ReportAdvancedLauncherTab.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * @param showFeatures
 */
public ReportAdvancedLauncherTab( boolean showFeatures )
{
	fNumExternalChecked = 0;
	fNumWorkspaceChecked = 0;
	fShowFeatures = showFeatures;
	PDEPlugin.getDefault( ).getLabelProvider( ).connect( this );
	fImage = PDEPluginImages.DESC_REQ_PLUGINS_OBJ.createImage( );
	fWorkspaceBIRTModels = getInterestProject( REPORTPROJECTKID );
	fWorkspaceJavaModels = getInterestProject( JavaCore.NATURE_ID );
}
 
Example #3
Source File: ReportAdvancedLauncherTab.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public static IStatus createStatus( int severity, String message )
{
	return new Status( severity,
			PDEPlugin.getPluginId( ),
			severity,
			message,
			null );
}
 
Example #4
Source File: ReportAdvancedLauncherTab.java    From birt with Eclipse Public License 1.0 4 votes vote down vote up
public void dispose( )
{
	PDEPlugin.getDefault( ).getLabelProvider( ).disconnect( this );
	fImage.dispose( );
	super.dispose( );
}