JBoss Tools SVN: r20149 - in trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi: internal/core/impl and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-02-05 11:03:14 -0500 (Fri, 05 Feb 2010)
New Revision: 20149
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/AbstractBeanElement.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/BeanMember.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ClassBean.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ParametedType.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/TypeDeclaration.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/AbstractTypeDefinition.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/ParametedTypeFactory.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5799
Cache added to ParametedTypeFactory
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -139,6 +139,8 @@
}
}
+ n.getTypeFactory().clean();
+
n.getDefinitions().newWorkingCopy(kind == FULL_BUILD);
if(n.getClassPath().update()) {
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -25,6 +25,7 @@
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.jboss.tools.cdi.internal.core.impl.definition.DefinitionContext;
+import org.jboss.tools.cdi.internal.core.impl.definition.ParametedTypeFactory;
import org.jboss.tools.cdi.internal.core.scanner.lib.ClassPathMonitor;
import org.jboss.tools.common.util.FileUtil;
import org.jboss.tools.jst.web.kb.internal.validation.ProjectValidationContext;
@@ -35,6 +36,8 @@
IProject project = null;
ICDIProject cdiProjectDelegate;
+ ParametedTypeFactory typeFactory = new ParametedTypeFactory();
+
ClassPathMonitor classPath = new ClassPathMonitor(this);
DefinitionContext definitions = new DefinitionContext();
@@ -80,6 +83,10 @@
return cdiProjectDelegate;
}
+ public ParametedTypeFactory getTypeFactory() {
+ return typeFactory;
+ }
+
public ClassPathMonitor getClassPath() {
return classPath;
}
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/AbstractBeanElement.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/AbstractBeanElement.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/AbstractBeanElement.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -135,6 +135,8 @@
IMemberValuePair[] ps = a.getMemberValuePairs();
if(ps == null || ps.length == 0) return result;
+ IMember member = (IMember)definition.getMember();
+ IType declaringType = member instanceof IType ? (IType)member : member.getDeclaringType();
Object value = ps[0].getValue();
if(value instanceof Object[]) {
Object[] os = (Object[])value;
@@ -142,9 +144,7 @@
String rawTypeName = os[i].toString();
String typeName = rawTypeName;
if(!typeName.endsWith(";")) typeName = "Q" + typeName + ";";
- IMember member = (IMember)definition.getMember();
- IType declaringType = member instanceof IType ? (IType)member : member.getDeclaringType();
- ParametedType p = ParametedTypeFactory.getParametedType(declaringType, typeName);
+ ParametedType p = getCDIProject().getNature().getTypeFactory().getParametedType(declaringType, typeName);
if(p != null) {
int offset = 0;
int length = 0;
@@ -162,7 +162,7 @@
String rawTypeName = value.toString();
String typeName = rawTypeName;
if(!typeName.endsWith(";")) typeName = "Q" + typeName + ";";
- ParametedType p = ParametedTypeFactory.getParametedType(((IMember)definition.getMember()).getDeclaringType(), typeName);
+ ParametedType p = getCDIProject().getNature().getTypeFactory().getParametedType(declaringType, typeName);
if(p != null) {
int offset = 0;
int length = 0;
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/BeanMember.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/BeanMember.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/BeanMember.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -45,7 +45,7 @@
String returnType = member instanceof IField ? ((IField)member).getTypeSignature()
: member instanceof IMethod ? ((IMethod)member).getReturnType() : null;
if(returnType != null) {
- ParametedType p = ParametedTypeFactory.getParametedType(member.getDeclaringType(), returnType);
+ ParametedType p = getCDIProject().getNature().getTypeFactory().getParametedType(member.getDeclaringType(), returnType);
if(p != null) {
typeDeclaration = new TypeDeclaration(p, -1, 0);
}
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -41,6 +41,7 @@
import org.jboss.tools.cdi.core.IStereotype;
import org.jboss.tools.cdi.internal.core.impl.definition.AnnotationDefinition;
import org.jboss.tools.cdi.internal.core.impl.definition.BeansXMLDefinition;
+import org.jboss.tools.cdi.internal.core.impl.definition.ParametedTypeFactory;
import org.jboss.tools.cdi.internal.core.impl.definition.TypeDefinition;
import org.jboss.tools.common.text.INodeReference;
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ClassBean.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ClassBean.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ClassBean.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -74,8 +74,8 @@
//add observer case
bm = new BeanMethod();
}
+ bm.setClassBean(this);
bm.setDefinition(m);
- bm.setClassBean(this);
methods.add(bm);
}
List<FieldDefinition> fs = definition.getFields();
@@ -89,8 +89,8 @@
//add observer case
bf = new BeanField();
}
+ bf.setClassBean(this);
bf.setDefinition(f);
- bf.setClassBean(this);
fields.add(bf);
}
}
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ParametedType.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ParametedType.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ParametedType.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -29,6 +29,7 @@
*
*/
public class ParametedType implements IParametedType {
+ protected ParametedTypeFactory typeFactory = null;
protected IType type;
protected String signature;
protected List<ParametedType> parameterTypes = new ArrayList<ParametedType>();
@@ -38,9 +39,16 @@
protected Set<IParametedType> inheritedTypes = new HashSet<IParametedType>();
Set<IParametedType> allInheritedTypes = null;
-
public ParametedType() {}
+ public ParametedTypeFactory getFactory() {
+ return typeFactory;
+ }
+
+ public void setFactory(ParametedTypeFactory typefactory) {
+ this.typeFactory = typefactory;
+ }
+
public IType getType() {
return type;
}
@@ -79,8 +87,10 @@
String sc = type.getSuperclassTypeSignature();
if(sc != null) {
sc = resolveParameters(sc);
+ } else if(!"java.lang.Object".equals(type.getFullyQualifiedName())) {
+ sc = "QObject;";
}
- superType = ParametedTypeFactory.getParametedType(type, sc);
+ superType = getFactory().getParametedType(type, sc);
if(superType != null) {
inheritedTypes.add(superType);
}
@@ -88,7 +98,7 @@
String[] is = type.getSuperInterfaceTypeSignatures();
if(is != null) for (int i = 0; i < is.length; i++) {
String p = resolveParameters(is[i]);
- ParametedType t = ParametedTypeFactory.getParametedType(type, p);
+ ParametedType t = getFactory().getParametedType(type, p);
if(t != null) {
inheritedTypes.add(t);
}
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/TypeDeclaration.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/TypeDeclaration.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/TypeDeclaration.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -22,9 +22,8 @@
int length;
int startPosition;
- public TypeDeclaration() {}
-
TypeDeclaration(ParametedType type, int startPosition, int length) {
+ this.setFactory(type.getFactory());
this.type = type.getType();
this.length = length;
this.startPosition = startPosition;
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/AbstractTypeDefinition.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/AbstractTypeDefinition.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/AbstractTypeDefinition.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -17,6 +17,7 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.IType;
import org.jboss.tools.cdi.core.IParametedType;
+import org.jboss.tools.cdi.internal.core.impl.CDIProject;
import org.jboss.tools.cdi.internal.core.impl.ParametedType;
import org.jboss.tools.common.util.FileUtil;
@@ -56,6 +57,7 @@
super.init(contextType, context);
qualifiedName = getType().getFullyQualifiedName();
parametedType = new ParametedType();
+ parametedType.setFactory(context.getProject().getDelegate().getNature().getTypeFactory());
parametedType.setType(this.type);
parametedType.setSignature("Q" + qualifiedName + ";");
}
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/ParametedTypeFactory.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/ParametedTypeFactory.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/ParametedTypeFactory.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -1,5 +1,7 @@
package org.jboss.tools.cdi.internal.core.impl.definition;
+import java.util.HashMap;
+import java.util.Map;
import java.util.StringTokenizer;
import org.eclipse.jdt.core.IType;
@@ -8,10 +10,14 @@
import org.jboss.tools.common.model.util.EclipseJavaUtil;
public class ParametedTypeFactory {
+ Map<String, ParametedType> cache = new HashMap<String, ParametedType>();
- public static ParametedType getParametedType(IType context, String typeSignature) throws JavaModelException {
+ public ParametedType getParametedType(IType context, String typeSignature) throws JavaModelException {
if(typeSignature == null) return null;
+ String key = context == null || context.isBinary() || "QObject;".equals(typeSignature) ? typeSignature : context.getFullyQualifiedName() + "+" + typeSignature;
+ if(cache.containsKey(key)) return cache.get(key);
ParametedType result = new ParametedType();
+ result.setFactory(this);
result.setSignature(typeSignature);
int startToken = typeSignature.indexOf('<');
if(startToken < 0) {
@@ -21,6 +27,7 @@
IType type = EclipseJavaUtil.findType(context.getJavaProject(), resovedTypeName);
if(type != null) {
result.setType(type);
+ cache.put(key, result);
return result;
}
} else {
@@ -47,10 +54,15 @@
newParams.append(param.getSignature());
}
result.setSignature("Q" + resovedTypeName + '<' + newParams + '>' + ';');
+ cache.put(key, result);
return result;
}
}
return null;
}
+ public void clean() {
+ cache.clear();
+ }
+
}
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2010-02-05 15:47:33 UTC (rev 20148)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2010-02-05 16:03:14 UTC (rev 20149)
@@ -246,6 +246,7 @@
// - bean class or producer method or field specifies a @Typed annotation,
// and the value member specifies a class which does not correspond to a type
// in the unrestricted set of bean types of a bean
+ int i = 0;
Set<ITypeDeclaration> typedDeclarations = bean.getRestrictedTypeDeclaratios();
if(!typedDeclarations.isEmpty()) {
Set<IParametedType> allTypes = bean.getAllTypes();
15 years, 8 months
JBoss Tools SVN: r20148 - trunk/esb/docs/esb_ref_guide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2010-02-05 10:47:33 -0500 (Fri, 05 Feb 2010)
New Revision: 20148
Modified:
trunk/esb/docs/esb_ref_guide/en/modules/esb_editor.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-1024 Action menu and wizard is customized - esb editor chapter is updated
Modified: trunk/esb/docs/esb_ref_guide/en/modules/esb_editor.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/en/modules/esb_editor.xml 2010-02-05 15:39:41 UTC (rev 20147)
+++ trunk/esb/docs/esb_ref_guide/en/modules/esb_editor.xml 2010-02-05 15:47:33 UTC (rev 20148)
@@ -127,9 +127,9 @@
</figure>
- <para>In order to add a new generic Action to your ESB XML file you should select the
+ <para>In order to add a new custom Action to your ESB XML file you should select the
Actions node under the Services, then right-click and choose <emphasis>
- <property>New > Generic Action</property>. </emphasis></para>
+ <property>New > Custom Action</property>. </emphasis></para>
<figure>
<title>Adding New Action in the Tree View</title>
15 years, 8 months
JBoss Tools SVN: r20147 - trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2010-02-05 10:39:41 -0500 (Fri, 05 Feb 2010)
New Revision: 20147
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointListHyperlink.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3125
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointListHyperlink.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointListHyperlink.java 2010-02-05 15:21:49 UTC (rev 20146)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointListHyperlink.java 2010-02-05 15:39:41 UTC (rev 20147)
@@ -71,7 +71,6 @@
Set<IBean> beans = cdiProject.getBeans(file.getFullPath());
-
IInjectionPoint injectionPoint = CDIUtil.findInjectionPoint(beans, element);
if(injectionPoint == null){
openFileFailed();
@@ -88,6 +87,12 @@
if(bean != null)
hyperlinks[index++] = new InjectedPointHyperlink(region, bean, getDocument());
}
+
+ if(hyperlinks.length == 0){
+ openFileFailed();
+ return;
+ }
+
if(hyperlinks.length == 1){
((InjectedPointHyperlink)hyperlinks[0]).doHyperlink(region);
}else{
@@ -97,10 +102,7 @@
installed = true;
mhp.install(viewer);
-// if(mhp.canHideHyperlinks())
-// mhp.hideHyperlinks();
-// else
- mhp.showHyperlinks(hyperlinks);
+ mhp.showHyperlinks(hyperlinks);
}
}
15 years, 8 months
JBoss Tools SVN: r20146 - in trunk/drools/docs/reference/en: modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2010-02-05 10:21:49 -0500 (Fri, 05 Feb 2010)
New Revision: 20146
Added:
trunk/drools/docs/reference/en/images/editors/editors1a.png
trunk/drools/docs/reference/en/images/editors/editors1b.png
trunk/drools/docs/reference/en/images/editors/editors1c.png
Modified:
trunk/drools/docs/reference/en/modules/editors.xml
Log:
<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:9pt;font-family:Sans Serif">
<p>https://jira.jboss.org/jira/browse/JBDS-1057- Added section describing Drools Domain Specific Language Editor to JBDS Drools Documentation.</p>
</body></html>
Added: trunk/drools/docs/reference/en/images/editors/editors1a.png
===================================================================
(Binary files differ)
Property changes on: trunk/drools/docs/reference/en/images/editors/editors1a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/drools/docs/reference/en/images/editors/editors1b.png
===================================================================
(Binary files differ)
Property changes on: trunk/drools/docs/reference/en/images/editors/editors1b.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/drools/docs/reference/en/images/editors/editors1c.png
===================================================================
(Binary files differ)
Property changes on: trunk/drools/docs/reference/en/images/editors/editors1c.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/drools/docs/reference/en/modules/editors.xml
===================================================================
--- trunk/drools/docs/reference/en/modules/editors.xml 2010-02-05 15:19:30 UTC (rev 20145)
+++ trunk/drools/docs/reference/en/modules/editors.xml 2010-02-05 15:21:49 UTC (rev 20146)
@@ -8,7 +8,128 @@
</chapterinfo>
<title>Editors</title>
+ <section>
+ <title>DSL Editor</title>
+ <para>A domain-specific language is a set of custom rules,
+ that is created specifically to solve problems in a particular domain
+ and is not intended to be able to solve problems outside it.
+ A DSL's configuration is stored in plain text.
+ </para>
+ <para>In Drools this configuration is presented by <property>.dsl</property>
+ files that can be created by <emphasis>right click on the project->New->Other->Drools->Domain Specific Language</emphasis>.</para>
+ <para>DSL Editor is a default editor for <property>.dsl</property> files:</para>
+ <figure>
+ <title>DSL Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/editors/editors1a.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>In the table below all the components of the DSL Editor page are described:</para>
+ <table>
+ <title>DSL Editor Components.</title>
+ <tgroup cols="2">
+ <colspec colnum="1" align="left" colwidth="1*"/>
+ <colspec colnum="2" align="left" colwidth="3*"/>
+
+ <thead>
+ <row>
+ <entry>Components</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>Description</entry>
+ <entry>User's comments on a certain language message mapping</entry>
+ </row>
+ <row>
+ <entry>Table of language message mappings</entry>
+ <entry>The table is divided into 4 rows:
+ <itemizedlist id="rows">
+ <listitem><para><emphasis>Language Expression</emphasis> :expression you want to use as a rule</para></listitem>
+ <listitem><para><emphasis>Rule Language Mapping</emphasis> :the implementation of the rules.This means that to this language expression the rule will be compiled
+ by the rule engine compiler.</para></listitem>
+ <listitem><para><emphasis>Object</emphasis> :name of the object</para></listitem>
+ <listitem><para><emphasis>Scope</emphasis> :indicates where the expression is
+ targeted: is it for the "condition" part of the rule ,"consequence" part, etc.</para></listitem>
+ </itemizedlist>
+ By clicking on some row's header you can sort the lines in the table according to the clicked row.
+ By double clicking on the line <link linkend="edit_wizard">Edit language mapping Wizard</link> will be open.
+ </entry>
+ </row>
+ <row>
+ <entry>Expression</entry>
+ <entry>Shows the language expression of the selected table line(language message mapping).</entry>
+ </row>
+
+ <row>
+ <entry>Mapping</entry>
+ <entry>Shows the rule of language mapping for the selected table line(language message mapping).</entry>
+ </row>
+ <row>
+ <entry>Object</entry>
+ <entry>Shows the object for the selected table line(language message mapping)</entry>
+ </row>
+ <row>
+ <entry id="sort">Sort By</entry>
+ <entry>Using this option you can change the type of lines sorting
+ in the table of language message mappings.To do this select from the drop down lins the method
+ of sorting you want and click <emphasis>Sort</emphasis> button.</entry>
+ </row>
+ <row>
+ <entry>Buttons</entry>
+ <entry><itemizedlist>
+ <listitem><para><emphasis>Edit</emphasis> :by clicking the button users can edit
+ selected in the table of language message mappings lines.For more information look
+ <link linkend="edit_wizard">Edit language mapping Wizard</link>section.</para></listitem>
+ <listitem><para><emphasis>Remove</emphasis> :if you click the button the selected mapping line will be deleted. </para></listitem>
+ <listitem><para><emphasis>Add</emphasis> :with this button you can add new mapping lines to the table.For more information look
+ <link linkend="add_wizard">Add language mapping Wizard</link>section. </para></listitem>
+ <listitem><para><emphasis>Sort</emphasis> : please, for more information go <link linkend="sort">here</link></para></listitem>
+ <listitem><para><emphasis>Copy</emphasis> :with this button you can add new mapping lines to the table
+ in which all the information will be copied from the selected mapping line.</para></listitem>
+ </itemizedlist>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <section id="edit_wizard">
+ <title>Edit language mapping Wizard</title>
+ <para>This wizard can be opened by double clicking some line
+ in the table of language message mappings or by clicking the <emphasis>Edit</emphasis>button.</para>
+ <para>On the picture below you can see all the options,Edit language mapping Wizard allow to change.</para>
+ <para>Their names as well as the meaning of the options are correspond to the <link linkend="rows">rows</link> of the table.</para>
+ <figure>
+ <title>Edit language mapping Wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/editors/editors1c.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>To change the mapping a user should edit the otions he want and finally click <emphasis>Ok</emphasis>.</para>
+ </section>
+ <section id="add_wizard">
+ <title>Add language mapping Wizard</title>
+ <para>This wizard is equal to <link linkend="edit_wizard">Edit language mapping Wizard</link>.
+ It can be opened by clicking the <emphasis>Add</emphasis> button.
+ </para>
+ <para>The only difference is that instead of editing the information you should enter new one.</para>
+ <figure>
+ <title>Add language mapping Wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/editors/editors1b.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </section>
+ </section>
+
<section id="textual_rule_editor">
<title>The Rule Editor</title>
15 years, 8 months
JBoss Tools SVN: r20145 - in trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext: hyperlink and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2010-02-05 10:19:30 -0500 (Fri, 05 Feb 2010)
New Revision: 20145
Added:
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointListHyperlink.java
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/CDIExtensionsMessages.java
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointHyperlinkDetector.java
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/messages.properties
Log:
https://jira.jboss.org/jira/browse/JBIDE-3125
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/CDIExtensionsMessages.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/CDIExtensionsMessages.java 2010-02-05 15:11:07 UTC (rev 20144)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/CDIExtensionsMessages.java 2010-02-05 15:19:30 UTC (rev 20145)
@@ -21,4 +21,5 @@
public static String CDI_EXT_PLUGIN_NO_MESSAGE;
public static String CDI_INJECTED_POINT_HYPERLINK_OPEN_BEAN;
+ public static String CDI_INJECTED_POINT_HYPERLINK_OPEN_INJECTED_CLASS;
}
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointHyperlinkDetector.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointHyperlinkDetector.java 2010-02-05 15:11:07 UTC (rev 20144)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointHyperlinkDetector.java 2010-02-05 15:19:30 UTC (rev 20145)
@@ -11,8 +11,6 @@
package org.jboss.tools.cdi.text.ext.hyperlink;
import java.util.ArrayList;
-import java.util.List;
-import java.util.Set;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
@@ -33,12 +31,6 @@
import org.eclipse.jface.text.hyperlink.IHyperlink;
import org.eclipse.ui.texteditor.ITextEditor;
import org.jboss.tools.cdi.core.CDIConstants;
-import org.jboss.tools.cdi.core.CDICoreNature;
-import org.jboss.tools.cdi.core.CDICorePlugin;
-import org.jboss.tools.cdi.core.CDIUtil;
-import org.jboss.tools.cdi.core.IBean;
-import org.jboss.tools.cdi.core.ICDIProject;
-import org.jboss.tools.cdi.core.IInjectionPoint;
public class InjectedPointHyperlinkDetector extends AbstractHyperlinkDetector{
@@ -76,18 +68,8 @@
if(file == null)
return null;
- CDICoreNature cdiNature = CDICorePlugin.getCDI(file.getProject(), true);
- if(cdiNature == null)
- return null;
- ICDIProject cdiProject = cdiNature.getDelegate();
-
- if(cdiProject == null)
- return null;
-
- Set<IBean> beans = cdiProject.getBeans(file.getFullPath());
-
IJavaElement[] elements = null;
try {
@@ -113,17 +95,11 @@
IAnnotation annotation = annotatable.getAnnotation(CDIConstants.INJECT_ANNOTATION_TYPE_NAME);
if (annotation == null)
continue;
- IInjectionPoint injectionPoint = CDIUtil.findInjectionPoint(beans, element);
- if(injectionPoint != null){
- Set<IBean> resultBeanSet = cdiProject.getBeans(injectionPoint);
- List<IBean> resultBeanList = CDIUtil.sortBeans(resultBeanSet);
- for(IBean bean : resultBeanList){
- if(bean != null)
- hyperlinks.add(new InjectedPointHyperlink(wordRegion, bean, document));
- }
- }
+
+ hyperlinks.add(new InjectedPointListHyperlink(file, textViewer, wordRegion, element, document));
}
}
+
if (hyperlinks != null && !hyperlinks.isEmpty()) {
return (IHyperlink[])hyperlinks.toArray(new IHyperlink[hyperlinks.size()]);
}
Added: trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointListHyperlink.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointListHyperlink.java (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointListHyperlink.java 2010-02-05 15:19:30 UTC (rev 20145)
@@ -0,0 +1,112 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.cdi.text.ext.hyperlink;
+
+import java.util.List;
+import java.util.Set;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.jdt.core.IJavaElement;
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.jface.text.IRegion;
+import org.eclipse.jface.text.ITextViewer;
+import org.eclipse.jface.text.hyperlink.IHyperlink;
+import org.eclipse.jface.text.hyperlink.MultipleHyperlinkPresenter;
+import org.eclipse.swt.graphics.RGB;
+import org.jboss.tools.cdi.core.CDICoreNature;
+import org.jboss.tools.cdi.core.CDICorePlugin;
+import org.jboss.tools.cdi.core.CDIUtil;
+import org.jboss.tools.cdi.core.IBean;
+import org.jboss.tools.cdi.core.ICDIProject;
+import org.jboss.tools.cdi.core.IInjectionPoint;
+import org.jboss.tools.cdi.text.ext.CDIExtensionsMessages;
+import org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlink;
+
+public class InjectedPointListHyperlink extends AbstractHyperlink{
+ private IFile file;
+ private IJavaElement element;
+ private IRegion region;
+ private ITextViewer viewer;
+
+ private static MultipleHyperlinkPresenter mhp = new MultipleHyperlinkPresenter(new RGB(0, 0, 255));
+ private static boolean installed = false;
+
+ public InjectedPointListHyperlink(IFile file, ITextViewer viewer, IRegion region, IJavaElement element, IDocument document){
+ this.file = file;
+ this.element = element;
+ this.region = region;
+ this.viewer = viewer;
+ setDocument(document);
+
+ }
+
+
+ @Override
+ protected IRegion doGetHyperlinkRegion(int offset) {
+ return region;
+ }
+
+ protected void doHyperlink(IRegion region) {
+ CDICoreNature cdiNature = CDICorePlugin.getCDI(file.getProject(), true);
+
+ if(cdiNature == null){
+ openFileFailed();
+ return;
+ }
+
+ ICDIProject cdiProject = cdiNature.getDelegate();
+
+ if(cdiProject == null){
+ openFileFailed();
+ return;
+ }
+
+ Set<IBean> beans = cdiProject.getBeans(file.getFullPath());
+
+
+ IInjectionPoint injectionPoint = CDIUtil.findInjectionPoint(beans, element);
+ if(injectionPoint == null){
+ openFileFailed();
+ return;
+ }
+
+ Set<IBean> resultBeanSet = cdiProject.getBeans(injectionPoint);
+ List<IBean> resultBeanList = CDIUtil.sortBeans(resultBeanSet);
+
+ IHyperlink[] hyperlinks = new IHyperlink[resultBeanList.size()];
+
+ int index=0;
+ for(IBean bean : resultBeanList){
+ if(bean != null)
+ hyperlinks[index++] = new InjectedPointHyperlink(region, bean, getDocument());
+ }
+ if(hyperlinks.length == 1){
+ ((InjectedPointHyperlink)hyperlinks[0]).doHyperlink(region);
+ }else{
+ if(installed)
+ mhp.uninstall();
+
+ installed = true;
+
+ mhp.install(viewer);
+// if(mhp.canHideHyperlinks())
+// mhp.hideHyperlinks();
+// else
+ mhp.showHyperlinks(hyperlinks);
+ }
+ }
+
+ @Override
+ public String getHyperlinkText() {
+ return CDIExtensionsMessages.CDI_INJECTED_POINT_HYPERLINK_OPEN_INJECTED_CLASS;
+ }
+
+}
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/hyperlink/InjectedPointListHyperlink.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/messages.properties
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/messages.properties 2010-02-05 15:11:07 UTC (rev 20144)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/src/org/jboss/tools/cdi/text/ext/messages.properties 2010-02-05 15:19:30 UTC (rev 20145)
@@ -1,2 +1,3 @@
CDI_EXT_PLUGIN_NO_MESSAGE=No message
CDI_INJECTED_POINT_HYPERLINK_OPEN_BEAN=Open CDI Bean
+CDI_INJECTED_POINT_HYPERLINK_OPEN_INJECTED_CLASS=Open Injected Class
15 years, 8 months
JBoss Tools SVN: r20144 - in trunk: struts/docs/struts_tools_ref_guide/en/images/struts and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2010-02-05 10:11:07 -0500 (Fri, 05 Feb 2010)
New Revision: 20144
Modified:
trunk/jsf/docs/jsf_tools_ref_guide/en/images/jsf_support/jsf_support_16.png
trunk/struts/docs/struts_tools_ref_guide/en/images/struts/struts_7.png
Log:
https://jira.jboss.org/jira/browse/JBDS-963 JBT project configuration dialogs copied/moved to Project->Configure menu, all guides are checked, the necessary screens are updated
Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/images/jsf_support/jsf_support_16.png
===================================================================
(Binary files differ)
Modified: trunk/struts/docs/struts_tools_ref_guide/en/images/struts/struts_7.png
===================================================================
(Binary files differ)
15 years, 8 months
JBoss Tools SVN: r20143 - in trunk/seam/docs/reference/en: modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2010-02-05 10:01:35 -0500 (Fri, 05 Feb 2010)
New Revision: 20143
Added:
trunk/seam/docs/reference/en/images/create_new_seam/create_seam_16b.png
Modified:
trunk/seam/docs/reference/en/modules/creating_new_seam.xml
Log:
JBDS-911 Use JPA configured connection option is available in the seam wizard - wrote sub-chapter "Seam project with JPA facets" in Selecting the Project
Facets chapter
Added: trunk/seam/docs/reference/en/images/create_new_seam/create_seam_16b.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/create_new_seam/create_seam_16b.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2010-02-05 14:30:02 UTC (rev 20142)
+++ trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2010-02-05 15:01:35 UTC (rev 20143)
@@ -108,8 +108,8 @@
</imageobject>
</mediaobject>
</figure>
- <para>Next page allows you to verify the information for a chosen server. Leave everything as
- it is and click on <emphasis>
+ <para>Next page allows you to verify the information for a chosen server. Leave everything
+ as it is and click on <emphasis>
<property>Next</property>
</emphasis>.</para>
<figure>
@@ -136,8 +136,8 @@
wizard</property>.</para>
<tip>
<title>Tip:</title>
- <para>We suggest that you look through <ulink url="&aslink;">AS manager
- guide</ulink> to find out more about runtimes and servers.</para>
+ <para>We suggest that you look through <ulink url="&aslink;">AS manager guide</ulink> to
+ find out more about runtimes and servers.</para>
</tip>
<figure>
<title>Completion of Runtime and Server Configuration</title>
@@ -159,8 +159,8 @@
<section id="projectFacets">
<title>Selecting the Project Facets</title>
<para>The <property>Project Facets wizard</property> allows you to enable or disable
- specific facets which define necessary features for the project. When you
- switch to this wizard form, all critical facets are already checked for the chosen
+ specific facets which define necessary features for the project. When you switch to this
+ wizard form, all critical facets are already checked for the chosen
Configuration.</para>
<para>Notice that this page of the wizard also allows you to set the necessary version for
any facet. </para>
@@ -189,8 +189,8 @@
<property>New</property>
</emphasis> button. If more than one runtime is checked here, the <emphasis>
<property>Make Primary</property>
- </emphasis> button won't be dimmed yet. Thus, you can make use of it to mark primary
- runtime.</para>
+ </emphasis> button won't be dimmed yet. Thus, you can make use of it to mark
+ primary runtime.</para>
<figure>
<title>Setting Runtime</title>
<mediaobject>
@@ -203,6 +203,34 @@
<property>Ok</property>
</emphasis> button will bring you to the <property>Web Module</property> wizard form
again.</para>
+ <section id="seamWithJPA">
+ <title>Seam project with JPA facets</title>
+ <para>For creating Seam project with JPA support you need to select<property> Java
+ Persistent</property> facet on <property>Project Facets</property> page and
+ click <property>OK</property>.</para>
+ <para>Then you should press <property>Next</property> and may leave the default value on
+ <property>Java application building</property> page and <property>Web Module
+ Settings</property> page.</para>
+ <para>After that you will see <property>JPA facet</property> page.</para>
+ <figure>
+ <title>JPA Facet page</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/create_new_seam/create_seam_16b.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>On this page you can choose <property>Platform</property> (vendor-specific JPA
+ implementation) for your project, type of JPA Implementation, and configure the
+ <property>Connection</property> to database in the <property
+ >Connection</property> area.</para>
+ <para>More about <property>JPA facet</property> page you can read in <ulink
+ url="http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.jpt.doc.user..."
+ >Eclipse documentation</ulink>. </para>
+ <para>On the next step you will see <property>JSF Capabilities</property> and <property>Seam
+ facet</property> pages, which are mostly the same as in general Seam
+ project.</para>
+ </section>
</section>
<section id="configureJava">
<title>Java application building configuration</title>
@@ -263,12 +291,12 @@
</imageobject>
</mediaobject>
</figure>
- <para> If a new library is required, click <property>Manage libraries...</property> ( <inlinemediaobject>
+ <para> If a new library is required, click <property>Manage libraries...</property> (
+ <inlinemediaobject>
<imageobject>
<imagedata fileref="images/create_new_seam/create_seam_17a.png"/>
</imageobject>
- </inlinemediaobject>) button. Then you should click <property
- >New</property>.</para>
+ </inlinemediaobject>) button. Then you should click <property>New</property>.</para>
<figure>
<title>Using Custom JSF implementation Library </title>
<mediaobject>
@@ -286,8 +314,8 @@
</imageobject>
</mediaobject>
</figure>
- <para>To add proper <property>Library JARs</property>, click <property>Add JARs...</property>
- button and select the JARs on your hard drive. </para>
+ <para>To add proper <property>Library JARs</property>, click <property>Add
+ JARs...</property> button and select the JARs on your hard drive. </para>
<figure>
<title>Selection Library JARs</title>
<mediaobject>
@@ -296,11 +324,12 @@
</imageobject>
</mediaobject>
</figure>
- <para>You can download necessary JSF implementation libraries provided by Sun and Apache Foundation as well. Click <property>Download...</property> (<inlinemediaobject>
- <imageobject>
- <imagedata fileref="images/create_new_seam/create_seam_23a.png"/>
- </imageobject>
- </inlinemediaobject>) button and choose one of proposed libraries.</para>
+ <para>You can download necessary JSF implementation libraries provided by Sun and Apache
+ Foundation as well. Click <property>Download...</property> (<inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="images/create_new_seam/create_seam_23a.png"/>
+ </imageobject>
+ </inlinemediaobject>) button and choose one of proposed libraries.</para>
<figure>
<title>Download JSF Implementation Library</title>
<mediaobject>
@@ -320,8 +349,8 @@
</imageobject>
</mediaobject>
</figure>
- <para>Since we are arranging the Seam Web project, the last step we should do is to
- adjust project configurations associated with the Seam.</para>
+ <para>Since we are arranging the Seam Web project, the last step we should do is to adjust
+ project configurations associated with the Seam.</para>
</section>
<section id="seamFacet">
<title>Configure Seam Facet Settings</title>
@@ -342,10 +371,10 @@
</itemizedlist>
<para>For that click on <emphasis>
<property>Add</property>
- </emphasis> button in the <property>General</property> section. Note, in the
- wizard shown below you can create a Seam runtime only for the version that was
- selected in the <link linkend="projectFacets">Project Facets</link> wizard (version 1.2
- in our case).</para>
+ </emphasis> button in the <property>General</property> section. Note, in the wizard
+ shown below you can create a Seam runtime only for the version that was selected in the
+ <link linkend="projectFacets">Project Facets</link> wizard (version 1.2 in our
+ case).</para>
<figure>
<title>Seam Runtime Creation</title>
<mediaobject>
@@ -400,8 +429,8 @@
</imageobject>
</mediaobject>
</figure>
- <para>On the dialog you'll be asked to enter its name and description. And then
- you should select a proper driver and adjust connection details. Press <emphasis>
+ <para>On the dialog you'll be asked to enter its name and description. And then you
+ should select a proper driver and adjust connection details. Press <emphasis>
<property>Next</property>
</emphasis> to preview all the adjusted settings and complete the creation of the new
profile.</para>
@@ -415,10 +444,10 @@
</figure>
<para>The next block of settings in the Seam Facet wizard are describing a Database and a
connection to it.</para>
- <para>In the <property>Code Generation</property> section the wizard has already provided the
- names for your <property>Session Bean</property>, <property>Entity Bean</property> and
- <property>Test</property> packages generation (optional). Of course, you can change them on others
- of your choice.</para>
+ <para>In the <property>Code Generation</property> section the wizard has already provided
+ the names for your <property>Session Bean</property>, <property>Entity Bean</property>
+ and <property>Test</property> packages generation (optional). Of course, you can change
+ them on others of your choice.</para>
<figure>
<title>Code Generation Section</title>
<mediaobject>
15 years, 8 months
JBoss Tools SVN: r20142 - branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-02-05 09:30:02 -0500 (Fri, 05 Feb 2010)
New Revision: 20142
Modified:
branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/Formatter.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5706 - suppress warnings
Modified: branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/Formatter.java
===================================================================
--- branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/Formatter.java 2010-02-05 14:28:02 UTC (rev 20141)
+++ branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/Formatter.java 2010-02-05 14:30:02 UTC (rev 20142)
@@ -12,6 +12,7 @@
* In here to simplify migration from 3.2 to 3.3 where this class changed.
*
*/
+@SuppressWarnings({ "unchecked", "nls" })
public class Formatter {
private static final Set BEGIN_CLAUSES = new HashSet();
15 years, 8 months
JBoss Tools SVN: r20141 - in branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/lib: hibernate and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-02-05 09:28:02 -0500 (Fri, 05 Feb 2010)
New Revision: 20141
Modified:
branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/lib/annotations/ejb3-persistence.jar
branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/lib/hibernate/asm.jar
Log:
https://jira.jboss.org/jira/browse/JBIDE-5706 - update jars
Modified: branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/lib/annotations/ejb3-persistence.jar
===================================================================
(Binary files differ)
Modified: branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/lib/hibernate/asm.jar
===================================================================
(Binary files differ)
15 years, 8 months
JBoss Tools SVN: r20140 - in branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse: META-INF and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2010-02-05 08:19:59 -0500 (Fri, 05 Feb 2010)
New Revision: 20140
Modified:
branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF
branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/build.properties
Log:
in branch for JBIDE-5706 work
Add new jars to MANIFEST.MF and build.properties + add new packages to exported packages
Modified: branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF
===================================================================
--- branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF 2010-02-05 12:56:43 UTC (rev 20139)
+++ branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF 2010-02-05 13:19:59 UTC (rev 20140)
@@ -40,7 +40,12 @@
lib/annotations/hibernate-validator.jar,
lib/annotations/hibernate-search.jar,
lib/annotations/lucene-core-2.2.0.jar,
- lib/hibernate/log4j-1.2.15.jar
+ lib/hibernate/log4j-1.2.15.jar,
+ lib/hibernate/cglib-2.2.jar,
+ lib/hibernate/commons-collections-3.1.jar,
+ lib/hibernate/hibernate-jmx.jar,
+ lib/hibernate/slf4j-api-1.5.8.jar,
+ lib/hibernate/slf4j-log4j12-1.5.8.jar
Bundle-Activator: org.hibernate.eclipse.HibernatePlugin
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
@@ -144,7 +149,9 @@
hbm,
javassist,
javassist.bytecode,
+ javassist.bytecode.analysis,
javassist.bytecode.annotation,
+ javassist.bytecode.stackmap,
javassist.compiler,
javassist.compiler.ast,
javassist.convert,
@@ -200,8 +207,17 @@
net.sf.ehcache.util,
net.sf.swarmcache,
org.apache.commons.collections,
+ org.apache.commons.collections.bag,
+ org.apache.commons.collections.bidimap,
+ org.apache.commons.collections.buffer,
+ org.apache.commons.collections.collection,
org.apache.commons.collections.comparators,
+ org.apache.commons.collections.functors,
org.apache.commons.collections.iterators,
+ org.apache.commons.collections.keyvalue,
+ org.apache.commons.collections.list,
+ org.apache.commons.collections.map,
+ org.apache.commons.collections.set,
org.apache.commons.logging,
org.apache.commons.logging.impl,
org.apache.log4j,
@@ -250,16 +266,21 @@
org.hibernate.annotations.common.reflection.java.generics,
org.hibernate.annotations.common.util,
org.hibernate.bytecode,
+ org.hibernate.bytecode.buildtime,
org.hibernate.bytecode.cglib,
org.hibernate.bytecode.javassist,
org.hibernate.bytecode.util,
org.hibernate.cache,
+ org.hibernate.cache.access,
org.hibernate.cache.entry,
+ org.hibernate.cache.impl,
+ org.hibernate.cache.impl.bridge,
org.hibernate.cfg,
org.hibernate.cfg.annotations,
org.hibernate.cfg.annotations.reflection,
org.hibernate.cfg.reveng,
org.hibernate.cfg.reveng.dialect,
+ org.hibernate.cfg.search,
org.hibernate.classic,
org.hibernate.collection,
org.hibernate.connection,
@@ -272,7 +293,9 @@
org.hibernate.dialect,
org.hibernate.dialect.function,
org.hibernate.dialect.lock,
+ org.hibernate.dialect.resolver,
org.hibernate.eclipse,
+ org.hibernate.eclipse.launch,
org.hibernate.eclipse.logging,
org.hibernate.eclipse.logging.xpl,
org.hibernate.ejb,
@@ -362,14 +385,20 @@
org.jboss,
org.jboss.cache,
org.jboss.cache.aop,
+ org.jboss.cache.aop.annotation,
org.jboss.cache.aop.collection,
+ org.jboss.cache.aop.eviction,
+ org.jboss.cache.aop.interceptors,
+ org.jboss.cache.aop.references,
org.jboss.cache.aop.util,
+ org.jboss.cache.buddyreplication,
org.jboss.cache.config,
org.jboss.cache.eviction,
org.jboss.cache.factories,
org.jboss.cache.interceptors,
org.jboss.cache.loader,
org.jboss.cache.loader.bdbje,
+ org.jboss.cache.loader.jdbm,
org.jboss.cache.loader.rmi,
org.jboss.cache.loader.tcp,
org.jboss.cache.lock,
@@ -480,6 +509,7 @@
org.objectweb.asm.attrs,
org.slf4j,
org.slf4j.helpers,
+ org.slf4j.impl,
org.slf4j.spi,
org.w3c.tidy,
org.w3c.tidy.ant,
Modified: branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/build.properties
===================================================================
--- branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/build.properties 2010-02-05 12:56:43 UTC (rev 20139)
+++ branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/build.properties 2010-02-05 13:19:59 UTC (rev 20140)
@@ -19,7 +19,10 @@
about.mappings,\
about.properties,\
hibernate_icon.gif,\
- plugin.properties
+ plugin.properties,\
+ lib/hibernate/cglib-2.2.jar,\
+ lib/hibernate/commons-collections-3.1.jar,\
+ lib/hibernate/hibernate-jmx.jar
jars.compile.order = org.hibernate.eclipse.jar
source.org.hibernate.eclipse.jar = src/
output.org.hibernate.eclipse.jar = bin/
15 years, 8 months