Examples of AbstractNode


Examples of org.jboss.dashboard.ui.config.AbstractNode

            WorkspaceNode workspaceNode = (WorkspaceNode) this.getParent().getParent();
            resourcesPropertiesHandler.setWorkspaceId(workspaceNode.getId());
            resourcesPropertiesHandler.setPanelId(null);
            resourcesPropertiesHandler.setSectionId(null);
        } else if (this.getParent().getParent() instanceof SectionNode) {
            AbstractNode parent = (AbstractNode) this.getParent();
            while (!(parent instanceof WorkspaceNode)) parent = (AbstractNode) parent.getParent();
            WorkspaceNode workspaceNode = (WorkspaceNode) parent;
            SectionNode sectionNode = (SectionNode) this.getParent().getParent();
            resourcesPropertiesHandler.setWorkspaceId(workspaceNode.getId());
            resourcesPropertiesHandler.setSectionId(Long.decode(sectionNode.getId()));
            resourcesPropertiesHandler.setPanelId(null);
        } else if (this.getParent().getParent() instanceof PanelNode) {
            AbstractNode parent = (AbstractNode) this.getParent();
            while (!(parent instanceof WorkspaceNode)) parent = (AbstractNode) parent.getParent();
            WorkspaceNode workspaceNode = (WorkspaceNode) parent;
            PanelNode panelNode = (PanelNode) this.getParent().getParent();
            resourcesPropertiesHandler.setWorkspaceId(workspaceNode.getId());
            resourcesPropertiesHandler.setSectionId(null);
            resourcesPropertiesHandler.setPanelId(panelNode.getPanelId());
View Full Code Here

Examples of org.openbp.jaspira.propertybrowser.nodes.AbstractNode

    // No node at this postion or root node selected.
    if (path == null || path.getPathCount() < 2)
      return null;

    AbstractNode treenode = (AbstractNode) path.getLastPathComponent();

    if (treenode != null)
    {
      ObjectNode odn = treenode.getObjectNode();

      if (odn != null && odn.getObject() instanceof ProcessVariable)
      {
        if (!propertyBrowser.saveObject())
          return null;
View Full Code Here

Examples of org.openide.nodes.AbstractNode

            resetExplorer();
        }
    }

    public void resetExplorer() {
        manager.setRootContext(new AbstractNode(Children.LEAF));
        ((BeanTreeView) tree).setRootVisible(false);
    }
View Full Code Here

Examples of org.rascalmpl.parser.gtd.result.AbstractNode

    }
   
    if(next.isMatchable()){ // Eager matching optimization.
      if((location + next.getLength()) > input.length) return null;
     
      AbstractNode nextResult = next.match(input, location);
      if(nextResult == null){
        // Push the node including it's predecessor to the appropriate error tracking collection (and take care of merging when necessary).
        DoubleArrayList<AbstractStackNode<P>, AbstractNode> predecessors = new DoubleArrayList<AbstractStackNode<P>, AbstractNode>();
        predecessors.add(node, result);
        unmatchableMidProductionNodes.push(predecessors, next);
View Full Code Here

Examples of org.structr.core.entity.AbstractNode

  public <T> T getProperty(PropertyKey<T> key) {

    // try local properties first
    if (contentNodes.containsKey(key.dbName())) {

      AbstractNode node = contentNodes.get(key.dbName());

      if ((node != null) && (node != this)) {

        return (T)node.getProperty(Content.content);

      }

    } else if (subTypes.contains(SchemaHelper.normalizeEntityName(key.dbName()))) {
View Full Code Here

Examples of org.woped.qualanalysis.soundness.datamodel.AbstractNode

        HashSet<AbstractNode> uncheckedCompEntries = (HashSet<AbstractNode>) component.clone();
        uncheckedCompEntries.removeAll(checkedCompEntries);
       
        while (!uncheckedCompEntries.isEmpty()) {
            // 1.Schritt
            AbstractNode node = (AbstractNode) uncheckedCompEntries.iterator().next();
            checkedCompEntries.add(node);
            // 2.Schritt
            if (PlaceNode.class == node.getClass()) {
                for (AbstractNode abstractNode : node.getPostNodes()) {
                    component.add(abstractNode);
                }
                for (AbstractNode abstractNode : node.getPreNodes()) {
                    component.add(abstractNode);
                }
            }
            // 3.Schritt
            else
                if (TransitionNode.class == node.getClass()) {
                    Set<AbstractNode> postNodes = node.getPostNodes();
                    if (postNodes.size() == 1) {
                        component.add(postNodes.iterator().next());
                    }
                    // 4.Schritt
                    if (postNodes.size() > 1) {
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.