Class DtEditorProxyInputHelperService


  • public class DtEditorProxyInputHelperService
    extends Object
    This class contains standard UI logic to restore inputs being proxified using DtEditorProxyInput and restart corresponding editors. Usage of this logic is optional, yet recommended.
    • Constructor Detail

      • DtEditorProxyInputHelperService

        public DtEditorProxyInputHelperService()
    • Method Detail

      • scheduleRestoration

        public void scheduleRestoration​(DtEditorProxyInput input,
                                        org.eclipse.ui.IEditorPart editor)
        Schedules the restoration of the original editor input and re-opens the editor if possible.
        Parameters:
        input - The DtEditorProxyInput input with encoded data of the original input, cannot be null
        editor - The editor instance, cannot be null