Author: yzhishko
Date: 2010-06-11 08:36:59 -0400 (Fri, 11 Jun 2010)
New Revision: 22768
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/editor/check/ProjectNaturesChecker.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
Log:
https://jira.jboss.org/browse/JBIDE-6433 - fixed.
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java 2010-06-11
12:18:35 UTC (rev 22767)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java 2010-06-11
12:36:59 UTC (rev 22768)
@@ -26,7 +26,7 @@
public void start(BundleContext context) throws Exception {
super.start(context);
-// ProjectNaturesChecker.getInstance();
+ ProjectNaturesChecker.getInstance();
}
public static JsfUiPlugin getDefault() {
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/editor/check/ProjectNaturesChecker.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/editor/check/ProjectNaturesChecker.java 2010-06-11
12:18:35 UTC (rev 22767)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/editor/check/ProjectNaturesChecker.java 2010-06-11
12:36:59 UTC (rev 22768)
@@ -65,8 +65,8 @@
private ProjectNaturesChecker() {
projectsCollection = new HashSet<IProject>(0);
- ResourcesPlugin.getWorkspace().addResourceChangeListener(this,
- IResourceChangeEvent.POST_CHANGE);
+// ResourcesPlugin.getWorkspace().addResourceChangeListener(this,
+// IResourceChangeEvent.POST_CHANGE);
IWorkbenchWindow window = PlatformUI.getWorkbench()
.getActiveWorkbenchWindow();
window.getPartService().addPartListener(partListener);
@@ -165,11 +165,11 @@
private void updateProjectPersistentProperties(IProject project)
throws CoreException {
if (project.isAccessible()) {
- String jsfCheckString = project
- .getPersistentProperty(IS_JSF_CHECK_NEED);
- if (jsfCheckString == null) {
+// String jsfCheckString = project
+// .getPersistentProperty(IS_JSF_CHECK_NEED);
+// if (jsfCheckString == null) {
updateProjectJSFPersistents(project);
- }
+// }
if (project.getPersistentProperty(IS_JSF_NATURES_CHECK_NEED) == null) {
project
.setPersistentProperty(IS_JSF_NATURES_CHECK_NEED,
@@ -198,7 +198,7 @@
window.getPartService().removePartListener(partListener);
partListener = null;
}
- ResourcesPlugin.getWorkspace().removeResourceChangeListener(this);
+// ResourcesPlugin.getWorkspace().removeResourceChangeListener(this);
projectsCollection.clear();
}
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2010-06-11
12:18:35 UTC (rev 22767)
+++
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2010-06-11
12:36:59 UTC (rev 22768)
@@ -51,14 +51,14 @@
ELReferencesRenameTest.class), "org.jboss.tools.jsf.ui.test",
//$NON-NLS-1$
new String[] { "projects/testJSFProject", }, //$NON-NLS-1$
new String[] { "testJSFProject" })); //$NON-NLS-1$
-// suite.addTest(new ProjectImportTestSetup(new TestSuite(
-// JSFNaturesInfoDialog_JBIDE5701.class),
-// "org.jboss.tools.jsf.ui.test", "projects/naturesCheckTest",
//$NON-NLS-1$ //$NON-NLS-2$
-// "naturesCheckTest")); //$NON-NLS-1$
-// suite.addTest(new ProjectImportTestSetup(new TestSuite(
-// KbNaturesInfoDialog_JBIDE6125.class),
-// "org.jboss.tools.jsf.ui.test", "projects/naturesCheckKBTest",
//$NON-NLS-1$ //$NON-NLS-2$
-// "naturesCheckKBTest")); //$NON-NLS-1$
+ suite.addTest(new ProjectImportTestSetup(new TestSuite(
+ JSFNaturesInfoDialog_JBIDE5701.class),
+ "org.jboss.tools.jsf.ui.test", "projects/naturesCheckTest",
//$NON-NLS-1$ //$NON-NLS-2$
+ "naturesCheckTest")); //$NON-NLS-1$
+ suite.addTest(new ProjectImportTestSetup(new TestSuite(
+ KbNaturesInfoDialog_JBIDE6125.class),
+ "org.jboss.tools.jsf.ui.test", "projects/naturesCheckKBTest",
//$NON-NLS-1$ //$NON-NLS-2$
+ "naturesCheckKBTest")); //$NON-NLS-1$
return new TestWizardsProject(suite);
}
}
\ No newline at end of file