Package com.subgraph.vega.api.console

Examples of com.subgraph.vega.api.console.IConsole


  private ConsoleNotifyLevel notifyLevel = ConsoleNotifyLevel.NOTIFY_OFF;

  public void createPartControl(Composite parent) {
    super.createPartControl(parent);
    final IConsole console = Activator.getDefault().getConsole();
    if(console != null) {
      console.addConsoleOutputListener(this);
    }
    partListener = createPartListener();
    getSite().getPage().addPartListener(partListener);
  }
View Full Code Here


    };
  }

  @Override
  public void dispose() {
    final IConsole console = Activator.getDefault().getConsole();
    if(console != null) {
      console.removeConsoleOutputListener(this);
    }
    getSite().getPage().removePartListener(partListener);
    imageCache.dispose();
    super.dispose();
  }
View Full Code Here

    }
  }
  private void setupLogging() {
    Logger rootLogger = Logger.getLogger("");

    IConsole console = Activator.getDefault().getConsole();
    if(console != null) {
      Handler handler = new LogHandler(console);
      handler.setFormatter(new LogFormatter());
      handler.setLevel(Level.FINEST);
      for(Handler h: rootLogger.getHandlers())
View Full Code Here

TOP

Related Classes of com.subgraph.vega.api.console.IConsole

Copyright © 2018 www.massapicom. 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.