Package org.evolizer.daforjava.commands

Examples of org.evolizer.daforjava.commands.EditResult


        List<? extends FamixAssociation> allAssociations = getSnapshotAnalyzer().getAssociationsBetweenParentEntities(entities, associationType);
        List<AbstractFamixEntity> newEntities = getListOfNotContainedEntities(allAssociations);
        List<AbstractFamixEntity> addedEntities = addEntitiesAndParents(newEntities, false);
        List<FamixAssociation> addedAssociations = addAssociations(allAssociations);

        return new EditResult(addedEntities, addedAssociations);
    }
View Full Code Here


        List<FamixAssociation> associationsToOtherEntities = getAssociationsToOtherGraphEntities(involvedEntites, null);
        associations.addAll(associationsToOtherEntities);

        List<FamixAssociation> addedAssociations = addAssociations(associations);

        return new EditResult(addedEntities, addedAssociations);
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public void execute() {
        setEditResult(new EditResult());
        if (!fSelection.isEmpty()) {
            fireGraphPreEvent();

            initExecutionSelectionStrategy();

View Full Code Here

    /**
     * {@inheritDoc}
     */
    public void execute() {
        setEditResult(new EditResult());
        fireGraphPreEvent();

        for (NodeCursor nc = getGraphLoader().getGraph().nodes(); nc.ok(); nc.next()) {
            getEdgeGrouper().reinsertLowLevelEdges(nc.node());
        }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public void execute() {
        setEditResult(new EditResult());

        Set<AbstractFamixEntity> entitiesToRemove = getEntitiesToRemove();
        if (!entitiesToRemove.isEmpty()) {
            fireGraphPreEvent();

View Full Code Here

    /**
     * {@inheritDoc}
     */
    public void execute() {
        setEditResult(new EditResult());

        Graph2D rootGraph = (Graph2D) getGraphLoader().getHierarchyManager().getRootGraph();
        NodeRealizer nr = rootGraph.getRealizer(fSelectedNode);
        if (nr instanceof GroupNodeRealizer) {
            fireGraphPreEvent();
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public void execute() {
        setEditResult(new EditResult());
        List<AbstractFamixEntity> entities = getGraphLoader().getGraph().getFamixEntities(fSelectedNodes);

        if (!entities.isEmpty()) {
            Set<AbstractFamixEntity> entitiesToRemove = getEntitiesToRemove();
            Set<FamixAssociation> associationsToRemove = getAssociationsToRemove();
View Full Code Here

TOP

Related Classes of org.evolizer.daforjava.commands.EditResult

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.