Examples of TreeView


Examples of org.apache.tapestry.contrib.tree.components.TreeView

    /**
     * @see org.apache.tapestry.contrib.tree.components.ITreeComponent#resetState()
     */
    public void resetState()
    {
        TreeView objTreeView = (TreeView) getComponent("treeView");
        objTreeView.resetState();
    }
View Full Code Here

Examples of org.apache.tapestry.contrib.tree.components.TreeView

    /**
     * @see org.apache.tapestry.workbench.tree.examples.ISelectedFolderSource#getSelectedFolder()
     */
    public Collection getSelectedFolderChildren()
    {
        TreeView objTreeView = (TreeView) getComponent("treeView");
        ITreeStateModel objTreeStateModel = objTreeView.getTreeModel().getTreeStateModel();
        Object objSelectedNodeUID = objTreeStateModel.getSelectedNode();
        ITreeNode objSelectedNode = null;
        if (objSelectedNodeUID != null)
            objSelectedNode = (ITreeNode) getTreeModel().getTreeDataModel().getObject(
                    objSelectedNodeUID);
View Full Code Here

Examples of org.apache.tapestry.contrib.tree.components.TreeView

    /**
     * @see org.apache.tapestry.workbench.tree.examples.ISelectedFolderSource#getSelectedNodeName()
     */
    public String getSelectedNodeName()
    {
        TreeView objTreeView = (TreeView) getComponent("treeView");
        ITreeStateModel objTreeStateModel = objTreeView.getTreeModel().getTreeStateModel();
        Object objSelectedNodeUID = objTreeStateModel.getSelectedNode();
        ITreeNode objSelectedNode = null;
        if (objSelectedNodeUID != null)
            objSelectedNode = (ITreeNode) getTreeModel().getTreeDataModel().getObject(
                    objSelectedNodeUID);
View Full Code Here

Examples of org.apache.tapestry.contrib.tree.components.TreeView

  /**
   * @see org.apache.tapestry.contrib.tree.components.ITreeComponent#resetState()
   */
  public void resetState() {
    TreeView objTreeView = (TreeView)getComponent("treeView");
    objTreeView.resetState();
  }
View Full Code Here

Examples of org.apache.tapestry.contrib.tree.components.TreeView

    /**
     * @see org.apache.tapestry.workbench.tree.examples.ISelectedFolderSource#getSelectedFolder()
     */
    public Collection getSelectedFolderChildren()
    {
        TreeView objTreeView = (TreeView) getComponent("treeView");
        ITreeStateModel objTreeStateModel = objTreeView.getTreeModel().getTreeStateModel();
        Object objSelectedNodeUID = objTreeStateModel.getSelectedNode();
        ITreeNode objSelectedNode = null;
        if (objSelectedNodeUID != null)
            objSelectedNode = (ITreeNode) getTreeModel().getTreeDataModel().getObject(
                    objSelectedNodeUID);
View Full Code Here

Examples of org.apache.tapestry.contrib.tree.components.TreeView

    /**
     * @see org.apache.tapestry.workbench.tree.examples.ISelectedFolderSource#getSelectedNodeName()
     */
    public String getSelectedNodeName()
    {
        TreeView objTreeView = (TreeView) getComponent("treeView");
        ITreeStateModel objTreeStateModel = objTreeView.getTreeModel().getTreeStateModel();
        Object objSelectedNodeUID = objTreeStateModel.getSelectedNode();
        ITreeNode objSelectedNode = null;
        if (objSelectedNodeUID != null)
            objSelectedNode = (ITreeNode) getTreeModel().getTreeDataModel().getObject(
                    objSelectedNodeUID);
View Full Code Here

Examples of org.apache.tapestry.contrib.tree.components.TreeView

    }
  /**
   * @see org.apache.tapestry.workbench.tree.examples.ISelectedFolderSource#getSelectedFolder()
   */
  public Collection getSelectedFolderChildren() {
    TreeView objTreeView = (TreeView)getComponent("treeView");
    ITreeStateModel objTreeStateModel = objTreeView.getTreeModel().getTreeStateModel();
    Object objSelectedNodeUID = objTreeStateModel.getSelectedNode();
    ITreeNode objSelectedNode = null;
    if(objSelectedNodeUID != null)
      objSelectedNode = (ITreeNode)getTreeModel().getTreeDataModel().getObject(objSelectedNodeUID);
    else{
View Full Code Here

Examples of org.apache.tapestry.contrib.tree.components.TreeView

 
  /**
   * @see org.apache.tapestry.workbench.tree.examples.ISelectedFolderSource#getSelectedNodeName()
   */
  public String getSelectedNodeName() {
    TreeView objTreeView = (TreeView)getComponent("treeView");
    ITreeStateModel objTreeStateModel = objTreeView.getTreeModel().getTreeStateModel();
    Object objSelectedNodeUID = objTreeStateModel.getSelectedNode();
    ITreeNode objSelectedNode = null;
    if(objSelectedNodeUID != null)
      objSelectedNode = (ITreeNode)getTreeModel().getTreeDataModel().getObject(objSelectedNodeUID);
    else{
View Full Code Here

Examples of org.freeplane.plugin.workspace.components.TreeView

   
  }

  private TreeView getWorkspaceView() {
    if (this.view == null) {
      this.view = new TreeView();
      this.view.setMinimumSize(new Dimension(100, 40));
      this.view.setPreferredSize(new Dimension(150, 40));
      this.view.addProjectSelectionListener(getProjectSelectionListener());
      getModel();
    }
View Full Code Here

Examples of org.gnome.gtk.TreeView

                ex.printStackTrace();
            }
        }
        else if(userData.equals("remove"))
        {
            TreeView tree = (TreeView)mainGlade.getWidget("treeview");

            TreePath[] rows = tree.getSelection().getSelectedRows();
            for(TreePath tp : rows)
            {
                TreeIter row = model.getIter(tp);
                Download d = (Download)model.getValue(row, download);
                d.removeTempFolder();
                model.removeRow(row);
            }
        }
        else if(userData.equals("pause"))
        {
            TreeView tree = (TreeView)mainGlade.getWidget("treeview");

            TreePath[] rows = tree.getSelection().getSelectedRows();
            for(TreePath tp : rows)
            {
                TreeIter row = model.getIter(tp);
                Download d = (Download)model.getValue(row, download);
                d.pause();
            }
        }
        else if(userData.equals("resume"))
        {
            TreeView tree = (TreeView)mainGlade.getWidget("treeview");

            TreePath[] rows = tree.getSelection().getSelectedRows();
            for(TreePath tp : rows)
            {
                TreeIter row = model.getIter(tp);
                Download d = (Download)model.getValue(row, download);
                d.resume();
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.