Author: scabanovich
Date: 2011-04-29 16:38:15 -0400 (Fri, 29 Apr 2011)
New Revision: 30982
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderLoggerExtension.java
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderServiceHandlerExtension.java
Log:
JBIDE-3120
https://issues.jboss.org/browse/JBIDE-3120
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderLoggerExtension.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderLoggerExtension.java 2011-04-29
20:37:57 UTC (rev 30981)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderLoggerExtension.java 2011-04-29
20:38:15 UTC (rev 30982)
@@ -72,11 +72,11 @@
InterfaceDefinition i = new InterfaceDefinition(t);
if(i.isAnnotationPresent(CDISeamSolderConstants.MESSAGE_LOGGER_ANNOTATION_TYPE_NAME))
{
TypeDefinition d = new TypeDefinition();
- d.setType(t, workingCopy.getRootContext());
+ d.setType(t, workingCopy.getRootContext(), 0);
workingCopy.addMessageLogger(path, d);
} else
if(i.isAnnotationPresent(CDISeamSolderConstants.MESSAGE_BUNDLE_ANNOTATION_TYPE_NAME)) {
TypeDefinition d = new TypeDefinition();
- d.setType(t, workingCopy.getRootContext());
+ d.setType(t, workingCopy.getRootContext(), 0);
workingCopy.addMessageBundle(path, d);
AnnotationDeclaration ad =
d.getAnnotation(CDISeamSolderConstants.MESSAGE_BUNDLE_ANNOTATION_TYPE_NAME);
if(ad.getMemberValue("projectCode") != null &&
ad.getMemberValue("projectCode").toString().length() > 0) {
@@ -172,7 +172,7 @@
class InterfaceDefinition extends AbstractMemberDefinition {
InterfaceDefinition(IType type) {
- setAnnotatable(type, type, context.getRootContext());
+ setAnnotatable(type, type, context.getRootContext(), 0);
}
}
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderServiceHandlerExtension.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderServiceHandlerExtension.java 2011-04-29
20:37:57 UTC (rev 30981)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderServiceHandlerExtension.java 2011-04-29
20:38:15 UTC (rev 30982)
@@ -82,7 +82,7 @@
for (IAnnotationDeclaration a: as) {
if(workingCopy.isServiceAnnotation(a.getType())) {
TypeDefinition d = new TypeDefinition();
- d.setType(t, workingCopy.getRootContext());
+ d.setType(t, workingCopy.getRootContext(), 0);
workingCopy.addService(path, d);
}
}
@@ -159,7 +159,7 @@
class InterfaceDefinition extends AbstractMemberDefinition {
InterfaceDefinition(IType type) {
- setAnnotatable(type, type, context.getRootContext());
+ setAnnotatable(type, type, context.getRootContext(), 0);
}
}