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 createProperty_40aq2x_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("entityName"); provider.setNoTargetText("<no entityName>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_entityName"); Style style = new StyleImpl(); XmlSS_StyleSheet.applyXmlEntityRef(style, editorCell); editorCell.getStyle().putAll(style); editorCell.setSubstituteInfo( new CompositeSubstituteInfo( editorContext, provider.getCellContext(), new SubstituteInfoPartExt[] { new XmlEntityRef_Editor.XmlEntityRef_entityName_cellMenu_a0b0() })); 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_89tgy3_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new ConceptPropertyCellProvider(node, editorContext); provider.setRole("alias"); provider.setNoTargetText("<no operation>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("conceptProperty_alias"); BaseLanguageStyle_StyleSheet.getOperator(editorCell).apply(editorCell); editorCell.setSubstituteInfo( new CompositeSubstituteInfo( editorContext, provider.getCellContext(), new SubstituteInfoPartExt[] { new BaseAssignmentExpression_Editor .ReplaceWith_BaseAssignmentExpression_cellMenu_a0b0(), new BaseAssignmentExpression_Editor.BaseAssignmentExpression_generic_cellMenu_b0b0() })); 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_0_internal( EditorContext context, SNode node, CellProviderWithRole aProvider) { CellProviderWithRole provider = aProvider; provider.setAuxiliaryCellProvider(null); EditorCell editorCell = provider.createEditorCell(context); setupBasic_Property_4406_0(editorCell, node, context); if (editorCell instanceof EditorCell_Label) { setupLabel_Property_4406_0((EditorCell_Label) editorCell, node, context); } editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo()); return editorCell; }
private EditorCell createComponent_n84rmm_a0(EditorContext editorContext, SNode node) { AbstractCellProvider provider = new AliasEditorComponent(node); EditorCell editorCell = provider.createEditorCell(editorContext); Style style = new StyleImpl(); style.set(StyleAttributes.FONT_STYLE, MPSFonts.BOLD); editorCell.getStyle().putAll(style); editorCell.setSubstituteInfo( new CompositeSubstituteInfo( editorContext, new BasicCellContext(node), new SubstituteInfoPartExt[] { new ReplaceableAliasAndParms_Comp.ReplaceWith_SNodeOperation_cellMenu_a0a0_0() })); return editorCell; }
private EditorCell createRefNode_u5c1mf_h0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefNodeCellProvider(node, editorContext); provider.setRole("suggestedName"); provider.setNoTargetText("<no name>"); 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; }
private EditorCell createRefCell_u5c1mf_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("runConfig"); provider.setNoTargetText("<no runConfig>"); EditorCell editorCell; provider.setAuxiliaryCellProvider(new CreateRunConfigStatement_Editor._Inline_u5c1mf_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; }
public void installElementCellActions( SNode listOwner, SNode elementNode, EditorCell elementCell, EditorContext editorContext) { if (elementCell.getUserObject(AbstractCellListHandler.ELEMENT_CELL_ACTIONS_SET) == null) { elementCell.putUserObject( AbstractCellListHandler.ELEMENT_CELL_ACTIONS_SET, AbstractCellListHandler.ELEMENT_CELL_ACTIONS_SET); if (elementNode != null) { elementCell.setAction(CellActionType.DELETE, new CellAction_DeleteNode(elementNode)); } if (elementCell.getSubstituteInfo() == null || elementCell.getSubstituteInfo() instanceof DefaultReferenceSubstituteInfo) { elementCell.setSubstituteInfo( new DefaultChildSubstituteInfo( listOwner, elementNode, super.getLinkDeclaration(), editorContext)); } } }
private EditorCell createRefCell_t4awil_a0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("mappingScript"); provider.setNoTargetText("choose script"); EditorCell editorCell; provider.setAuxiliaryCellProvider(new MappingScriptReference_Editor._Inline_t4awil_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 createRefCell_daqvaj_a0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("booleanConceptPropertyDeclaration"); provider.setNoTargetText("<no property>"); EditorCell editorCell; provider.setAuxiliaryCellProvider(new BooleanConceptProperty_Editor._Inline_daqvaj_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 createRefCell_73o0fl_c0c0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("labelDeclaration"); provider.setNoTargetText("<no label>"); EditorCell editorCell; provider.setAuxiliaryCellProvider(new TemplateFragment_Editor._Inline_73o0fl_a2a2a()); 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 createRefNode_tdrdn7_c0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefNodeCellProvider(node, editorContext); provider.setRole("right"); provider.setNoTargetText("<no right>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); BinaryOperation_Right_actions.setCellActions(editorCell, node, 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_e4d6s0_b0a(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("concept"); provider.setNoTargetText("<no concept>"); EditorCell editorCell; provider.setAuxiliaryCellProvider(new ConceptRightTransformPart_Editor._Inline_e4d6s0_a1a0()); 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 createRefNode_qbcy69_b2b2a(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefNodeCellProvider(node, editorContext); provider.setRole("cellModel"); provider.setNoTargetText("<no cellModel>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.addKeyMap(new EditorCellModel_KeyMap()); 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_o0q9qg_b0(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 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 createRefCell_qbcy69_b1b1a(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("conceptDeclaration"); provider.setNoTargetText("<choose concept>"); EditorCell editorCell; provider.setAuxiliaryCellProvider( new EditorComponentDeclaration_Editor._Inline_qbcy69_a1b1b0()); 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_uv9f3e_f0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("methodName"); provider.setNoTargetText("<no methodName>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_methodName"); StyleSheet_StyleSheet.getInternalName(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 createRefCell_llx455_e0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("concept"); provider.setNoTargetText("<no concept>"); EditorCell editorCell; provider.setAuxiliaryCellProvider( new Model_NodesIncludingImportedOperation_Editor._Inline_llx455_a4a()); 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_fl5ndt_c2b1a(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("helpTopic"); provider.setNoTargetText("<default help topic>"); provider.setAllowsEmptyTarget(true); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_helpTopic"); 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_gd466t_c0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefCellCellProvider(node, editorContext); provider.setRole("datetimeProperty"); provider.setNoTargetText("<no datetimeProperty>"); EditorCell editorCell; provider.setAuxiliaryCellProvider( new WithPropertyCompareExpression_Editor._Inline_gd466t_a2a()); editorCell = provider.createEditorCell(editorContext); WithPropertyCompareExpression_delete.setCellActions(editorCell, node, 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 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_oq95n1_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefNodeCellProvider(node, editorContext); provider.setRole("statement"); provider.setNoTargetText("<no statement>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); { Style style = editorCell.getStyle(); style.set(StyleAttributes.BACKGROUND_COLOR, MPSColors.lightGray); } 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 createRefNode_uv9f3e_d0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new RefNodeCellProvider(node, editorContext); provider.setRole("instance"); provider.setNoTargetText("<no instance>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); { Style style = editorCell.getStyle(); style.set(StyleAttributes.PADDING_RIGHT, new Padding(0.0, Measure.SPACES)); } 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_ey2x64_a(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"); Style style = new StyleImpl(); style.set(StyleAttributes.TEXT_COLOR, MPSColors.blue); editorCell.getStyle().putAll(style); 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_al4u6z_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("workName"); provider.setNoTargetText("<no workName>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_workName"); Style style = new StyleImpl(); BaseLanguageStyle_StyleSheet.applyStringLiteral(style, editorCell); editorCell.getStyle().putAll(style); 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_gd466t_a0c0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("pluralForm"); provider.setNoTargetText("<no pluralForm>"); provider.setReadOnly(true); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_pluralForm"); Style style = new StyleImpl(); Dates_StyleSheet.applyDateProperty(style, editorCell); editorCell.getStyle().putAll(style); 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_urzn0w_b0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("charCode"); provider.setNoTargetText("<no charCode>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_charCode"); Style style = new StyleImpl(); XmlSS_StyleSheet.applyXmlAttrCharRefValue(style, editorCell); editorCell.getStyle().putAll(style); delete_XmlEntityRefValueDelete.setCellActions(editorCell, node, 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; }