JBoss Tools SVN: r23345 - in trunk/documentation/whatsnew: cdi and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2010-07-09 08:51:50 -0400 (Fri, 09 Jul 2010)
New Revision: 23345
Modified:
trunk/documentation/whatsnew/cdi/cdi-news-3.2.0.M1.html
trunk/documentation/whatsnew/hibernate/hibernate-news-3.4.0.M1.html
trunk/documentation/whatsnew/index.html
trunk/documentation/whatsnew/jst/jst-news-3.2.0.M1.html
trunk/documentation/whatsnew/seam/seam-news-3.2.0.M1.html
Log:
3.2.0.M1 new and noteworthy
Modified: trunk/documentation/whatsnew/cdi/cdi-news-3.2.0.M1.html
===================================================================
--- trunk/documentation/whatsnew/cdi/cdi-news-3.2.0.M1.html 2010-07-09 12:51:30 UTC (rev 23344)
+++ trunk/documentation/whatsnew/cdi/cdi-news-3.2.0.M1.html 2010-07-09 12:51:50 UTC (rev 23345)
@@ -12,7 +12,7 @@
<h1>CDI tools 3.2.0.M1 What's New</h1>
<p align="right"><a href="../index.html">< Main Index</a> <a
- href="../jst/jst-news-3.1.0.M4.html">JST/JSF Tools News ></a></p>
+ href="../seam/seam-news-3.2.0.M1.html">Seam Tools News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
Modified: trunk/documentation/whatsnew/hibernate/hibernate-news-3.4.0.M1.html
===================================================================
--- trunk/documentation/whatsnew/hibernate/hibernate-news-3.4.0.M1.html 2010-07-09 12:51:30 UTC (rev 23344)
+++ trunk/documentation/whatsnew/hibernate/hibernate-news-3.4.0.M1.html 2010-07-09 12:51:50 UTC (rev 23345)
@@ -11,7 +11,7 @@
<body>
<h1>Hibernate tools 3.4.0.M1 What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../examples/examples-news-1.1.0.M4.html">Project Examples ></a></p>
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../vpe/vpe-news-3.2.0.M1.html">Visual Page Editor ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
Modified: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html 2010-07-09 12:51:30 UTC (rev 23344)
+++ trunk/documentation/whatsnew/index.html 2010-07-09 12:51:50 UTC (rev 23345)
@@ -24,7 +24,7 @@
<td valign="top" align="left">
<p align="right"><b>3.2.0.M1</b>
<td valign="top">
- <p><a href="hibernate/hibernate-news-3.3.0.CR2.html">Hibernate Tools</a></p>
+ <p><a href="hibernate/hibernate-news-3.4.0.M1.html">Hibernate Tools</a></p>
<p><a href="vpe/vpe-news-3.2.0.M1.html">Visual Page Editor</a></p>
<p><a href="cdi/cdi-news-3.2.0.M1.html">CDI (JSR-299) Tools</a></p>
<p><a href="seam/seam-news-3.2.0.M1.html">Seam Tools</a></p>
Modified: trunk/documentation/whatsnew/jst/jst-news-3.2.0.M1.html
===================================================================
--- trunk/documentation/whatsnew/jst/jst-news-3.2.0.M1.html 2010-07-09 12:51:30 UTC (rev 23344)
+++ trunk/documentation/whatsnew/jst/jst-news-3.2.0.M1.html 2010-07-09 12:51:50 UTC (rev 23345)
@@ -11,8 +11,7 @@
<body>
<h1>JST/JSF 3.2.0.M1 What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a
- href="../jst/jst-news-3.1.0.M4.html">JST/JSF Tools News ></a></p>
+<p align="right"><a href="../index.html">< Main Index</a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
Modified: trunk/documentation/whatsnew/seam/seam-news-3.2.0.M1.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-3.2.0.M1.html 2010-07-09 12:51:30 UTC (rev 23344)
+++ trunk/documentation/whatsnew/seam/seam-news-3.2.0.M1.html 2010-07-09 12:51:50 UTC (rev 23345)
@@ -12,7 +12,7 @@
<h1>Seam tools 3.2.0.M1 What's New</h1>
<p align="right"><a href="../index.html">< Main Index</a> <a
- href="../jst/jst-news-3.1.0.M4.html">JST/JSF Tools News ></a></p>
+ href="../jst/jst-news-3.2.0.M1.html">JST/JSF Tools News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
15 years, 9 months
JBoss Tools SVN: r23344 - 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-07-09 08:51:30 -0400 (Fri, 09 Jul 2010)
New Revision: 23344
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDIUtil.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/BeanMethod.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/InterceptorBindingElement.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/StereotypeElement.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/MethodDefinition.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
Log:
https://jira.jboss.org/browse/JBIDE-6550
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDIUtil.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDIUtil.java 2010-07-09 12:44:37 UTC (rev 23343)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDIUtil.java 2010-07-09 12:51:30 UTC (rev 23344)
@@ -260,7 +260,9 @@
if(annotated instanceof IStereotyped) {
Set<IStereotypeDeclaration> stereoTypeDeclarations = ((IStereotyped)annotated).getStereotypeDeclarations();
for (IStereotypeDeclaration stereotypeDeclaration : stereoTypeDeclarations) {
- getAnnotationDeclaration(stereotypeDeclaration.getStereotype(), annotation);
+ if(getAnnotationDeclaration(stereotypeDeclaration.getStereotype(), annotation) != null) {
+ return stereotypeDeclaration;
+ }
}
}
return null;
@@ -777,6 +779,17 @@
return cdiNature;
}
+ public static Set<IInterceptorBinding> getAllInterceptorBindings(IInterceptorBinded binded) {
+ Set<IInterceptorBindingDeclaration> ds = collectInheritedInterceptorBindingDeclaratios(binded, new HashSet<IInterceptorBindingDeclaration>());
+ Set<IInterceptorBinding> result = new HashSet<IInterceptorBinding>();
+ for (IInterceptorBindingDeclaration d: ds) {
+ IInterceptorBinding b = d.getInterceptorBinding();
+ if(b != null) result.add(b);
+ }
+ return result;
+ }
+
+
/**
* Collect all the interceptor binding declarations from the bean class or method including all the inherited bindings.
* @param binded bean class or method
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/BeanMethod.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/BeanMethod.java 2010-07-09 12:44:37 UTC (rev 23343)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/BeanMethod.java 2010-07-09 12:51:30 UTC (rev 23344)
@@ -17,6 +17,7 @@
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IMethod;
import org.jboss.tools.cdi.core.CDIConstants;
+import org.jboss.tools.cdi.core.CDIUtil;
import org.jboss.tools.cdi.core.IBeanMethod;
import org.jboss.tools.cdi.core.IInterceptorBinding;
import org.jboss.tools.cdi.core.IInterceptorBindingDeclaration;
@@ -112,6 +113,6 @@
* @see org.jboss.tools.cdi.core.IInterceptorBinded#getInterceptorBindings()
*/
public Set<IInterceptorBinding> getInterceptorBindings() {
- return ClassBean.getInterceptorBindings(definition);
+ return CDIUtil.getAllInterceptorBindings(this);
}
}
\ No newline at end of file
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-07-09 12:44:37 UTC (rev 23343)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ClassBean.java 2010-07-09 12:51:30 UTC (rev 23344)
@@ -25,6 +25,7 @@
import org.eclipse.jdt.core.JavaModelException;
import org.jboss.tools.cdi.core.CDIConstants;
import org.jboss.tools.cdi.core.CDICorePlugin;
+import org.jboss.tools.cdi.core.CDIUtil;
import org.jboss.tools.cdi.core.IAnnotationDeclaration;
import org.jboss.tools.cdi.core.IBeanMethod;
import org.jboss.tools.cdi.core.IClassBean;
@@ -39,7 +40,6 @@
import org.jboss.tools.cdi.core.IScopeDeclaration;
import org.jboss.tools.cdi.core.IStereotype;
import org.jboss.tools.cdi.core.IStereotypeDeclaration;
-import org.jboss.tools.cdi.core.IStereotyped;
import org.jboss.tools.cdi.core.ITypeDeclaration;
import org.jboss.tools.cdi.internal.core.impl.definition.AbstractMemberDefinition;
import org.jboss.tools.cdi.internal.core.impl.definition.FieldDefinition;
@@ -195,22 +195,12 @@
return result;
}
- public static Set<IInterceptorBinding> getInterceptorBindings(AbstractMemberDefinition definition) {
- // TODO collect bindings from stereotypes. See https://jira.jboss.org/browse/JBIDE-6550
- Set<IInterceptorBinding> result = new HashSet<IInterceptorBinding>();
- Set<IInterceptorBindingDeclaration> declarations = getInterceptorBindingDeclarations(definition);
- for (IInterceptorBindingDeclaration declaration: declarations) {
- result.add(declaration.getInterceptorBinding());
- }
- return result;
- }
-
/*
* (non-Javadoc)
* @see org.jboss.tools.cdi.core.IClassBean#getInterceptorBindings()
*/
public Set<IInterceptorBinding> getInterceptorBindings() {
- return getInterceptorBindings(definition);
+ return CDIUtil.getAllInterceptorBindings(this);
}
public Set<IBeanMethod> getObserverMethods() {
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/InterceptorBindingElement.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/InterceptorBindingElement.java 2010-07-09 12:44:37 UTC (rev 23343)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/InterceptorBindingElement.java 2010-07-09 12:51:30 UTC (rev 23344)
@@ -12,6 +12,7 @@
import java.util.Set;
+import org.jboss.tools.cdi.core.CDIUtil;
import org.jboss.tools.cdi.core.IInterceptorBinding;
import org.jboss.tools.cdi.core.IInterceptorBindingDeclaration;
@@ -37,6 +38,6 @@
* @see org.jboss.tools.cdi.core.IInterceptorBinded#getInterceptorBindings()
*/
public Set<IInterceptorBinding> getInterceptorBindings() {
- return ClassBean.getInterceptorBindings(definition);
+ return CDIUtil.getAllInterceptorBindings(this);
}
}
\ No newline at end of file
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/StereotypeElement.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/StereotypeElement.java 2010-07-09 12:44:37 UTC (rev 23343)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/StereotypeElement.java 2010-07-09 12:51:30 UTC (rev 23344)
@@ -16,6 +16,7 @@
import java.util.Set;
import org.eclipse.jdt.core.IAnnotation;
+import org.jboss.tools.cdi.core.CDIUtil;
import org.jboss.tools.cdi.core.IAnnotationDeclaration;
import org.jboss.tools.cdi.core.IInterceptorBinding;
import org.jboss.tools.cdi.core.IInterceptorBindingDeclaration;
@@ -63,7 +64,7 @@
* @see org.jboss.tools.cdi.core.IInterceptorBinded#getInterceptorBindings()
*/
public Set<IInterceptorBinding> getInterceptorBindings() {
- return ClassBean.getInterceptorBindings(definition);
+ return CDIUtil.getAllInterceptorBindings(this);
}
/*
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/MethodDefinition.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/MethodDefinition.java 2010-07-09 12:44:37 UTC (rev 23343)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/MethodDefinition.java 2010-07-09 12:51:30 UTC (rev 23344)
@@ -11,6 +11,7 @@
package org.jboss.tools.cdi.internal.core.impl.definition;
import java.util.ArrayList;
+import java.util.HashSet;
import java.util.List;
import java.util.Set;
@@ -19,9 +20,13 @@
import org.eclipse.jdt.core.ISourceRange;
import org.eclipse.jdt.core.IType;
import org.jboss.tools.cdi.core.CDIConstants;
+import org.jboss.tools.cdi.core.IAnnotationDeclaration;
import org.jboss.tools.cdi.core.IInterceptorBinding;
+import org.jboss.tools.cdi.core.IInterceptorBindingDeclaration;
+import org.jboss.tools.cdi.core.IStereotypeDeclaration;
import org.jboss.tools.cdi.internal.core.impl.AnnotationDeclaration;
import org.jboss.tools.cdi.internal.core.impl.ClassBean;
+import org.jboss.tools.cdi.internal.core.impl.InterceptorBindingDeclaration;
import org.jboss.tools.cdi.internal.core.impl.ParametedType;
import org.jboss.tools.common.model.project.ext.impl.ValueInfo;
import org.jboss.tools.common.model.util.EclipseJavaUtil;
@@ -136,12 +141,27 @@
@Override
public boolean isCDIAnnotated() {
- return super.isCDIAnnotated() || isDisposer() || isObserver() || getPreDestroyMethod() != null || getPostConstructorMethod() != null || !getInterceptorBindings().isEmpty();
+ return super.isCDIAnnotated() || isDisposer() || isObserver() || getPreDestroyMethod() != null || getPostConstructorMethod() != null || !getInterceptorBindings().isEmpty() || hasStereotypeDeclarations();
}
public Set<IInterceptorBinding> getInterceptorBindings() {
- return ClassBean.getInterceptorBindings(this);
+ Set<IInterceptorBinding> result = new HashSet<IInterceptorBinding>();
+ Set<IInterceptorBindingDeclaration> declarations = ClassBean.getInterceptorBindingDeclarations(this);
+ for (IInterceptorBindingDeclaration declaration: declarations) {
+ result.add(declaration.getInterceptorBinding());
+ }
+ return result;
}
+
+ public boolean hasStereotypeDeclarations() {
+ List<IAnnotationDeclaration> as = getAnnotations();
+ for (IAnnotationDeclaration a: as) {
+ if(a instanceof IStereotypeDeclaration) {
+ return true;
+ }
+ }
+ return false;
+ }
public List<ParameterDefinition> getParameters() {
return parameters;
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-07-09 12:44:37 UTC (rev 23343)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2010-07-09 12:51:30 UTC (rev 23344)
@@ -411,12 +411,14 @@
*/
try {
if(hasConflictedInterceptorBindings(bean)) {
+ //TODO consider putting markers to interceptor bindings/stereotype declarations.
ITextSourceReference reference = CDIUtil.convertToSourceReference(bean.getBeanClass().getNameRange());
addError(CDIValidationMessages.CONFLICTING_INTERCEPTOR_BINDINGS, CDIPreferences.CONFLICTING_INTERCEPTOR_BINDINGS, reference, bean.getResource());
}
Set<IBeanMethod> methods = bean.getAllMethods();
for (IBeanMethod method : methods) {
if(hasConflictedInterceptorBindings(method)) {
+ //TODO consider putting markers to interceptor bindings/stereotype declarations.
ITextSourceReference reference = CDIUtil.convertToSourceReference(method.getMethod().getNameRange());
addError(CDIValidationMessages.CONFLICTING_INTERCEPTOR_BINDINGS, CDIPreferences.CONFLICTING_INTERCEPTOR_BINDINGS, reference, bean.getResource());
}
15 years, 9 months
JBoss Tools SVN: r23343 - trunk/documentation/whatsnew.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2010-07-09 08:44:37 -0400 (Fri, 09 Jul 2010)
New Revision: 23343
Modified:
trunk/documentation/whatsnew/index.html
Log:
3.2.0.M1 new and noteworthy
Modified: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html 2010-07-09 12:35:55 UTC (rev 23342)
+++ trunk/documentation/whatsnew/index.html 2010-07-09 12:44:37 UTC (rev 23343)
@@ -12,8 +12,27 @@
<html>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr>
+ <h3>JBoss Tools 3.2 individual new and noteworthy</h3>
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>3.2.0.M1</b>
+ <td valign="top">
+ <p><a href="hibernate/hibernate-news-3.3.0.CR2.html">Hibernate Tools</a></p>
+ <p><a href="vpe/vpe-news-3.2.0.M1.html">Visual Page Editor</a></p>
+ <p><a href="cdi/cdi-news-3.2.0.M1.html">CDI (JSR-299) Tools</a></p>
+ <p><a href="seam/seam-news-3.2.0.M1.html">Seam Tools</a></p>
+ <p><a href="jst/jst-news-3.2.0.M1.html">JST/JSF Tools</a></p>
+ </td>
+ </tr>
+
<tr>
<td colspan="2">
<hr>
15 years, 9 months
JBoss Tools SVN: r23342 - in trunk/documentation/whatsnew/jst: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2010-07-09 08:35:55 -0400 (Fri, 09 Jul 2010)
New Revision: 23342
Added:
trunk/documentation/whatsnew/jst/images/AddJSFCapabilities.png
trunk/documentation/whatsnew/jst/images/ELToolTip.jpg
trunk/documentation/whatsnew/jst/images/NewJSFCompositeComponent.png
trunk/documentation/whatsnew/jst/images/PageTemplates.png
trunk/documentation/whatsnew/jst/jst-news-3.2.0.M1.html
Log:
3.2.0.M1 new and noteworthy
Added: trunk/documentation/whatsnew/jst/images/AddJSFCapabilities.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/images/AddJSFCapabilities.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/jst/images/ELToolTip.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/images/ELToolTip.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/jst/images/NewJSFCompositeComponent.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/images/NewJSFCompositeComponent.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/jst/images/PageTemplates.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/images/PageTemplates.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/jst/jst-news-3.2.0.M1.html
===================================================================
--- trunk/documentation/whatsnew/jst/jst-news-3.2.0.M1.html (rev 0)
+++ trunk/documentation/whatsnew/jst/jst-news-3.2.0.M1.html 2010-07-09 12:35:55 UTC (rev 23342)
@@ -0,0 +1,238 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css" />
+<title>JST/JSF 3.2.0.M1 What's New</title>
+</head>
+<body>
+<h1>JST/JSF 3.2.0.M1 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a
+ href="../jst/jst-news-3.1.0.M4.html">JST/JSF Tools News ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+<tr>
+ <td colspan="2">
+ <hr />
+ <h3>Wizards</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Add JSF Capabilities wizard updated</b></p>
+ </td>
+ <td valign="top">
+ <p>Add JSF Capabilities wizard now supports Servlet 3.0.</p>
+ <img src="images/AddJSFCapabilities.png"/>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5888">Related Jira</a></small></p>
+ </td>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>New JSF Composite Component Template</b></p>
+ </td>
+ <td valign="top">
+ <p>New JSF Composite Component Template as part of New XHTML Page Wizard.</p>
+ <img src="images/NewJSFCompositeComponent.png"/>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5946">Related Jira</a></small></p>
+ </td>
+
+ </tr>
+ <td colspan="2">
+ <hr />
+ <h3>Refactoring</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Rename action for Composite Attribute</b></p>
+ </td>
+ <td valign="top">
+ <p>Rename Composite Attribute action also shows
+ all resources that has references renamed attribute.</p>
+ <p>Rename action is available from context menu on a Composite Attribute in JSP/XHTML editor.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5943">Related Jira</a></small></p>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-6276">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Rename action for EL Variable</b></p>
+ </td>
+ <td valign="top">
+ <p>Rename action for EL Variable also shows
+ all resources that has references renamed EL variable.</p>
+ <p>Rename action is available from context menu on an EL variable in JSP/XHTML editor.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4990">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Refactor JSF Component</b></p>
+ </td>
+ <td valign="top">
+ <p>If user changes name of component file, refactoring changes names this component in project.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5942">Related Jira</a></small></p>
+ </td>
+ </tr>
+ </tr>
+ <td colspan="2">
+ <hr />
+ <h3>Editors</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>WEB XML Editor</b></p>
+ </td>
+ <td valign="top">
+ <p>WEB XML Editor now supports Servlet 3.0.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5975">Related Jira</a></small></p>
+ </td>
+ </tr>
+ </tr>
+ <td colspan="2">
+ <hr />
+ <h3>Quick Fix</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Quick fix for tags with no corresponding tag library definition in header</b></p>
+ </td>
+ <td valign="top">
+ <p>Qick fix offers to add corresponding tag library definition in JSP/XHTML header. </p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4876">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Quick fix for custom element attribute</b></p>
+ </td>
+ <td valign="top">
+ <p>If custom element attribute does not exist, quick fix offers to create it.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5937">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Quick fix to create new folder in JSF project</b></p>
+ </td>
+ <td valign="top">
+ <p>When user types on page xmlns:mareshkau="http://java.sun.com/jsf/composite/mareshkau", Quick fix offers to create folder 'mareshkau' in JSF resouces folder.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5922">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Quck fix for creating JSF custom page with element name when it does not exist</b></p>
+ </td>
+ <td valign="top">
+ <p>If user types on page 'xmlns:mar="http://java.sun.com/jsf/composite/mar', then types 'mar:table', and table.xthml does not exist in 'resources/mar' folder quick fix offers to create 'mar/table.xhtml' with JSF element structure.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5930">Related Jira</a></small></p>
+ </td>
+ </tr>
+ </tr>
+ <td colspan="2">
+ <hr />
+ <h3>Tool tip</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Tool tip for EL in XHTML/JSP/XML editors</b></p>
+ </td>
+ <td valign="top">
+ <p>When user moves a mouse at any EL element tool tip apears and shows info about EL element.</p>
+ <img src="images/ELToolTip.jpg"/>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4947">Related Jira</a></small></p>
+ </td>
+ </tr>
+ </tr>
+ </tr>
+ <td colspan="2">
+ <hr />
+ <h3>Preferences</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Way to specify pages templates</b></p>
+ </td>
+ <td valign="top">
+ <p>Now user can use standart way to specify pages templates.</p>
+ <img src="images/PageTemplates.png"/>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-6131">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+</table>
+
+</body>
+
+</html>
Property changes on: trunk/documentation/whatsnew/jst/jst-news-3.2.0.M1.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 9 months
JBoss Tools SVN: r23341 - trunk/documentation/whatsnew/vpe.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2010-07-09 07:27:35 -0400 (Fri, 09 Jul 2010)
New Revision: 23341
Modified:
trunk/documentation/whatsnew/vpe/vpe-news-3.2.0.M1.html
Log:
What's new update
Modified: trunk/documentation/whatsnew/vpe/vpe-news-3.2.0.M1.html
===================================================================
--- trunk/documentation/whatsnew/vpe/vpe-news-3.2.0.M1.html 2010-07-09 11:24:13 UTC (rev 23340)
+++ trunk/documentation/whatsnew/vpe/vpe-news-3.2.0.M1.html 2010-07-09 11:27:35 UTC (rev 23341)
@@ -187,23 +187,7 @@
<hr />
</td>
</tr>
- <tr>
- <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Lorem
- ipsum</b></td>
- <td valign="top">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi
- posuere sodales convallis. Fusce nec erat id orci porttitor laoreet.
- Donec scelerisque eros ac urna lacinia sit amet pretium nunc pharetra.
- Vestibulum id arcu.</p>
- <p><small><a
- href="https://jira.jboss.org/jira/browse/JBIDE-XXXX">Related Jira</a></small></p>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <hr />
- </td>
- </tr>
+
</table>
</body>
15 years, 9 months
JBoss Tools SVN: r23340 - in trunk/documentation/whatsnew/vpe: images/3.2.0.M1 and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2010-07-09 07:24:13 -0400 (Fri, 09 Jul 2010)
New Revision: 23340
Added:
trunk/documentation/whatsnew/vpe/images/3.2.0.M1/cssSelector.png
trunk/documentation/whatsnew/vpe/images/3.2.0.M1/externalize1.png
trunk/documentation/whatsnew/vpe/images/3.2.0.M1/externalize11.png
trunk/documentation/whatsnew/vpe/images/3.2.0.M1/externalize2.png
trunk/documentation/whatsnew/vpe/images/3.2.0.M1/jbpmTemplates.png
trunk/documentation/whatsnew/vpe/images/3.2.0.M1/jsf2preview1.png
trunk/documentation/whatsnew/vpe/images/3.2.0.M1/jsf2preview2.png
trunk/documentation/whatsnew/vpe/images/3.2.0.M1/storedTags1.png
trunk/documentation/whatsnew/vpe/images/3.2.0.M1/storedTags2.png
trunk/documentation/whatsnew/vpe/images/3.2.0.M1/storedTags3.png
Modified:
trunk/documentation/whatsnew/vpe/vpe-news-3.2.0.M1.html
Log:
What's new update
Added: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/cssSelector.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/cssSelector.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/externalize1.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/externalize1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/externalize11.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/externalize11.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/externalize2.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/externalize2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/jbpmTemplates.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/jbpmTemplates.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/jsf2preview1.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/jsf2preview1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/jsf2preview2.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/jsf2preview2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/storedTags1.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/storedTags1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/storedTags2.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/storedTags2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/storedTags3.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.2.0.M1/storedTags3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/vpe/vpe-news-3.2.0.M1.html
===================================================================
--- trunk/documentation/whatsnew/vpe/vpe-news-3.2.0.M1.html 2010-07-09 09:49:37 UTC (rev 23339)
+++ trunk/documentation/whatsnew/vpe/vpe-news-3.2.0.M1.html 2010-07-09 11:24:13 UTC (rev 23340)
@@ -24,31 +24,40 @@
<tr>
<td valign="top" align="left"><b>Quick Fixes for JSF 2</b></td>
<td valign="top">
- <ul><li>
- Quick fix to create JSF 2 composite folder:
+ <ul>
+ <li>Quick fix to create JSF 2 composite folder:
<p><img src="images/3.2.0.M1/jsf2-create-folder.png"
alt="Create JSF 2 Composite Folder" /></p>
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-5922">Related Jira</a></small></p>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5922">Related
+ Jira</a></small></p>
</li>
- <li>
- Quick fix to create JSF 2 composite component:
+ <li>Quick fix to create JSF 2 composite component:
<p><img src="images/3.2.0.M1/jsf2-create-component.png"
alt="Create JSF 2 Composite Component" /></p>
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-5930">Related Jira</a></small></p>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5930">Related
+ Jira</a></small></p>
</li>
- <li>
- Quick fix to create attributes in JSF 2 composite component:
+ <li>Quick fix to create attributes in JSF 2 composite component:
<p><img src="images/3.2.0.M1/jsf2-create-attribute.png"
alt="Create attribute in JSF 2 Composite Component" /></p>
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-5937">Related Jira</a></small></p>
- </li></ul>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5937">Related
+ Jira</a></small></p>
+ </li>
+ </ul>
</td>
</tr>
- <tr><td colspan="2"><hr/></td></tr>
<tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
<td valign="top" align="left"><b>XHTML Templates</b></td>
- <td valign="top">
- Now templates for new XHTML pages may be edited in the conventional way.
+ <td valign="top">Now templates for new XHTML pages may be edited
+ in the conventional way.
<p><img src="images/3.2.0.M1/xhtml-templates.png"
alt="XHTML Templates Editor" /></p>
@@ -57,6 +66,60 @@
</td>
</tr>
<tr>
+ <td valign="top" align="left"><b>Refactoring for JSF 2
+ components</b></td>
+ <td valign="top">
+ <p>Refactoring for JSF 2 components is available now. <br></br>
+ For instance you can rename the component or its attributes. <br></br>
+ All the related changes will be shown on the Preview page.</p>
+ <p><img src="images/3.2.0.M1/jsf2preview1.png"
+ alt="Refactor JSF 2" /></p>
+ <p>
+ <p><img src="images/3.2.0.M1/jsf2preview2.png"
+ alt="Refactor JSF 2 Preview" /></p>
+ <p><small> <a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5942">Related Jira</a>
+ </small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left"><b>CSS Selector dialog updates</b></td>
+ <td valign="top">
+ <p>Several classes could be selected and moved to another column
+ at once.</p>
+ <p>Classes could be moved from one column to another by dragging,
+ pushing the button or by "Alt + Left Arrow" and "Alt + Right Arrow"
+ key combinations.</p>
+ <p>In addition you can change the order of selected classes by
+ moving them up and down.</p>
+ <p><img src="images/3.2.0.M1/cssSelector.png" alt="Css Selector" /></p>
+ <p><small> <a
+ href="https://jira.jboss.org/jira/browse/JBIDE-6092">Related Jira</a>
+ </small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left"><b>Import/Export for VPE visual
+ templates</b></td>
+ <td valign="top">
+ <p>Now VPE visual templates could be exported to/imported from the
+ external file.</p>
+ <p><img src="images/3.2.0.M1/storedTags1.png"
+ alt="Stored Tags List" /></p>
+ <p>
+ <p>It is a very convenient way to share setting among team
+ members.</p>
+ <p><img src="images/3.2.0.M1/storedTags2.png" alt="Select wizard" /></p>
+ <p>
+ <p><img src="images/3.2.0.M1/storedTags3.png" alt="Export" /></p>
+ <p><small> <a
+ href="https://jira.jboss.org/jira/browse/JBIDE-2795">Related Jira</a>
+ </small></p>
+ </td>
+ </tr>
+ <tr>
<td colspan="2">
<hr />
<h3>Editor</h3>
@@ -65,10 +128,9 @@
</tr>
<tr>
<td valign="top" align="left"><b>Enhanced Drag&Drop Support</b></td>
- <td valign="top">
- Drag&Drop actions became more predicable and visual. Now the elements
- being dragged as well as available drop targets for them are rendered
- by Visual Editor.
+ <td valign="top">Drag&Drop actions became more predicable and
+ visual. Now the elements being dragged as well as available drop
+ targets for them are rendered by Visual Editor.
<p><img src="images/3.2.0.M1/vpe-drag-and-drop.png"
alt="VPE Drag&Drop" /></p>
@@ -79,16 +141,62 @@
<tr>
<td colspan="2">
<hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left"><b>Externalize Strings Dialog</b></td>
+ <td valign="top">
+ <p>Text strings could be externalized via Externalize Strings
+ Dialog which will put additional resource bundle value and replace the
+ text on the page by EL expression.</p>
+ <p><img src="images/3.2.0.M1/externalize11.png"
+ alt="Externalize Strings Dialog" /></p>
+ <p>
+ <p>The dialog is available from the VPE toolbar or from the
+ context menu.</p>
+ <p><img src="images/3.2.0.M1/externalize2.png"
+ alt="Externalize Strings Dialog" /></p>
+ <p><small> <a
+ href="https://jira.jboss.org/jira/browse/JBIDE-6287">Related Jira</a>
+ </small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
<h3>Templates</h3>
<hr />
</td>
</tr>
<tr>
- <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Lorem ipsum</b></td>
+ <td valign="top" align="left"><b>New templates for JBPM</b></td>
+ <td valign="top">Visual Page Editor now supports some JBPM tags
+ such as <code> jbpm:dataform, jbpm:datacell, tf:cancelButton,
+ tf:saveButton; tf:transitionButton </code>
+ <p><img src="images/3.2.0.M1/jbpmTemplates.png"
+ alt="JBPM Templates" /></p>
+ <p><small> <a
+ href="https://jira.jboss.org/jira/browse/JBIDE-6114">Related Jira</a>
+ </small></p>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Lorem
+ ipsum</b></td>
<td valign="top">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi posuere sodales convallis. Fusce nec erat id orci porttitor laoreet. Donec scelerisque eros ac urna lacinia sit amet pretium nunc pharetra. Vestibulum id arcu. </p>
- <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-XXXX">Related
- Jira</a></small></p>
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi
+ posuere sodales convallis. Fusce nec erat id orci porttitor laoreet.
+ Donec scelerisque eros ac urna lacinia sit amet pretium nunc pharetra.
+ Vestibulum id arcu.</p>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-XXXX">Related Jira</a></small></p>
</td>
</tr>
<tr>
15 years, 9 months
JBoss Tools SVN: r23339 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2010-07-09 05:49:37 -0400 (Fri, 09 Jul 2010)
New Revision: 23339
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/AbstractCSSDialog.java
Log:
https://jira.jboss.org/browse/JBIDE-3288 , dialog's title image was added.
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/AbstractCSSDialog.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/AbstractCSSDialog.java 2010-07-09 08:59:21 UTC (rev 23338)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/AbstractCSSDialog.java 2010-07-09 09:49:37 UTC (rev 23339)
@@ -35,6 +35,7 @@
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
+import org.jboss.tools.common.model.ui.ModelUIImages;
import org.jboss.tools.common.model.ui.widgets.Split;
import org.jboss.tools.jst.jsp.messages.JstUIMessages;
import org.jboss.tools.jst.jsp.outline.cssdialog.common.Constants;
@@ -79,6 +80,11 @@
@Override
protected Control createDialogArea(Composite parent) {
+ /*
+ * Set the dialog image
+ */
+ setTitleImage(ModelUIImages.getImageDescriptor(
+ ModelUIImages.WIZARD_DEFAULT).createImage());
Composite parentComposite = (Composite) super.createDialogArea(parent);
GridData gridData = (GridData) parentComposite.getLayoutData();
15 years, 9 months
JBoss Tools SVN: r23338 - in trunk: jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: dvinnichek
Date: 2010-07-09 04:59:21 -0400 (Fri, 09 Jul 2010)
New Revision: 23338
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ElVarSearcher.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputFormatTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamPdfTableTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VisualDomUtil.java
Log:
some fixes according to https://jira.jboss.org/browse/JBIDE-6542
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ElVarSearcher.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ElVarSearcher.java 2010-07-09 04:40:05 UTC (rev 23337)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ElVarSearcher.java 2010-07-09 08:59:21 UTC (rev 23338)
@@ -261,9 +261,9 @@
*/
public static Var findVar(Node node, ELParserFactory factory) {
if(node!=null && Node.ELEMENT_NODE == node.getNodeType()) {
- Element element = (Element)node;
- String var = element.getAttribute(VAR_ATTRIBUTE_NAME);
- if(var!=null) {
+ Element element = (Element)node;
+ if(element.hasAttribute(VAR_ATTRIBUTE_NAME)) {
+ String var = element.getAttribute(VAR_ATTRIBUTE_NAME);
int declOffset = 0;
int declLength = 0;
Node varAttr = element.getAttributeNode(VAR_ATTRIBUTE_NAME);
@@ -274,9 +274,9 @@
declLength = varNameEnd - varNameStart;
}
var = var.trim();
- if(!"".equals(var)) { //$NON-NLS-1$
- String value = element.getAttribute(VALUE_ATTRIBUTE_NAME);
- if(value!=null) {
+ if(!"".equals(var)) { //$NON-NLS-1$
+ if(element.hasAttribute(VALUE_ATTRIBUTE_NAME)) {
+ String value = element.getAttribute(VALUE_ATTRIBUTE_NAME);
value = value.trim();
Var newVar = new Var(factory, var, value, declOffset, declLength);
if(newVar.getElToken()!=null) {
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputFormatTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputFormatTemplate.java 2010-07-09 04:40:05 UTC (rev 23337)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputFormatTemplate.java 2010-07-09 08:59:21 UTC (rev 23338)
@@ -188,7 +188,9 @@
if (num < paramList.size() && paramList.get(num).hasAttribute(JSF.ATTR_VALUE)) {
// get param's value
- value = paramList.get(num).getAttribute(JSF.ATTR_VALUE);
+ Element paramElement = paramList.get(num);
+ value = paramElement.hasAttribute(JSF.ATTR_VALUE) ?
+ paramElement.getAttribute(JSF.ATTR_VALUE) : null;
}
} catch (NumberFormatException e) {
// illegal param value
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamPdfTableTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamPdfTableTemplate.java 2010-07-09 04:40:05 UTC (rev 23337)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamPdfTableTemplate.java 2010-07-09 08:59:21 UTC (rev 23338)
@@ -149,10 +149,10 @@
}
private String getWidthPerc(Element sourceElement) {
- String width = sourceElement
- .getAttribute(SeamUtil.SEAM_ATTR_WIDTH_PERCENTAGE);
- if (width != null) {
+ String width = "100%"; //$NON-NLS-1$
+ if (sourceElement.hasAttribute(SeamUtil.SEAM_ATTR_WIDTH_PERCENTAGE)) {
try {
+ width = sourceElement.getAttribute(SeamUtil.SEAM_ATTR_WIDTH_PERCENTAGE);
int intWidth = Integer.parseInt(width);
if (intWidth < 1 || intWidth > 100) {
width = "100%"; //$NON-NLS-1$
@@ -162,16 +162,14 @@
} catch (NumberFormatException e) {
width = "100%"; //$NON-NLS-1$
}
- } else {
- width = "100%"; //$NON-NLS-1$
}
return width;
}
- private String getAlignment(Element sourceElement) {
- String align = sourceElement
+ private String getAlignment(Element sourceElement) {
+ if (sourceElement.hasAttribute(SeamUtil.SEAM_ATTR_HORIZONAL_ALIGNMENT)) {
+ String align = sourceElement
.getAttribute(SeamUtil.SEAM_ATTR_HORIZONAL_ALIGNMENT);
- if (align != null) {
for (int i = 0; i < SeamUtil.POSSIBLE_ALIGNS.length; i++) {
if (SeamUtil.POSSIBLE_ALIGNS[i].equalsIgnoreCase(align)) {
if (SeamUtil.POSSIBLE_ALIGNS[i]
@@ -187,10 +185,10 @@
private int getColspanValue(nsIDOMNode visualNode) {
int colspan = 1;
- nsIDOMElement visualElement = queryInterface(visualNode, nsIDOMElement.class);
- String colspanString = visualElement.getAttribute(HTML.ATTR_COLSPAN);
- if (colspanString != null) {
+ nsIDOMElement visualElement = queryInterface(visualNode, nsIDOMElement.class);
+ if (visualElement.hasAttribute(HTML.ATTR_COLSPAN)) {
try {
+ String colspanString = visualElement.getAttribute(HTML.ATTR_COLSPAN);
colspan = Integer.parseInt(colspanString);
if (colspan < 1) {
colspan = 1;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VisualDomUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VisualDomUtil.java 2010-07-09 04:40:05 UTC (rev 23337)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VisualDomUtil.java 2010-07-09 08:59:21 UTC (rev 23338)
@@ -229,10 +229,10 @@
return;
for (String attributeName : attributes) {
-
- String attributeValue = sourceElement.getAttribute(attributeName);
- if (attributeValue != null)
+ if (sourceElement.hasAttribute(attributeName)) {
+ String attributeValue = sourceElement.getAttribute(attributeName);
visualElement.setAttribute(attributeName, attributeValue);
+ }
}
}
15 years, 9 months
JBoss Tools SVN: r23337 - trunk/bpel/releng.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-07-09 00:40:05 -0400 (Fri, 09 Jul 2010)
New Revision: 23337
Modified:
trunk/bpel/releng/build.properties
Log:
remove rcp feature dep
Modified: trunk/bpel/releng/build.properties
===================================================================
--- trunk/bpel/releng/build.properties 2010-07-09 00:10:15 UTC (rev 23336)
+++ trunk/bpel/releng/build.properties 2010-07-09 04:40:05 UTC (rev 23337)
@@ -26,7 +26,7 @@
http://download.eclipse.org/eclipse/updates/3.6.x
# required if building bpel.compare.ui: org.eclipse.gmf.runtime.diagram.ui+org.eclipse.emf.compare.match+org.eclipse.emf.compare.diff+org.eclipse.emf.compare.ui+\
-IUsToInstall=org.eclipse.sdk.feature.group+org.eclipse.core.net+org.eclipse.equinox.common+org.eclipse.core.runtime+org.eclipse.debug.core+org.eclipse.rcp.feature.group+\
+IUsToInstall=org.eclipse.sdk.feature.group+org.eclipse.core.net+org.eclipse.equinox.common+org.eclipse.core.runtime+org.eclipse.debug.core+\
org.eclipse.jst.server.generic.core+\
org.eclipse.wst.ws_core.feature.feature.group+org.eclipse.wst.web_ui.feature.feature.group+org.eclipse.wst.ws_wsdl15.feature.feature.group+\
org.eclipse.wst.xml_ui.feature.feature.group+org.eclipse.wst.common_ui.feature.feature.group+org.eclipse.wst.common_core.feature.feature.group+\
15 years, 9 months
JBoss Tools SVN: r23336 - branches/jbosstools-3.2.0.M1/portlet/plugins/org.jboss.tools.portlet.core.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-07-08 20:10:15 -0400 (Thu, 08 Jul 2010)
New Revision: 23336
Modified:
branches/jbosstools-3.2.0.M1/portlet/plugins/org.jboss.tools.portlet.core/plugin.xml
Log:
https://jira.jboss.org/browse/JBIDE-6477 JBDS 3.0.1, EPP 5 and the Seam Portlet Configuration
Modified: branches/jbosstools-3.2.0.M1/portlet/plugins/org.jboss.tools.portlet.core/plugin.xml
===================================================================
--- branches/jbosstools-3.2.0.M1/portlet/plugins/org.jboss.tools.portlet.core/plugin.xml 2010-07-09 00:08:58 UTC (rev 23335)
+++ branches/jbosstools-3.2.0.M1/portlet/plugins/org.jboss.tools.portlet.core/plugin.xml 2010-07-09 00:10:15 UTC (rev 23336)
@@ -245,6 +245,20 @@
</static-preset>
</extension>
+ <extension
+ point="org.eclipse.wst.common.project.facet.core.presets">
+ <static-preset id="preset.jboss.seamportlet.v22">
+ <label>JBoss Seam Portlet Project v2.2</label>
+ <facet id="jst.java" version="5.0" />
+ <facet id="jst.web" version="2.5"/>
+ <facet id="jst.jsf" version="1.2"/>
+ <facet id="jboss.portlet" version="2.0" />
+ <facet id="jboss.jsfportlet" version="1.0" />
+ <facet id="jboss.seamportlet" version="1.0" />
+ <facet id="jst.seam" version="2.2" />
+ <description>JBoss Seam Portlet Project v2.2</description>
+ </static-preset>
+ </extension>
<!--
<extension
point="org.eclipse.wst.common.project.facet.core.presets">
15 years, 9 months