Exemplo n.º 1
0
 private EditorCell createConstant_sjqidp_a0a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "final");
   editorCell.setCellId("Constant_sjqidp_a0a");
   BaseLanguageStyle_StyleSheet.getKeyWord(editorCell).apply(editorCell);
   editorCell.setDefaultText("");
   return editorCell;
 }
 private EditorCell createConstant_o0q9qg_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "report");
   editorCell.setCellId("Constant_o0q9qg_a0");
   BaseLanguageStyle_StyleSheet.getKeyWord(editorCell).apply(editorCell);
   editorCell.setDefaultText("");
   return editorCell;
 }
Exemplo n.º 3
0
 private EditorCell createConstant_fl5ndt_a2b1a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "help topic");
   editorCell.setCellId("Constant_fl5ndt_a2b1a");
   BaseLanguageStyle_StyleSheet.getKeyWord(editorCell).apply(editorCell);
   editorCell.setDefaultText("");
   return editorCell;
 }
Exemplo n.º 4
0
 private EditorCell createConstant_du6pr9_a1b1a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "number:");
   editorCell.setCellId("Constant_du6pr9_a1b1a");
   BaseLanguageStyle_StyleSheet.getKeyWord(editorCell).apply(editorCell);
   editorCell.setDefaultText("");
   return editorCell;
 }
 private EditorCell createConstant_9ahxcc_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "concept switch");
   editorCell.setCellId("Constant_9ahxcc_a0");
   BaseLanguageStyle_StyleSheet.getKeyWord(editorCell).apply(editorCell);
   {
     Style style = editorCell.getStyle();
     style.set(StyleAttributes.RT_ANCHOR_TAG, "ext_1_RTransform");
   }
   editorCell.setDefaultText("");
   return editorCell;
 }
Exemplo n.º 6
0
 private EditorCell createConstant_fl5ndt_a1b1a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "icon");
   editorCell.setCellId("Constant_fl5ndt_a1b1a");
   BaseLanguageStyle_StyleSheet.getKeyWord(editorCell).apply(editorCell);
   {
     Style style = editorCell.getStyle();
     style.set(StyleAttributes.SELECTABLE, true);
   }
   editorCell.setDefaultText("");
   return editorCell;
 }
 private EditorCell createConstant_hplu10_a0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "enum");
   editorCell.setCellId("Constant_hplu10_a0");
   BaseLanguageStyle_StyleSheet.getKeyWord(editorCell).apply(editorCell);
   {
     Style style = editorCell.getStyle();
     style.set(StyleAttributes.PADDING_RIGHT, new Padding(0.0, Measure.SPACES));
   }
   editorCell.setDefaultText("");
   return editorCell;
 }
Exemplo n.º 8
0
 private EditorCell createConstant_du6pr9_d2b1b0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, ")");
   editorCell.setCellId("Constant_du6pr9_d2b1b0");
   BaseLanguageStyle_StyleSheet.getKeyWord(editorCell).apply(editorCell);
   {
     Style style = editorCell.getStyle();
     style.set(StyleAttributes.MATCHING_LABEL, "parenthesis");
     style.set(StyleAttributes.TEXT_COLOR, MPSColors.lightGray);
   }
   editorCell.setDefaultText("");
   return editorCell;
 }
 private EditorCell createConceptProperty_ok8ys0_a0(EditorContext editorContext, SNode node) {
   CellProviderWithRole provider = new ConceptPropertyCellProvider(node, editorContext);
   provider.setRole("alias");
   provider.setNoTargetText("<no alias>");
   EditorCell editorCell;
   editorCell = provider.createEditorCell(editorContext);
   editorCell.setCellId("conceptProperty_alias");
   BaseLanguageStyle_StyleSheet.getKeyWord(editorCell).apply(editorCell);
   editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
   SNode attributeConcept = provider.getRoleAttribute();
   Class attributeKind = provider.getRoleAttributeClass();
   if (attributeConcept != null) {
     IOperationContext opContext = editorContext.getOperationContext();
     EditorManager manager = EditorManager.getInstanceFromContext(opContext);
     return manager.createRoleAttributeCell(
         editorContext, attributeConcept, attributeKind, editorCell);
   } else return editorCell;
 }