Package org.latexlab.docs.client.widgets

Examples of org.latexlab.docs.client.widgets.ExplorerTree$StarHandler


     */
    private void showExplorerView() {
    if (entries == null) {
      return;
    }
      ExplorerTree tree = new ExplorerTree(false, false, false, new StarHandler(){
      @Override
      public void onStar(String id) {
        CommandEvent.fire(new SystemStarDocumentCommand(id));
      }
      @Override
      public void onUnstar(String id) {
        CommandEvent.fire(new SystemUnstarDocumentCommand(id));
      }
      });
      tree.setEntries(entries);
      documentsPanel = new ScrollPanel(tree);
      rightPanel.add(documentsPanel);
      resize();
    }
View Full Code Here


  /**
   * Builds the form.
   */
  private void buildForm() {
      scroll = new ScrollPanel();
    tree = new ExplorerTree(true, false, true, null);
    tree.setSize("100%", "100%");
    tree.setExcludedOpen(true);
    tree.addSelectionHandler(new SelectionHandler<TreeItem>() {
        @Override
      public void onSelection(SelectionEvent<TreeItem> event) {
View Full Code Here

      panel = new VerticalPanel();
      panel.setWidth("400px");
      panel.setVerticalAlignment(VerticalPanel.ALIGN_TOP);
      initWidget(panel);
      scroll = new ScrollPanel();
    tree = new ExplorerTree(true, true, true, null);
    tree.setSize("100%", "100%");
    tree.setExcludedOpen(true);
    scroll.add(tree);
    ok = new Button("OK", new ClickHandler(){
      public void onClick(ClickEvent event) {
View Full Code Here

TOP

Related Classes of org.latexlab.docs.client.widgets.ExplorerTree$StarHandler

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.