Package org.olat.core.gui.dev.controller

Examples of org.olat.core.gui.dev.controller.SourceViewController


    customCssButton = LinkFactory.createButton("guidemo.dialog.customcss", vcMain, this);
    noCloseButton = LinkFactory.createButton("guidemo.dialog.noclose", vcMain, this);
    guimsgButton = LinkFactory.createButton("guidemo.dialog.guimsg", vcMain, this);
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), vcMain);
    vcMain.put("sourceview", sourceview.getInitialComponent());
   
    mainP = putInitialPanel(vcMain);
  }
View Full Code Here


    counterText = TextFactory.createTextComponentFromString("text.simple.counter", "I'm counting events fron this controller: 0", null, true, mainVC);
    TextFactory.createTextComponentFromString("text.span", "I'm a text in a SPAN", "b_dimmed b_border_box", true, mainVC);
    TextFactory.createTextComponentFromString("text.div", "I'm a text in a DIV", "b_warning b_border_box", false, mainVC);
   
    //add sourceview control
    Controller sourceView = new SourceViewController(ureq, wControl, this.getClass(), mainVC);
    mainVC.put("sourceview", sourceView.getInitialComponent());
   
    p = putInitialPanel(mainVC);   
  }
View Full Code Here

    chooserCtr = FileChooserUIFactory.createFileChooserController(ureq, getWindowControl(), webappRoot, filter, false);
    listenTo(chooserCtr);   
    contentVC.put("chooserCtr", chooserCtr.getInitialComponent());
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), contentVC);
    contentVC.put("sourceview", sourceview.getInitialComponent());

    putInitialPanel(contentVC);
  }
View Full Code Here

    model = new SampleTableModel();
    table.setTableDataModel(model);
    vcMain.put("table", table.getInitialComponent());
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), vcMain);
    vcMain.put("sourceview", sourceview.getInitialComponent());
   
    this.putInitialPanel(vcMain);
  }
View Full Code Here

    super(ureq, control);
    mainVC = createVelocityContainer("stepsrunnerindex");
    startLink = LinkFactory.createButton("start", mainVC, this);
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, control, this.getClass(), mainVC);
    mainVC.put("sourceview", sourceview.getInitialComponent());
   
    putInitialPanel(mainVC);
  }
View Full Code Here

    form = new GuiDemoForm("form", getTranslator(), getWindowControl());
    form.addListener(this);
    vcMain.put("form", form);
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), vcMain);
    vcMain.put("sourceview", sourceview.getInitialComponent());
   
    putInitialPanel(vcMain);
  }
View Full Code Here

    link3.setTooltip(tooltipContent, true);
    content.put("tooltipContent", tooltipContent);
    link4 = LinkFactory.createLink("link4", tooltipContent, this);
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), content);
    content.put("sourceview", sourceview.getInitialComponent());
   
    putInitialPanel(content);
  }
View Full Code Here

TOP

Related Classes of org.olat.core.gui.dev.controller.SourceViewController

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.