components/studio-platform/plugins/org.wso2.integrationstudio.templates.dashboard/src/org/wso2/integrationstudio/templates/dashboard/handlers/PlatformEarlyStartUpHandler.java
/**
     * This method will open getting started page at workbench startup.
     * When using this method we need to remove default intro from
     * rcp-product/plugin_customization.ini with org.eclipse.ui/showIntro = false parameter.
     */
This method will open getting started page at workbench startup.
When using this method we need to remove default intro from
rcp-product/plugin_customization.ini with org.eclipse.ui/showIntro = false parameter.
This method will open getting started page at workbench startup . When using this method we need to remove default intro from rcp - product / plugin_customization . ini with org . eclipse . ui / showIntro = false parameter .
private void openGettingStartedPage() {
		if (JSEmbeddedFunctions.getDisableWelcomePrameterValue().equals("false")) {
			PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
				@Override
				public void run() {
					IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
					try {
						PlatformUI.getWorkbench().showPerspective(FunctionServerConstants.WELCOME_PERSPECTIVE_ID,
								PlatformUI.getWorkbench().getActiveWorkbenchWindow());
						page.openEditor(new GettingStartedEditorInput(),
								FunctionServerConstants.TEMPLATE_DASHBOARD_EDITOR_ID, false);
					} catch (WorkbenchException e) {
						MessageDialog.openError(PlatformUI.getWorkbench().getDisplay().getActiveShell(),
								"Could not open Getting started page", e.getMessage());
					}
				}
			});
		}
    }
private void openGettingStartedPage ( ) { if ( JSEmbeddedFunctions . getDisableWelcomePrameterValue ( ) . equals ( "false" ) ) { PlatformUI . getWorkbench ( ) . getDisplay ( ) . asyncExec ( new Runnable ( ) { @ Override public void run ( ) { IWorkbenchPage page = PlatformUI . getWorkbench ( ) . getActiveWorkbenchWindow ( ) . getActivePage ( ) ; try { PlatformUI . getWorkbench ( ) . showPerspective ( FunctionServerConstants . WELCOME_PERSPECTIVE_ID , PlatformUI . getWorkbench ( ) . getActiveWorkbenchWindow ( ) ) ; page . openEditor ( new GettingStartedEditorInput ( ) , FunctionServerConstants . TEMPLATE_DASHBOARD_EDITOR_ID , false ) ; } catch ( WorkbenchException e ) { MessageDialog . openError ( PlatformUI . getWorkbench ( ) . getDisplay ( ) . getActiveShell ( ) , "Could not open Getting started page" , e . getMessage ( ) ) ; } } } ) ; } }
This method will open getting started page at workbench startup.
This method will open getting started page at workbench startup .