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 createProperty_z2b22p_d0(EditorContext editorContext, SNode node) { CellProviderWithRole provider = new PropertyCellProvider(node, editorContext); provider.setRole("fqClassName"); provider.setNoTargetText("<no fqClassName>"); EditorCell editorCell; editorCell = provider.createEditorCell(editorContext); editorCell.setCellId("property_fqClassName"); Style style = new StyleImpl(); StyleSheet_StyleSheet.apply_InternalName(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.createNodeRoleAttributeCell( editorContext, attributeConcept, attributeKind, editorCell); } else return editorCell; }