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; }