Package ariba.ui.meta.core

Examples of ariba.ui.meta.core.Rule


    }

    public void addRule ()
    {
        EditManager.EditSet editSet = _editManager.editSetForContext(_contextInfo);
        Rule rule = editSet.addRule(_contextInfo);
        addProperty(rule, "prop", "value");
    }
View Full Code Here


        addProperty(rule, "prop", "value");
    }

    public void editCurrentAssignment ()
    {
        Rule rule = currentAssignmentRule();
        if (!rule.isEditable()) {
            Object origVal = rule.getProperties().get(_assignment.getKey());
            EditManager.EditSet editSet = _editManager.editSetForContext(_contextInfo);
            rule = editSet.editableRuleForContext(_contextInfo);
            Object editableVal = _editorProperties.editableOverrideForProperty(_assignment.getKey(), origVal);
            addProperty(rule, _assignment.getKey(), editableVal);
        } else {
View Full Code Here

        }
        if (newProp.isEmpty()) {
            recordValidationError("property", "Unable to parse property assignment", _editableAssignmentString);
        } else {
            // clear old key
            Rule rule = _editingRule;
            if (!newProp.containsKey(_editingKey)) newProp.put(_editingKey, null);
            EditManager.EditSet editSet = _editManager.editSetForRule(rule);
            editSet.updateRule(rule, newProp);
            _editingRule = null;
            invalidateForEdit();
View Full Code Here

TOP

Related Classes of ariba.ui.meta.core.Rule

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.