Package org.apache.isis.viewer.bdd.common

Examples of org.apache.isis.viewer.bdd.common.ScenarioCellDefault


        setupHeader(onObject, aliasResultAs, perform, usingMember, thatIt, arg0);

        final List<String> argumentCells = new ArrayList<String>();

        // capture current
        getPeer().getOnObjectBinding().captureCurrent(new ScenarioCellDefault(onObject));
        getPeer().getAliasResultAsBinding().captureCurrent(new ScenarioCellDefault(aliasResultAs));
        getPeer().getPerformBinding().captureCurrent(new ScenarioCellDefault(perform));
        getPeer().getOnMemberBinding().captureCurrent(new ScenarioCellDefault(usingMember));
        if (getPeer().getThatItBinding().isFound()) {
            getPeer().getThatItBinding().captureCurrent(new ScenarioCellDefault(thatIt));
        }
        if (getPeer().getArg0Binding().isFound()) {
            getPeer().getArg0Binding().captureCurrent(new ScenarioCellDefault(arg0));
            argumentCells.add(arg0);
        }
        for (final String arg : remainingArgs) {
            argumentCells.add(arg);
        }
View Full Code Here


    }

    private static List<ScenarioCell> asValues(final List<String> argumentCells) {
        final List<ScenarioCell> storyValues = Lists.newArrayList();
        for (final String arg : argumentCells) {
            storyValues.add(new ScenarioCellDefault(arg));
        }
        return storyValues;
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.bdd.common.ScenarioCellDefault

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.