Author: akazakov
Date: 2007-07-05 10:00:00 -0400 (Thu, 05 Jul 2007)
New Revision: 2325
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java
Log:
http://jira.jboss.com/jira/browse/EXIN-216 Removed Set getComponentBuName(). Added
ISeamComponent getComponent(). Project can have only one ISeamComponent with unique name.
If project has a few seam components with the same name,
then corresponding ISeamComponent will have all declarations of components with this
name.
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java 2007-07-05
12:46:35 UTC (rev 2324)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java 2007-07-05
14:00:00 UTC (rev 2325)
@@ -20,10 +20,14 @@
public static String NATURE_ID = "org.jboss.tools.seam.core.seam";
/**
+ * Returns seam component. Project can have only one ISeamComponent with
+ * unique name. If project has a few seam components with the same name,
+ * then corresponding ISeamComponent will have all declarations
+ * of components with this name.
* @param name of component.
- * @return Set of ISeamComponents by name.
+ * @return ISeamComponent.
*/
- public Set<ISeamComponent> getComponentsByName(String name);
+ public ISeamComponent getComponent(String name);
/**
* @param scope type.