Community
Participate
Working Groups
I'm trying to implement a org.eclipse.debug.ui.IDebugModelPresentation that will use Sirius to show debugged source code. I need to implement: IEditorInput getEditorInput(Object element) and String getEditorId(IEditorInput input, Object element) But Sirius only provides DialectUIServices.openEditor(Session session, DRepresentation dRepresentation, IProgressMonitor monitor) It would be helpful to have two more methods: DialectUIServices.getEditorInput(Session session, DRepresentation dRepresentation, IProgressMonitor monitor) and DialectUIServices.getEditorID(Session session, DRepresentation dRepresentation, IProgressMonitor monitor) As a workaround I call DialectUIServices.openEditor() then get the EditorInput and editor ID from the opened IEditorPart.
Created attachment 239263 [details] a parth adding getEditorID
Created attachment 239270 [details] a patch adding getEditorInput That patch is made on top of the getEditorID patch.
Patch review needed
both patches are in this gerrit review : https://git.eclipse.org/r/#/c/21118/