Author: dennyxu
Date: 2008-10-08 03:40:58 -0400 (Wed, 08 Oct 2008)
New Revision: 10728
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossLibraryListFieldEditor.java
Log:
JBIDE-2865: fix the bug that the preference page has a invalid category
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml 2008-10-08 07:22:25 UTC
(rev 10727)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml 2008-10-08 07:40:58 UTC
(rev 10728)
@@ -25,7 +25,7 @@
<extension
point="org.eclipse.ui.preferencePages">
<page
- category="org.jboss.tools.common.model.ui.MainPreferencePage"
+ category="org.jboss.ide.eclipse.ui.MainPreferencePage"
class="org.jboss.tools.esb.project.ui.preference.controls.JBossESBRuntimePreferencePage"
id="org.jboss.tools.esb.project.runtime.preference"
name="JBoss ESB Runtimes">
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossLibraryListFieldEditor.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossLibraryListFieldEditor.java 2008-10-08
07:22:25 UTC (rev 10727)
+++
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossLibraryListFieldEditor.java 2008-10-08
07:40:58 UTC (rev 10728)
@@ -177,6 +177,11 @@
tempJbesb.setUserConfigClasspath(btnDefault.getSelection());
setJarGroupStatus();
setValue(null);
+ if(btnDefault.getSelection()){
+ jarGroup.setVisible(true);
+ }else{
+ jarGroup.setVisible(false);
+ }
}
});
@@ -188,6 +193,7 @@
jarGroup.setEnabled(isUserConfig);
listView.getTree().setEnabled(isUserConfig);
actionPanel.setEnabled(isUserConfig);
+ jarGroup.setVisible(isUserConfig);
}
protected void createListView(Composite parent) {
Show replies by date