if (monitoredPart != null) {
uninstallSelectionListener(monitoredPart);
}
IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
IPartService service = window.getPartService();
service.removePartListener(this);
factOrFiction.Activator.getDefault().getPluginPreferences().removePropertyChangeListener(this);
super.dispose();
}