Package org.openquark.cal.compiler

Examples of org.openquark.cal.compiler.FieldName


        if (toGem.isFieldFixed()) {
            return null;
        }
               
        RecordType toType = (RecordType) to.getType();
        FieldName fieldName = toGem.getFieldName();
       
        TypeExpr requiredFieldType= toType.getHasFieldType(fieldName);
       
        return RecordFieldSelectionGem.pickFieldName(from.getType(), requiredFieldType, currentModuleTypeInfo);
       
View Full Code Here


            return null;
        }
       
        TypeExpr[] typePieces = to.getType().getTypePieces(1);
       
        FieldName fieldName = RecordFieldSelectionGem.pickFieldName(typePieces[0], typePieces[1], currentModuleTypeInfo);
       
        return fieldName;

    }
View Full Code Here

           
            if (argName == null) {
               
                String nameFromCALDoc = null;
                if (caldoc != null && i < caldoc.getNArgBlocks()) {
                    FieldName argNameAsFieldName = caldoc.getNthArgBlock(i).getArgName();
                    if (argNameAsFieldName instanceof FieldName.Textual) {
                        nameFromCALDoc = argNameAsFieldName.getCalSourceForm();
                    }
                }
               
                String originalName = null;
                if (i < originalNames.length) {
View Full Code Here

                        else if (gemClicked instanceof RecordCreationGem){
                            // find the field that was clicked on
                            int fieldIndex = displayedGemClicked.getDisplayedGemShape().inputNameTagHit(e.getPoint());

                            if (fieldIndex != -1) {
                                FieldName fieldToRename = ((RecordCreationGem)gemClicked).getFieldName(fieldIndex);
                                Action action = getRenameRecordFieldAction((RecordCreationGem)gemClicked, fieldToRename.getCalSourceForm());

                                if (action.isEnabled()) {

                                    tableTop.displayFieldRenameEditor((RecordCreationGem)gemClicked, fieldToRename);
                                }
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.FieldName

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.