@Override
 public void dispose() {
   // Unregister the listener
   if (null != resourceListChangedListener) {
     UiListenerHandler.getInstance()
         .removeResourceListChangedUIListener(resourceListChangedListener);
     resourceManager.resourceSelectionChanged(null);
   }
   if (null != resourcePropertiesChangedListener) {
     UiListenerHandler.getInstance()
         .removeResourcePropertiesChangedUIListener(resourcePropertiesChangedListener);
   }
   super.dispose();
 }
 public void addManagerListeners() {
   UiListenerHandler.getInstance().addResourceListChangedUIListener(resourceListChangedListener);
   UiListenerHandler.getInstance()
       .addResourcePropertiesChangedUIListener(resourcePropertiesChangedListener);
 }