[jbosstools-commits] JBoss Tools SVN: r6855 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Tue Mar 11 12:59:46 EDT 2008
Author: scabanovich
Date: 2008-03-11 12:59:45 -0400 (Tue, 11 Mar 2008)
New Revision: 6855
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java
Log:
JBIDE-1322 Comment added.
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java 2008-03-11 16:50:57 UTC (rev 6854)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java 2008-03-11 16:59:45 UTC (rev 6855)
@@ -40,7 +40,9 @@
/**
* @return current root seam project name based on the current selection;
- * empty string if there is no seam project to be found
+ * name of currently selected project if it is not a seam project -
+ * in this case it is up to wizard to show what is the problem with the selection;
+ * empty string if no project is selected
*/
public static String getCurrentSelectedRootSeamProjectName() {
ISelection sel = PlatformUI.getWorkbench().getActiveWorkbenchWindow()
@@ -75,6 +77,14 @@
return null;
}
+ /**
+ *
+ * @param sel
+ * @return root seam project name based on the passed selection;
+ * name of project if selection contains a project which is not a seam project -
+ * in this case it is up to wizard to show what is the problem with the selection;
+ * empty string if selection contains no project
+ */
public static String getRootSeamProjectName(ISelection sel) {
IProject initial = getInitialProject(sel);
IProject project = getRootSeamProject(initial);
More information about the jbosstools-commits
mailing list