Java 类org.eclipse.ui.intro.IIntroManager 实例源码

项目:solidity-ide    文件:KickStartNewProjectAction.java   
@Override
public void run(IIntroSite site, Properties params) {
    WorkspaceModifyOperation op = new WorkspaceModifyOperation() {
        @Override
        protected void execute(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
            IProject project = createProject(monitor);
            createExample(project);
        }
    };
    try {
        PlatformUI.getWorkbench().getProgressService().run(true, true, op);
        final IIntroManager introManager = PlatformUI.getWorkbench().getIntroManager();
        IIntroPart part = introManager.getIntro();
        introManager.closeIntro(part);
        IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
        IDE.openEditor(page, ResourcesPlugin.getWorkspace().getRoot().getFile(new Path("hello-world/greeter.sol")));
    } catch (Exception e) {
        e.printStackTrace();
    }
}
项目:xsemantics    文件:LambdaIntegrationTest.java   
@BeforeClass
public static void closeWelcome() {
    final IIntroManager introManager = PlatformUI.getWorkbench()
            .getIntroManager();
    IIntroPart part = introManager.getIntro();
    introManager.closeIntro(part);
}
项目:gef-gwt    文件:Workbench.java   
@Override
public IIntroManager getIntroManager() {
    // TODO Auto-generated method stub
    return null;
}
项目:gef-gwt    文件:IWorkbench.java   
/**
 * Return the intro manager for this workbench.
 * 
 * @return the intro manager for this workbench. Guaranteed not to be
 *         <code>null</code>.
 * @since 3.0
 */
public IIntroManager getIntroManager();