Package org.apache.cayenne.modeler.action

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


        registerAction(new RemoveCallbackMethodForListenerAction(application));
        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));
View Full Code Here


        action.createEntityListener(objEntity, listener);
    }

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

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

        action.createEntityListener(objEntity, listener);
    }

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

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

TOP

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

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.