Author: vrubezhny
Date: 2007-09-11 10:50:51 -0400 (Tue, 11 Sep 2007)
New Revision: 3561
Modified:
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/ClayCompoundEditor.java
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/ClayGuiEditor.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-892 Clean out shale component
Wrong files were uploaded during code clean up
Modified:
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/ClayCompoundEditor.java
===================================================================
---
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/ClayCompoundEditor.java 2007-09-11
14:50:39 UTC (rev 3560)
+++
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/ClayCompoundEditor.java 2007-09-11
14:50:51 UTC (rev 3561)
@@ -73,7 +73,11 @@
public void dispose() {
if(input != null) {
selectionProvider.setHost(null);
- try { getSite().setSelectionProvider(null); } catch (Exception e) {}
+ try {
+ getSite().setSelectionProvider(null);
+ } catch (Exception e) {
+ ShaleUiPlugin.log(e);
+ }
}
super.dispose();
if(guiEditor != null) {
Modified:
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/ClayGuiEditor.java
===================================================================
---
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/ClayGuiEditor.java 2007-09-11
14:50:39 UTC (rev 3560)
+++
trunk/shale/plugins/org.jboss.tools.shale.ui/src/org/jboss/tools/shale/ui/clay/editor/ClayGuiEditor.java 2007-09-11
14:50:51 UTC (rev 3561)
@@ -91,7 +91,11 @@
if(gui != null) {
gui.dispose();
gui = null;
- try { control.dispose(); } catch (Exception e) {}
+ try {
+ control.dispose();
+ } catch (Exception e) {
+ ShaleUiPlugin.log(e);
+ }
control = null;
}
}