Package org.apache.cayenne.modeler.action

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


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


        return "Create Entity Listener";
    }

    @Override
    public void redo() throws CannotRedoException {
        CreateDataMapEntityListenerAction action = (CreateDataMapEntityListenerAction) actionManager
                .getAction(CreateDataMapEntityListenerAction.getActionName());
        action.createMapListener(dataMap, listener);
    }
View Full Code Here

        return "Create Entity Listener";
    }

    @Override
    public void redo() throws CannotRedoException {
        CreateDataMapEntityListenerAction action = (CreateDataMapEntityListenerAction) actionManager
                .getAction(CreateDataMapEntityListenerAction.getActionName());
        action.createEntityListener(objEntity, listener);
    }
View Full Code Here

        return "Create Entity Listener";
    }

    @Override
    public void redo() throws CannotRedoException {
        CreateDataMapEntityListenerAction action = actionManager
                .getAction(CreateDataMapEntityListenerAction.class);
        action.createMapListener(dataMap, listener);
    }
View Full Code Here

        return "Create Entity Listener";
    }

    @Override
    public void redo() throws CannotRedoException {
        CreateDataMapEntityListenerAction action = actionManager
                .getAction(CreateDataMapEntityListenerAction.class);
        action.createEntityListener(objEntity, listener);
    }
View Full Code Here

TOP

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

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.