コード例 #1
0
 private EditorCell createComponent_jn1wx6_a0a0(EditorContext editorContext, SNode node) {
   AbstractCellProvider provider = new AliasEditorComponent(node);
   EditorCell editorCell = provider.createEditorCell(editorContext);
   Style style = new StyleImpl();
   RunConfigurations_StyleSheet.applyOperation(style, editorCell);
   editorCell.getStyle().putAll(style);
   return editorCell;
 }
コード例 #2
0
 private EditorCell createConstant_9m9s9z_b0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "<");
   editorCell.setCellId("Constant_9m9s9z_b0");
   Style style = new StyleImpl();
   RunConfigurations_StyleSheet.apply_lessThen(style, editorCell);
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   return editorCell;
 }
コード例 #3
0
 private EditorCell createConstant_jn1wx6_b0(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, "(");
   editorCell.setCellId("Constant_jn1wx6_b0");
   Style style = new StyleImpl();
   RunConfigurations_StyleSheet.applyLeftOperationBrace(style, editorCell);
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   return editorCell;
 }
コード例 #4
0
 private EditorCell createComponent_f4uw03_a0(EditorContext editorContext, SNode node) {
   EditorCell editorCell =
       editorContext
           .getCellFactory()
           .createEditorComponentCell(node, "jetbrains.mps.lang.core.editor.alias");
   Style style = new StyleImpl();
   RunConfigurations_StyleSheet.apply_operation(style, editorCell);
   editorCell.getStyle().putAll(style);
   return editorCell;
 }
コード例 #5
0
 private EditorCell createConstant_85j21_e0a(EditorContext editorContext, SNode node) {
   EditorCell_Constant editorCell = new EditorCell_Constant(editorContext, node, ">");
   editorCell.setCellId("Constant_85j21_e0a");
   Style style = new StyleImpl();
   RunConfigurations_StyleSheet.apply_rightOperationBrace(style, editorCell);
   style.set(
       StyleAttributes.TEXT_COLOR, StyleRegistry.getInstance().getSimpleColor(MPSColors.black));
   editorCell.getStyle().putAll(style);
   editorCell.setDefaultText("");
   return editorCell;
 }