Examples of IIntroPart


Examples of org.eclipse.ui.intro.IIntroPart

    private void closeIntro() {
        PlatformGIS.syncInDisplayThread(new Runnable(){

            public void run() {
                IIntroManager introManager = PlatformUI.getWorkbench().getIntroManager();
                IIntroPart intro = introManager.getIntro();
                if (intro != null)
                    introManager.closeIntro(intro);
            }

        });
View Full Code Here

Examples of org.eclipse.ui.intro.IIntroPart

    private void closeIntro() {
        PlatformGIS.syncInDisplayThread(new Runnable(){

            public void run() {
                IIntroManager introManager = PlatformUI.getWorkbench().getIntroManager();
                IIntroPart intro = introManager.getIntro();
                if (intro != null)
                    introManager.closeIntro(intro);
            }

        });
View Full Code Here

Examples of org.eclipse.ui.intro.IIntroPart

    private void standByWelcome() {
        PlatformGIS.syncInDisplayThread(new Runnable(){

            public void run() {
                IIntroManager introManager = PlatformUI.getWorkbench().getIntroManager();
                IIntroPart intro = introManager.getIntro();
                if (intro != null){
                    introManager.setIntroStandby(intro, true );
                }
            }
View Full Code Here

Examples of org.eclipse.ui.intro.IIntroPart

public abstract class AbstractProjectUITestCase extends AbstractProjectTestCase {

    @Before
    public void abstractProjectUITestCaseSetUp() throws Exception {
        final IIntroManager introManager = PlatformUI.getWorkbench().getIntroManager();
    IIntroPart intro = introManager.getIntro();
    if( intro!=null ){
      introManager.closeIntro(intro);
          UDIGTestUtil.inDisplayThreadWait(3000, new WaitCondition(){

        public boolean isTrue() {
View Full Code Here

Examples of org.eclipse.ui.intro.IIntroPart

    protected void showSarosView() {
        Utils.runSafeSWTSync(log, new Runnable() {
            public void run() {
                IIntroManager m = PlatformUI.getWorkbench().getIntroManager();
                IIntroPart i = m.getIntro();
                /*
                 * if there is a welcome screen, don't activate the SarosView
                 * because it would be maximized and hiding the workbench window
                 */
                if (i != null)
View Full Code Here

Examples of org.eclipse.ui.intro.IIntroPart

      workbench = PlatformUI.getWorkbench();
    } catch (IllegalStateException e) {
      return;
    }
    IIntroManager introManager = workbench.getIntroManager();
    IIntroPart intro = introManager.getIntro();
    if(intro != null && introManager.isIntroStandby(intro)){
      introManager.closeIntro(intro);
    }
  }
View Full Code Here

Examples of org.eclipse.ui.intro.IIntroPart

public class NewProjectIntroAction implements IIntroAction {

  @Override
  public void run(IIntroSite site, Properties params) {
    IIntroManager introManager = site.getWorkbenchWindow().getWorkbench().getIntroManager();
    IIntroPart introPart = introManager.getIntro();
    if (introPart != null) {
      introManager.closeIntro(introPart);
    }
    openWizard(site.getShell(), site.getWorkbenchWindow().getWorkbench(), null, "ccw.project.new.wizard");
  }
View Full Code Here

Examples of org.eclipse.ui.intro.IIntroPart

    IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();

    // if we've already been removed, this won't hurt us
    getTrimManager().removeTrim(this);

    IIntroPart intro = null;
    if (restore) {
      intro = PlatformUI.getWorkbench().getIntroManager().showIntro(window, false);
      CustomizableIntroPart cpart = (CustomizableIntroPart) intro;
      Rectangle startBounds = Geometry.toDisplay(getControl().getParent(), getControl().getBounds());
      Rectangle endBounds = Geometry.toDisplay(cpart.getControl().getParent(), cpart.getControl()
View Full Code Here

Examples of org.eclipse.ui.intro.IIntroPart

  }

  protected void executeShortcut(String url) {
    IIntroURL introURL = IntroURLFactory.createIntroURL(url);
    if (introURL != null) {
      IIntroPart intro = closeLaunchBar(true);
      if (intro == null)
        return;
      introURL.execute();
    }
  }
View Full Code Here

Examples of org.eclipse.ui.intro.IIntroPart

      introURL.execute();
    }
  }

  protected void openPage(String id) {
    IIntroPart intro = closeLaunchBar(true);
    if (intro == null)
      return;
    StringBuffer url = new StringBuffer();
    url.append(LAUNCH_COMMAND_BASE);
    url.append(id);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.