* custom editors have to contribute the menu entry explicitly * supports customizations for languages other than Stext(/languages based on base.types)
@@ -206,6 +206,15 @@
commandId="com.yakindu.sct.refactoring.renameElement"
label="Rename..."
style="push">
+ <visibleWhen
+ checkEnabled="false">
+ <with
+ variable="activeEditorId">
+ <equals
+ value="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor">
+ </equals>
+ </with>
+ </visibleWhen>
</command>
</menu>
</menuContribution>