void stop() { control.stop(); modelService.destroy(); } }
@Override public void onModelChanged() { super.onModelChanged(); if (cluster != null) { cluster.stop(); modelService.destroy(); } createTemplate(); }
public void destroy() { if (cluster != null) { cluster.stop(); modelService.destroy(); } context.unregisterTracker(fieldTracker, engineId + ".wicket.root"); context.unregisterService(engineFactory, ITemplateEngine.class.getName()); validation.stop(); }
public void destroy() { String validationServiceId = clusterControl.getClusterConfig().getString(IValidationService.VALIDATE_ID); if (validationService != null) { if (validationObserver != null) { context.unregisterService(validationObserver, IObserver.class.getName()); validationObserver = null; } context.unregisterService(validationService, validationServiceId); validationService = null; } modelRef.destroy(); clusterControl.stop(); }
public void stop() { final String renderId = getRendererServiceId(); context.unregisterService(focusListener, renderId); context.unregisterService(this, renderId); cluster.stop(); final String editorId = cluster.getClusterConfig().getString("editor.id"); context.unregisterService(editorContext.getEditorManager(), editorId); context.unregisterService(this, editorId); if (baseService != null) { baseService.destroy(); baseService = null; } if (modelService != null) { modelService.destroy(); modelService = null; } cluster = null; focusListener = null; }
@Override public void onModelChanged() { Task onModelChangedTask = null; try { if (HDC.isStarted()) { onModelChangedTask = HDC.getCurrentTask().startSubtask("ComparePlugin.onModelChanged"); addModelInfoToDiagnosticsTaskAttributes(HDC.getCurrentTask()); } if (cluster != null) { modelService.destroy(); modelService = null; cluster.stop(); cluster = null; } createTemplate(); redraw(); } finally { if (onModelChangedTask != null) { onModelChangedTask.stop(); } } }
context.unregisterService(this, editorId); context.unregisterService(editorContext.getEditorManager(), editorId); modelService.destroy(); throw new EditorException("No IRenderService found");