Package org.apache.cayenne.modeler.action

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


        registerAction(new CreateAttributeAction(application));
        registerAction(new RemoveAttributeAction(application));
        registerAction(new CreateRelationshipAction(application));
        registerAction(new RemoveRelationshipAction(application));
        // start callback-related actions
        registerAction(new CreateCallbackMethodAction(application)).setAlwaysOn(true);
        registerAction(new CreateCallbackMethodForListenerAction(application));
        registerAction(new CreateCallbackMethodForDataMapListenerAction(application));
        registerAction(new RemoveCallbackMethodAction(application));
        registerAction(new RemoveCallbackMethodForListenerAction(application));
        registerAction(new RemoveCallbackMethodForDataMapListenerAction(application));
View Full Code Here


    return "Create Callback Method";
  }

  @Override
  public void redo() throws CannotRedoException {
    CreateCallbackMethodAction action = (CreateCallbackMethodAction) actionManager
        .getAction(CreateCallbackMethodAction.getActionName());
    action.createCallbackMethod(map, callbackType, methodName);
  }
View Full Code Here

        return "Create Callback Method";
    }

    @Override
    public void redo() throws CannotRedoException {
        CreateCallbackMethodAction action = actionManager
                .getAction(CreateCallbackMethodAction.class);
        action.createCallbackMethod(map, callbackType, methodName);
    }
View Full Code Here

TOP

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

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.