Examples of EntityDisplayEvent


Examples of org.apache.cayenne.modeler.event.EntityDisplayEvent

        RemoveRelationshipAction action = actionManager
                .getAction(RemoveRelationshipAction.class);

        if (objEnt != null) {
            action.removeObjRelationships(objEnt, objectRel);
            controller.fireObjEntityDisplayEvent(new EntityDisplayEvent(
                    this,
                    objEnt,
                    objEnt.getDataMap(),
                    (DataChannelDescriptor) controller.getProject().getRootNode()));
        }

        if (dbEnt != null) {
            action.removeDbRelationships(dbEnt, dbRel);
            controller.fireDbEntityDisplayEvent(new EntityDisplayEvent(this, dbEnt, dbEnt
                    .getDataMap(), (DataChannelDescriptor) controller
                    .getProject()
                    .getRootNode()));
        }
    }
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.