Examples of Perform


Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.Perform

    public Perform validatePerform() throws ScenarioBoundValueException {
        final String perform = performBinding.getCurrentCell().getText();
        if (perform == null) {
            throw ScenarioBoundValueException.current(performBinding, "(required)");
        }
        final Perform performCommand = commandByKey.get(perform);
        if (performCommand == null) {
            throw ScenarioBoundValueException.current(performBinding, "(unknown interaction)");
        }
        return performCommand;
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.Perform

    private void execute(final List<String> argumentCells) throws ScenarioBoundValueException {

        final ObjectAdapter onAdapter = getPeer().validateOnObject();
        final String aliasAs = getPeer().validateAliasAs();
        final Perform performCommand = getPeer().validatePerform();

        ObjectMember objectMember = null;
        if (performCommand.requiresMember()) {
            objectMember = getPeer().validateOnMember(onAdapter);
        }

        getPeer().performCommand(onAdapter, aliasAs, objectMember, performCommand, asValues(argumentCells));
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.Perform

    public Perform validatePerform() throws ScenarioBoundValueException {
        final String perform = performBinding.getCurrentCell().getText();
        if (perform == null) {
            throw ScenarioBoundValueException.current(performBinding, "(required)");
        }
        final Perform performCommand = commandByKey.get(perform);
        if (performCommand == null) {
            throw ScenarioBoundValueException.current(performBinding, "(unknown interaction)");
        }
        return performCommand;
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.Perform

    private void execute(final List<String> argumentCells) throws ScenarioBoundValueException {

        final ObjectAdapter onAdapter = getPeer().validateOnObject();
        final String aliasAs = getPeer().validateAliasAs();
        final Perform performCommand = getPeer().validatePerform();

        ObjectMember objectMember = null;
        if (performCommand.requiresMember()) {
            objectMember = getPeer().validateOnMember(onAdapter);
        }

        getPeer().performCommand(onAdapter, aliasAs, objectMember, performCommand, asValues(argumentCells));
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.Perform

    public Perform validatePerform() throws ScenarioBoundValueException {
        final String perform = performBinding.getCurrentCell().getText();
        if (perform == null) {
            throw ScenarioBoundValueException.current(performBinding, "(required)");
        }
        final Perform performCommand = commandByKey.get(perform);
        if (performCommand == null) {
            throw ScenarioBoundValueException.current(performBinding, "(unknown interaction)");
        }
        return performCommand;
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.Perform

    private void execute(final List<String> argumentCells) throws ScenarioBoundValueException {

        final ObjectAdapter onAdapter = getPeer().validateOnObject();
        final String aliasAs = getPeer().validateAliasAs();
        final Perform performCommand = getPeer().validatePerform();

        ObjectMember objectMember = null;
        if (performCommand.requiresMember()) {
            objectMember = getPeer().validateOnMember(onAdapter);
        }

        getPeer().performCommand(onAdapter, aliasAs, objectMember, performCommand, asValues(argumentCells));
    }
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.