Display.getDefault( ).asyncExec( new Runnable( ) {  public void run( ) { int openCount = 0; try { String value = System.getProperty( "user.openfiles" ); if ( value == null || value.length( ) == 0 ) { return; } StringTokenizer token = new StringTokenizer( value, ";" ); while ( token.hasMoreTokens( ) ) { String str = token.nextToken( ); final IFile file = ResourcesPlugin.getWorkspace( ) .getRoot( ) .getFile( new Path( str ) );  IWorkbench workbench = PlatformUI.getWorkbench( ); IWorkbenchWindow window = workbench.getActiveWorkbenchWindow( ); IWorkbenchPage page = window.getActivePage( ); IDE.openEditor( page, file, true ); openCount++; } } catch ( PartInitException e ) {   } if (openCount == 1) { FormEditor editor = getActiveReportEditor(); editor.setActivePage(ReportPreviewFormPage.ID); }  }  } );
	public void earlyStartup( )	{		WorkspaceClassPathFinder finder = new WorkspaceClassPathFinder( );		// Register a classpath finder class to the viewer		WorkspaceClasspathManager.registerClassPathFinder( finder );		// Set the classpath property (used in Java scripting)		String projectClassPaths = finder.getClassPath( );		// HashTable doesn't accept null value		if ( projectClassPaths == null )		{			projectClassPaths = ""; //$NON-NLS-1$		}		System.setProperty( WORKSPACE_CLASSPATH_KEY, projectClassPaths );		String value = System.getProperty( "user.projectname" ); //$NON-NLS-1$		if ( value == null || value.length( ) == 0 )		{			return;		}		StringTokenizer token = new StringTokenizer( value, ";" ); //$NON-NLS-1$		while ( token.hasMoreTokens( ) )		{			String str = token.nextToken( );			try			{				DebugUtil.importProject( str );			}			catch ( Exception e1 )			{				// do nothing, the project has inport to the workspace1				// e1.printStackTrace( );			}		}	}