Package org.apache.cayenne.modeler.action

Examples of org.apache.cayenne.modeler.action.RemoveEntityListenerForDataMapAction


        registerAction(new RemoveCallbackMethodForDataMapListenerAction(application));
        registerAction(new CreateObjEntityListenerAction(application)).setAlwaysOn(true);
        registerAction(new CreateDataMapEntityListenerAction(application)).setAlwaysOn(
                true);
        registerAction(new RemoveEntityListenerAction(application));
        registerAction(new RemoveEntityListenerForDataMapAction(application));
        // end callback-related actions
        registerAction(new DbEntitySyncAction(application));
        registerAction(new ObjEntitySyncAction(application));
        registerAction(new ImportDBAction(application));
        registerAction(new InferRelationshipsAction(application));
View Full Code Here


        action.createMapListener(dataMap, listener);
    }

    @Override
    public void undo() throws CannotUndoException {
        RemoveEntityListenerForDataMapAction action = (RemoveEntityListenerForDataMapAction) actionManager
                .getAction(RemoveEntityListenerForDataMapAction.getActionName());

        action.removeEntityListener(dataMap, listener.getClassName());
    }
View Full Code Here

        action.createMapListener(dataMap, listener);
    }

    @Override
    public void undo() throws CannotUndoException {
        RemoveEntityListenerForDataMapAction action = actionManager
                .getAction(RemoveEntityListenerForDataMapAction.class);

        action.removeEntityListener(dataMap, listener.getClassName());
    }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.modeler.action.RemoveEntityListenerForDataMapAction

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.