Example #1
0
  /** Do final stage of plugin start: activate services, listeners, etc. */
  protected void doCustomStart_finalStage() {
    operationsListener = createOperationsConsoleListener();
    if (operationsListener != null) {
      LangCore.getToolManager().addListener(operationsListener);
    }

    LangCore.getInstance().initializeAfterUIStart();

    new InitializeAfterLoadJob(this).schedule();
  }
Example #2
0
  @Override
  public void stop(BundleContext context) throws Exception {
    if (operationsListener != null) {
      LangCore.getToolManager().removeListener(operationsListener);
    }

    doCustomStop(context);
    super.stop(context);
    pluginInstance = null;
  }