Examples of Console


Examples of com.aicontest.visualizer.js.dom.Console

    Object image = new NativeJavaClass(global, HTMLImageElement.class);
    global.put("Image", global, image);
    Object xmlHttpRequest = new NativeJavaClass(global,
        XMLHttpRequest.class);
    global.put("XMLHttpRequest", global, xmlHttpRequest);
    new Console(global, "console");
    new Navigator(global, "navigator");
    jsonParser = new JsonParser(cx, global);
    String[] names = { "alert", "prompt", "confirm" };
    global.defineFunctionProperties(names, WebWrapper.class,
        ScriptableObject.DONTENUM);
View Full Code Here

Examples of com.atlauncher.gui.components.Console

        this.meta = meta;
    }

    public void post(LogEventWriter writer) {
        if ((this.meta & CONSOLE) == CONSOLE) {
            Console c = App.settings.getConsole().console;
            c.setColor(this.type.color()).setBold(true).write("[" + Timestamper.now() + "] ");
            c.setColor(App.THEME.getConsoleTextColor()).setBold(false).write(this.body);
        }
        if ((this.meta & FILE) == FILE) {
            try {
                writer.write(this);
            } catch (IOException e) {
View Full Code Here

Examples of com.atomikos.diagnostics.Console

    // }

    private void printMsg ( String msg , int level )
    {
        try {
            Console console = Configuration.getConsole ();
            if ( console != null ) {
                console.println ( msg, level );
            }
        } catch ( Exception ignore ) {
        }
    }
View Full Code Here

Examples of com.cisco.surf.Console

                                 .createProcessDefinitionQuery()
                                 .deploymentId(d.getId())
                                 .singleResult();

        Map<String,Object> varMap = new HashMap<String,Object>();
        varMap.put("console",new Console());

        ProcessInstance proc = rtSvc.startProcessInstanceById(pDef.getId(),varMap);
       
        String procId = proc.getId();
        System.out.println("procId="+procId);
View Full Code Here

Examples of com.cxy.redisclient.presentation.console.Console

  private void console() {
    int id = (Integer) itemsSelected[0].getData(NODE_ID);

    if(!openConsole.isOpen(id)){
      final Console console = new Console(tabFolder_1, id);
      CTabItem  tabItem = console.init();
      openConsole.add(console);
     
      tabItem.addDisposeListener(new DisposeListener() {
        public void widgetDisposed(DisposeEvent e) {
          openConsole.remove(console);
View Full Code Here

Examples of com.github.jknack.antlr4ide.console.Console

    IPath fileFullPath = createMock(IPath.class);
    ILaunchConfigurationType configType = createMock(ILaunchConfigurationType.class);
    CodeGeneratorListener listener = createMock(CodeGeneratorListener.class);
    Set<CodeGeneratorListener> listeners = newHashSet(listener);
    ToolRunner toolRunner = createMock(ToolRunner.class);
    Console console = createMock(Console.class);

    expect(grammarResource.fileFrom(resource)).andReturn(file);

    expect(optionsProvider.options(file)).andReturn(options);
View Full Code Here

Examples of com.grits.util.Console

    }
    public void parseConsole(String line)
    {
        if(line.equals("==="))
        {
            c = new Console(this);
        }
    }
View Full Code Here

Examples of com.ib.client.examples.util.Console

    public Example4() {
       
    }

    public static void main(String[] args) {
         Console thisConole = new Console();
         new Example4().start();
    }
View Full Code Here

Examples of com.itextpdf.rups.view.Console

   */
  public RupsController(Dimension dimension) {
    // creating components and controllers
        menuBar = new RupsMenuBar(this);
        addObserver(menuBar);
    Console console = Console.getInstance();
    addObserver(console);
    readerController = new PdfReaderController(this, this);
    addObserver(readerController);

        // creating the master component
    masterComponent = new JSplitPane();
    masterComponent.setOrientation(JSplitPane.VERTICAL_SPLIT);
    masterComponent.setDividerLocation((int)(dimension.getHeight() * .70));
    masterComponent.setDividerSize(2);
   
    JSplitPane content = new JSplitPane();
    masterComponent.add(content, JSplitPane.TOP);
    JSplitPane info = new JSplitPane();
    masterComponent.add(info, JSplitPane.BOTTOM);
   
    content.setOrientation(JSplitPane.HORIZONTAL_SPLIT);
    content.setDividerLocation((int)(dimension.getWidth() * .6));
    content.setDividerSize(1);
        content.add(new JScrollPane(readerController.getPdfTree()), JSplitPane.LEFT);
    content.add(readerController.getNavigationTabs(), JSplitPane.RIGHT);
       
    info.setDividerLocation((int) (dimension.getWidth() * .3));
    info.setDividerSize(1);
    info.add(readerController.getObjectPanel(), JSplitPane.LEFT);
    JTabbedPane editorPane = readerController.getEditorTabs();
    JScrollPane cons = new JScrollPane(console.getTextArea());
    editorPane.addTab("Console", null, cons, "Console window (System.out/System.err)");
    editorPane.setSelectedComponent(cons);
    info.add(editorPane, JSplitPane.RIGHT);
   
  }
View Full Code Here

Examples of com.lowagie.rups.view.Console

   */
  public RupsController(Dimension dimension) {
    // creating components and controllers
        menuBar = new RupsMenuBar(this);
        addObserver(menuBar);
    Console console = Console.getInstance();
    addObserver(console);
    renderer = new PdfRendererController(this);
    addObserver(renderer);
    reader = new PdfReaderController(this, this);
    addObserver(reader);

        // creating the master component
    masterComponent = new JSplitPane();
    masterComponent.setOrientation(JSplitPane.VERTICAL_SPLIT);
    masterComponent.setDividerLocation((int)(dimension.getHeight() * .70));
    masterComponent.setDividerSize(2);
   
    JSplitPane content = new JSplitPane();
    masterComponent.add(content, JSplitPane.TOP);
    JSplitPane info = new JSplitPane();
    masterComponent.add(info, JSplitPane.BOTTOM);
   
    content.setOrientation(JSplitPane.HORIZONTAL_SPLIT);
    content.setDividerLocation((int)(dimension.getWidth() * .75));
    content.setDividerSize(1);
   
    JSplitPane viewers = new JSplitPane();
        content.add(viewers, JSplitPane.LEFT);
    content.add(reader.getNavigationTabs(), JSplitPane.RIGHT);

    viewers.setOrientation(JSplitPane.HORIZONTAL_SPLIT);
    viewers.setDividerLocation((int)(dimension.getWidth() * .35));
    viewers.setDividerSize(1);
    viewers.add(renderer, JSplitPane.RIGHT);
    viewers.add(RupsController.getScrollPane(reader.getPdfTree()), JSplitPane.LEFT);
       
    info.setDividerLocation((int) (dimension.getWidth() * .3));
    info.setDividerSize(1);
    info.add(reader.getObjectPanel(), JSplitPane.LEFT);
    JTabbedPane editorPane = reader.getEditorTabs();
    JScrollPane cons = RupsController.getScrollPane(console.getTextArea());
    editorPane.addTab("Console", null, cons, "Console window (System.out/System.err)");
    editorPane.setSelectedComponent(cons);
    info.add(editorPane, JSplitPane.RIGHT);
   
  }
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.