Package org.evolizer.daforjava.commands.selection

Examples of org.evolizer.daforjava.commands.selection.AbstractSelectionStrategy


    /**
     * Default strategy when undoing a filter command - select added nodes and edges.
     */
    @Override
    protected void initUndoSelectionStrategy() {
        AbstractSelectionStrategy preLayoutSelection = new SelectEditedEntities(this);
        preLayoutSelection.initSelection();
        setPreLayoutSelectionStrategy(preLayoutSelection);

        setPostLayoutSelectionStrategy(new NopSelectionStrategy(this));
    }
View Full Code Here


    /**
     * {@inheritDoc}
     */
    @Override
    protected void initUndoSelectionStrategy() {
        AbstractSelectionStrategy preLayoutSelection = new SelectEditedEntities(this);
        preLayoutSelection.initSelection();
        setPreLayoutSelectionStrategy(preLayoutSelection);

        AbstractSelectionStrategy postLayoutSelection = new SelectNodes(this, fSelectedNodes);
        postLayoutSelection.initSelection();
        setPostLayoutSelectionStrategy(postLayoutSelection);
    }
View Full Code Here

TOP

Related Classes of org.evolizer.daforjava.commands.selection.AbstractSelectionStrategy

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.