Closed fgdrf closed 4 years ago
A : EditorInput is defined with following extension, where editorPartID should match the editor id attribute mentioned above
<extension
point="org.locationtech.udig.project.ui.editorInputs">
<editorInput
editorPartID="org.locationtech.udig.project.ui.mapEditor"
projectElement="org.locationtech.udig.project.internal.impl.MapImpl"
class="org.locationtech.udig.project.ui.internal.MapEditorInput"
name="org.locationtech.udig.project.internal.ui.mapEditorInput"/>
Strange thing : if using editorPartID="org.locationtech.udig.project.ui.mapEditorOld" rather than editorPartID="org.locationtech.udig.project.ui.mapEditor" than the opened Map doesn't show the Actions as EditorActions anymore. IMHO Actions should be visible (Editor Toolbar vs. Pallete) independently from the Map Editor that should be used
see MapEditorWithPalette.ID and MapEditor.ID.
org.locationtech.udig.project.ui.internal.MapEditor.ID is "org.locationtech.udig.project.ui.mapEditor" and doesn' match the id used in Extension-point
org.locationtech.udig.project.ui.internal.MapEditorWithPalette.ID has the same value which matches the id in extension point (project.edit plugin):
Question: How can I configure uDig to use "old" Editor without Palette for Actions? How is EditorInput associated with MapEditor?