/** * Create the central place for editor factories. This manager will retrieve panel editors and use * the docking manager to addDockingPanel them * * @param dm Instance of docking manager */ private void makeEditorManager(DockingManager dm) { editors = new EditorManagerImpl(dm); Services.registerService( org.orbisgis.viewapi.edition.EditorManager.class, I18N.tr("Use this instance to open an editable element (map,data source..)"), editors); pluginFramework .getHostBundleContext() .registerService(org.orbisgis.viewapi.edition.EditorManager.class, editors, null); editorFactoryTracker = new EditorFactoryTracker(pluginFramework.getHostBundleContext(), editors); editorFactoryTracker.open(); editorTracker = new EditorPanelTracker(pluginFramework.getHostBundleContext(), editors); editorTracker.open(); }