Package org.openquark.samples.bam.model

Examples of org.openquark.samples.bam.model.ActionDescription


     */
    protected void onEditAction () {
        MonitorJobDescription jobDescription = getSelectedJobDescription ();

        if (jobDescription != null) {
            ActionDescription actionDescription = getSelectedActionDescription ();

            if (actionDescription != null) {
                EditBindingsDialog dialog = new EditBindingsDialog (JOptionPane.getFrameForComponent(this), app, jobDescription, actionDescription, BindInputsCard.FOR_ACTION);
               
                dialog.doModal ();
View Full Code Here


    protected void onRemoveAction () {
        MonitorJobDescription jobDescription = getSelectedJobDescription ();

        if (jobDescription != null) {
            if (confirmAction("Are you sure you want to delete this action?")) {
                ActionDescription actionDescription = getSelectedActionDescription ();
   
                if (actionDescription != null) {
                    jobDescription.removeAction (actionDescription);
                }
            }
View Full Code Here

               
                jobDescription.addTrigger(triggerDescription);
                break;
               
            case FOR_ACTION:
                ActionDescription actionDescription = new ActionDescription (gemEntity.getName().getQualifiedName(), inputBindings);
               
                jobDescription.addAction(actionDescription);
                break;
               
            default:
View Full Code Here

        List<InputBinding> inputBindings = bindInputsCard.getInputBindings ();
       
        if (usage == BindInputsCard.FOR_TRIGGER) {
            jobDescription.replaceTriggerDescription(getIndexForReplace(), new TriggerDescription (gemName, inputBindings));
        } else if (usage == BindInputsCard.FOR_ACTION) {
            jobDescription.replaceActionDescription(getIndexForReplace(), new ActionDescription (gemName, inputBindings));
        } else {
            return false;
        }
       
        return true;
View Full Code Here

TOP

Related Classes of org.openquark.samples.bam.model.ActionDescription

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.