Package jease.cmf.web.node.browser

Examples of jease.cmf.web.node.browser.NodeBrowserWindow


      }
    }
  }

  private void browsePerformed() {
    final NodeBrowserWindow nodeBrowserWindow = new NodeBrowserWindow(
        (Node) content.getSelectedValue());
    nodeBrowserWindow.addCloseListener(new ActionListener() {
      public void actionPerformed(Event event) {
        if (nodeBrowserWindow.getSelectedNode() != null) {
          content.setSelectedValue(nodeBrowserWindow
              .getSelectedNode());
          contentSelected((Content) content.getSelectedValue());
        }
      }
    });
View Full Code Here


  private void browsePerformed() {
    String path = url.getValue();
    if (path.startsWith("./~")) {
      path = path.substring(3);
    }
    final NodeBrowserWindow nodeBrowserWindow = new NodeBrowserWindow(
        Nodes.getByPath(path));
    nodeBrowserWindow.setTitle(I18N.get("Browser"));
    nodeBrowserWindow.addCloseListener(new ActionListener() {
      public void actionPerformed(Event event) {
        if (nodeBrowserWindow.getSelectedNode() != null) {
          url.setText("./~"
              + nodeBrowserWindow.getSelectedNode().getPath());
        }
      }
    });
    getRoot().appendChild(nodeBrowserWindow);
  }
View Full Code Here

TOP

Related Classes of jease.cmf.web.node.browser.NodeBrowserWindow

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.