Examples of Active


Examples of com.palepail.TestGame.Actions.Active

    sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, -2 * Configuration.gameScale),
        100000));
    sequentialScript.add(new Wait(this, 50));
    sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 4 * Configuration.gameScale), 3));
    sequentialScript.add(new Wait(this, 20));
    sequentialScript.add(new Active(this, true));
  }
View Full Code Here

Examples of com.sleepycat.je.TransactionStats.Active

    @Override
    public void clear() {
        if (array != null && array.length > 0) {
            for (int i = 0; i < array.length; i++) {
                array[i] = new Active(array[i].getName(), 0, 0);
            }
        }
    }
View Full Code Here

Examples of com.sleepycat.je.TransactionStats.Active

    @Override
    public void clear() {
        if (array != null && array.length > 0) {
            for (int i = 0; i < array.length; i++) {
                array[i] = new Active(array[i].getName(), 0, 0);
            }
        }
    }
View Full Code Here

Examples of org.apache.ftpserver.DefaultDataConnectionConfiguration.Active

                }
            }
           
            Element activeElm = SpringUtil.getChildElement(element, FtpServerNamespaceHandler.FTPSERVER_NS, "active");
            if(activeElm != null) {
                Active active = new Active();
                active.setEnable(SpringUtil.parseBoolean(activeElm, "enabled", true));
                active.setIpCheck(SpringUtil.parseBoolean(activeElm, "ip-check", false));
                active.setLocalPort(SpringUtil.parseInt(activeElm, "local-port", 0));
               
                InetAddress localAddress = SpringUtil.parseInetAddress(activeElm, "local-address");
                if(localAddress != null) {
                    active.setLocalAddress(localAddress);
                }
               
                dc.setActive(active);
            }
           
View Full Code Here

Examples of org.apache.ftpserver.DefaultDataConnectionConfiguration.Active

            }

            Element activeElm = SpringUtil.getChildElement(element,
                    FtpServerNamespaceHandler.FTPSERVER_NS, "active");
            if (activeElm != null) {
                Active active = new Active();
                active.setEnable(SpringUtil.parseBoolean(activeElm, "enabled",
                        true));
                active.setIpCheck(SpringUtil.parseBoolean(activeElm,
                        "ip-check", false));
                active.setLocalPort(SpringUtil.parseInt(activeElm,
                        "local-port", 0));

                InetAddress localAddress = SpringUtil.parseInetAddress(
                        activeElm, "local-address");
                if (localAddress != null) {
                    active.setLocalAddress(localAddress);
                }

                dc.setActive(active);
            }
View Full Code Here

Examples of org.jbpm.ui.common.model.Active

        return null;
    }

    @Override
    protected Command createAddCommand(EditPart child, EditPart after) {
        Active newTarget = (Active) getHost().getModel();
        if (child instanceof ActionGraphicalEditPart) {
            ActionGraphicalEditPart actionEditPart = (ActionGraphicalEditPart) child;
            int newIndex = getHost().getChildren().indexOf(after);
            return new MoveActionCommand(newTarget, (Action) actionEditPart.getModel(), newIndex);
        }
View Full Code Here

Examples of org.jbpm.ui.common.model.Active

            }
            int actionIndex = marker.getAttribute(PluginConstants.ACTION_INDEX_KEY, -1);
            if (actionIndex != -1) {
                String parentTreePath = marker.getAttribute(PluginConstants.PARENT_NODE_KEY, null);
                String[] paths = parentTreePath.split("\\|", -1);
                Active active;
                if (paths.length == 1) {
                    active = (Active) findElement(designerEditor.getDefinition(), NamedGraphElement.class, paths[0]);
                } else if (paths.length == 2) {
                    Node node = (Node) findElement(designerEditor.getDefinition(), Node.class, paths[0]);
                    active = node.getTransitionByName(paths[1]);
                } else {
                    throw new RuntimeException("Invalid tree path: " + parentTreePath);
                }
                List<? extends Action> activeActions = active.getActions();
                graphElement = activeActions.get(actionIndex);
            }

            if (graphElement != null) {
                designerEditor.select(graphElement);
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.