660661662663664665666667668669670671672
final ExtensionData<AbstractDTViewHandler> extData = JSFCorePlugin.getViewHandlers(viewHandlerId); if (extData != null) { final AbstractDTViewHandler handler = extData.removeInstance(project); if (handler != null) { handler.dispose(); } } } }
711712713714715716717718719720721722
{ viewHandlers = JSFCorePlugin .getViewHandlers(PRE_20_DEFAULT_VIEW_HANDLER_ID); } final AbstractDTViewHandler viewHandler = viewHandlers .getInstance(project); viewHandler.setLifecycleListener(listener); return viewHandler; } return null; }