private EditorCell createCollection_1x071y_a(EditorContext editorContext, SNode node) { EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node); editorCell.setCellId("Collection_1x071y_a"); { Style style = editorCell.getStyle(); style.set(StyleAttributes.SELECTABLE, true); } editorCell.addEditorCell(this.createComponent_1x071y_a0(editorContext, node)); editorCell.addEditorCell(this.createComponent_1x071y_b0(editorContext, node)); editorCell.addEditorCell(this.createComponent_1x071y_c0(editorContext, node)); if (renderingCondition_1x071y_a3a( node, editorContext, editorContext.getOperationContext().getScope())) { editorCell.addEditorCell(this.createComponent_1x071y_d0(editorContext, node)); } editorCell.addEditorCell(this.createProperty_1x071y_e0(editorContext, node)); editorCell.addEditorCell(this.createConstant_1x071y_f0(editorContext, node)); editorCell.addEditorCell(this.createRefNodeList_1x071y_g0(editorContext, node)); editorCell.addEditorCell(this.createConstant_1x071y_h0(editorContext, node)); if (renderingCondition_1x071y_a8a( node, editorContext, editorContext.getOperationContext().getScope())) { editorCell.addEditorCell(this.createCollection_1x071y_i0(editorContext, node)); } editorCell.addEditorCell(this.createComponent_1x071y_j0(editorContext, node)); if (renderingCondition_1x071y_a01a( node, editorContext, editorContext.getOperationContext().getScope())) { editorCell.addEditorCell(this.createConstant_1x071y_k0(editorContext, node)); } return editorCell; }
private EditorCell createProperty_uugm4e_a0a0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("elementName"); provider.setNoTargetText("<no elementName>"); provider.setReadOnly(true); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_elementName"); { Style style = editorCell.getStyle(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.BOLD); style.set( StyleAttributes.TEXT_COLOR, new AttributeCalculator<Color>() { public Color calculate(EditorCell cell) { return ElementReference_Editor._Inline_uugm4e_a0a ._StyleParameter_QueryFunction_uugm4e_a1a0a0( (cell == null ? null : cell.getSNode()), (cell == null ? null : cell.getEditorContext())); } }); } 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; }
private EditorCell createCollection_1xd1xh_a(EditorContext editorContext, SNode node) { EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node); editorCell.setCellId("Collection_1xd1xh_a"); if (renderingCondition_1xd1xh_a0a( node, editorContext, editorContext.getOperationContext().getScope())) { editorCell.addEditorCell(this.createCollection_1xd1xh_a0(editorContext, node)); } return editorCell; }
private void execute_internal( final KeyEvent keyEvent, final EditorContext editorContext, final SNode node, final List<SNode> selectedNodes) { IOperationContext operationContext = editorContext.getOperationContext(); Project project = operationContext.getProject(); ProjectPane.getInstance(ProjectHelper.toIdeaProject(project)) .selectModule(Module_Behavior.call_getModule_1213877515148(node), false); }
private EditorCell createCollection_f5bzsg_a(EditorContext editorContext, SNode node) { EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node); editorCell.setCellId("Collection_f5bzsg_a"); editorCell.addEditorCell(this.createRefNode_f5bzsg_a0(editorContext, node)); editorCell.addEditorCell(this.createProperty_f5bzsg_b0(editorContext, node)); if (renderingCondition_f5bzsg_a2a( node, editorContext, editorContext.getOperationContext().getScope())) { editorCell.addEditorCell(this.createConstant_f5bzsg_c0(editorContext, node)); } return editorCell; }
private EditorCell createCollection_dvtb4y_a(EditorContext editorContext, SNode node) { EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node); editorCell.setCellId("Collection_dvtb4y_a"); editorCell.addEditorCell(this.createConceptProperty_dvtb4y_a0(editorContext, node)); editorCell.addEditorCell(this.createProperty_dvtb4y_b0(editorContext, node)); if (renderingCondition_dvtb4y_a2a( node, editorContext, editorContext.getOperationContext().getScope())) { editorCell.addEditorCell(this.createCollection_dvtb4y_c0(editorContext, node)); } editorCell.addEditorCell(this.createCollection_dvtb4y_d0(editorContext, node)); editorCell.addEditorCell(this.createConstant_dvtb4y_e0(editorContext, node)); return editorCell; }
private EditorCell createCollection_uc5iyq_a(EditorContext editorContext, SNode node) { EditorCell_Collection editorCell = EditorCell_Collection.createIndent2(editorContext, node); editorCell.setCellId("Collection_uc5iyq_a"); { Style style = editorCell.getStyle(); style.set(StyleAttributes.SELECTABLE, false); } if (renderingCondition_uc5iyq_a0a( node, editorContext, editorContext.getOperationContext().getScope())) { editorCell.addEditorCell(this.createCollection_uc5iyq_a0(editorContext, node)); } return editorCell; }
private EditorCell createAlternation_ayjduv_c0(EditorContext editorContext, SNode node) { boolean alternationCondition = true; alternationCondition = BuildVarRefStringPart_Editor.renderingCondition_ayjduv_a2a( node, editorContext, editorContext.getOperationContext().getScope()); EditorCell editorCell = null; if (alternationCondition) { editorCell = this.createConstant_ayjduv_a2a(editorContext, node); } else { editorCell = this.createConstant_ayjduv_a2a_0(editorContext, node); } return editorCell; }
private EditorCell createAlternation_4kucyt_d0(EditorContext editorContext, SNode node) { boolean alternationCondition = true; alternationCondition = PngIcon_Editor.renderingCondition_4kucyt_a3a( node, editorContext, editorContext.getOperationContext().getScope()); EditorCell editorCell = null; if (alternationCondition) { editorCell = this.createJComponent_4kucyt_a3a(editorContext, node); } else { editorCell = this.createConstant_4kucyt_a3a(editorContext, node); } return editorCell; }
private EditorCell createAlternation_sjqidp_a0(EditorContext editorContext, SNode node) { boolean alternationCondition = true; alternationCondition = State_Editor.renderingCondition_sjqidp_a0a( node, editorContext, editorContext.getOperationContext().getScope()); EditorCell editorCell = null; if (alternationCondition) { editorCell = this.createConstant_sjqidp_a0a(editorContext, node); } else { editorCell = this.createEmpty_sjqidp_a0a(editorContext, node); } return editorCell; }
private EditorCell createCollection_du6pr9_a0(EditorContext editorContext, SNode node) { EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(editorContext, node); editorCell.setCellId("Collection_du6pr9_a0"); { Style style = editorCell.getStyle(); style.set(StyleAttributes.SELECTABLE, false); } editorCell.addEditorCell(this.createCollection_du6pr9_a0a(editorContext, node)); if (renderingCondition_du6pr9_a1a0( node, editorContext, editorContext.getOperationContext().getScope())) { editorCell.addEditorCell(this.createConstant_du6pr9_b0a(editorContext, node)); } return editorCell; }
private EditorCell createRefNode_o0q9qg_e0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefNodeCellProvider(node, editorContext); provider.setRole("message"); provider.setNoTargetText("<no message>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); 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; }
public EditorCell createProperty_4406_1(EditorContext context, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, context); provider.setRole("identifier"); provider.setNoTargetText("<no identifier>"); provider.setReadOnly(true); provider.setAllowsEmptyTarget(false); EditorCell cellWithRole = this.createProperty_4406_0_internal(context, node, provider); SNode attributeConcept = provider.getRoleAttribute(); Class attributeKind = provider.getRoleAttributeClass(); if (attributeConcept != null) { IOperationContext opContext = context.getOperationContext(); EditorManager manager = EditorManager.getInstanceFromContext(opContext); return manager.createRoleAttributeCell( context, attributeConcept, attributeKind, cellWithRole); } else return cellWithRole; }
private EditorCell createRefCell_v26ttb_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("plugin"); provider.setNoTargetText("<no plugin>"); EditorCell editorCell; provider.setAuxiliaryCellProvider(new MPSPluginDependency_Editor._Inline_v26ttb_a1a()); editorCell = provider.createEditorCell(editorContext); 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; }
private EditorCell createRefCell_ayjduv_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("macro"); provider.setNoTargetText("<no macro>"); EditorCell editorCell; provider.setAuxiliaryCellProvider(new BuildVarRefStringPart_Editor._Inline_ayjduv_a1a()); editorCell = provider.createEditorCell(editorContext); 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; }
private EditorCell createConceptProperty_hsieeg_a(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"); 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; }
private EditorCell createRefCell_uugm4e_a0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("elementDeclaration"); provider.setNoTargetText("<no elementDeclaration>"); EditorCell editorCell; provider.setAuxiliaryCellProvider(new ElementReference_Editor._Inline_uugm4e_a0a()); editorCell = provider.createEditorCell(editorContext); 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; }
private EditorCell createProperty_17volu_a0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("value"); provider.setNoTargetText("<no value>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_value"); MqlSS_StyleSheet.getIntLiteral(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; }
private EditorCell createProperty_zdgerc_a0b0a0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("name"); provider.setNoTargetText("<no name>"); provider.setReadOnly(true); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_name"); 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; }
private EditorCell createRefCell_zdgerc_b0a0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("uiObject"); provider.setNoTargetText("<no uiObject>"); EditorCell editorCell; provider.setAuxiliaryCellProvider(new UIObjectStatement_Editor._Inline_zdgerc_a1a0a()); editorCell = provider.createEditorCell(editorContext); UI_StyleSheet.getUIObject(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; }
private EditorCell createRefNode_dq5n1t_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefNodeCellProvider(node, editorContext); provider.setRole("type"); provider.setNoTargetText("<no type>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); if (true) { editorCell.setFocusPolicy(FocusPolicy.FIRST_EDITABLE_CELL); } 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; }
private EditorCell createRefNode_vspo6f_j0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefNodeCellProvider(node, editorContext); provider.setRole("disposeTabClosure"); provider.setNoTargetText("<no dispose block>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); { Style style = editorCell.getStyle(); style.set(StyleAttributes.INDENT_LAYOUT_INDENT, true); } 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; }
private EditorCell createProperty_dvtb4y_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("id"); provider.setNoTargetText("<no id>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_id"); { Style style = editorCell.getStyle(); style.set(StyleAttributes.RT_ANCHOR_TAG, "ext_3_RTransform"); } 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; }
private EditorCell createProperty_4kucyt_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("name"); provider.setNoTargetText("<no name>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_name"); { Style style = editorCell.getStyle(); style.set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true); } 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; }
private EditorCell createProperty_5tmbrv_a(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("text"); provider.setNoTargetText("<no text>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_text"); { Style style = editorCell.getStyle(); style.set(StyleAttributes.TEXT_COLOR, MPSColors.gray); } 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; }
private EditorCell createConceptProperty_p022p0_a(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new ConceptPropertyCellProvider(node, editorContext); provider.setRole("alias"); provider.setNoTargetText("choose parameter"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("conceptProperty_alias"); { Style style = editorCell.getStyle(); style.set(StyleAttributes.TEXT_COLOR, MPSColors.DARK_MAGENTA); } 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; }
private EditorCell createProperty_1x071y_e0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("name"); provider.setNoTargetText("<constructor>"); provider.setReadOnly(true); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_name"); BaseLanguageStyle_StyleSheet.getMethodName(editorCell).apply(editorCell); { Style style = editorCell.getStyle(); style.set(StyleAttributes.EDITABLE, true); } 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; }
private EditorCell createConceptProperty_q2tbc1_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"); Styles_StyleSheet.getItem(editorCell).apply(editorCell); editorCell.setSubstituteInfo( new CompositeSubstituteInfo( editorContext, provider.getCellContext(), new SubstituteInfoPart[] { new AbstractPaddingStyleClassItem_Editor.ReplaceWith_StyleClassItem_cellMenu_a0a0_9() })); 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; }
private EditorCell createAttributedNodeCell_ujwr7t_b0(EditorContext editorContext, SNode node) { IOperationContext opContext = editorContext.getOperationContext(); EditorManager manager = EditorManager.getInstanceFromContext(opContext); EditorCell editorCell = manager.getCurrentAttributedNodeCell(); return editorCell; }