Item item = ((RouteResourceInput) input).getItem();
if (item.getProperty().getId()
.equals(editorInput.getItem().getProperty().getId())) {
try {
ProxyRepositoryFactory.getInstance().unlock(item);
<BUG>page.getWorkbenchWindow().getPartService()

.removePartListener(this);
ResourcesPlugin.getWorkspace()
.removeResourceChangeListener(
editorInput.getListener());
} catch (Exception e) {
}</BUG>
}

Item item = ((RouteResourceInput) input).getItem();
if (item.getProperty().getId()
.equals(editorInput.getItem().getProperty().getId())) {
try {
ProxyRepositoryFactory.getInstance().unlock(item);
page.getWorkbenchWindow().getPartService().removePartListener(this);
IResourceChangeListener l = editorInput.getListener();
if (null != l) {
ResourcesPlugin.getWorkspace().removeResourceChangeListener(l);
