Examples of addWorkbenchListener()


Examples of org.eclipse.ui.IWorkbench.addWorkbenchListener()

    this(interfacePath, project);
    this.repository = repository;
    this.workspace = workspace;
    this.workspacePassword = workspacePassword;
    IWorkbench workBench = PlatformUI.getWorkbench();
    workBench.addWorkbenchListener(new IWorkbenchListener() {
     
      @Override
      public boolean preShutdown(IWorkbench workBench, boolean forced) {
        try {
          closeWorkspace();
View Full Code Here

Examples of org.eclipse.ui.IWorkbench.addWorkbenchListener()

    this.name = pipe_name;
    this.initialized = this.init(this.name) == 0;
    this.connected = false;
    this.stop = false;
    IWorkbench w = PipeActivator.getDefault().getWorkbench();
    w.addWorkbenchListener(this);
  }
 
  @Override
  public void run() {
    System.out.println("Running XVRPipe");
View Full Code Here

Examples of org.eclipse.ui.IWorkbench.addWorkbenchListener()

    bundleContext = context;

    checkRutaInterpreter();

    IWorkbench workbench = PlatformUI.getWorkbench();
    workbench.addWorkbenchListener(new IWorkbenchListener() {
      public boolean preShutdown(IWorkbench workbench, boolean forced) {
        // close all CAS Editors if on is focused when exiting Eclipse
        final IWorkbenchPage activePage = workbench.getActiveWorkbenchWindow().getActivePage();
        IEditorPart activeEditor = activePage.getActiveEditor();
        if (activeEditor != null
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.