Package org.openquark.cal.metadata

Examples of org.openquark.cal.metadata.CALExample


    @Override
    NavExampleEditor makeNewEditor() {
        // Create a default expression and example
        ModuleName moduleName = getEditorPanel().getNavigatorOwner().getPerspective().getWorkingModuleName();
        CALExpression expression = new CALExpression(moduleName, "", new CodeQualificationMap(), "");
        CALExample example = new CALExample(expression, "", true);
       
        return new NavExampleEditor(this, example);
    }
View Full Code Here


    public CALExample getValue() {
        ModuleName moduleContext = (ModuleName) moduleContextBox.getSelectedItem();
        String description = (descriptionField.getText().trim().length() > 0) ? descriptionField.getText() : null;
        CALExpression expression = new CALExpression(
                moduleContext, expressionPanel.getExpressionText(), expressionPanel.getQualificationMap(), expressionPanel.getQualifiedExpressionText());
        CALExample example = new CALExample(expression, description, runAutomaticallyBox.isSelected());
        return example;
    }
View Full Code Here

TOP

Related Classes of org.openquark.cal.metadata.CALExample

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.