JBoss Tools SVN: r12720 - trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-12-19 10:32:24 -0500 (Fri, 19 Dec 2008)
New Revision: 12720
Modified:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages-wizards.meta
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta
Log:
JBIDE-3145
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages-wizards.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages-wizards.meta 2008-12-19 15:23:04 UTC (rev 12719)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages-wizards.meta 2008-12-19 15:32:24 UTC (rev 12720)
@@ -23,9 +23,10 @@
</XModelAttribute>
<XModelAttribute PROPERTIES="category=general" name="view id" xmlname="view-id">
<Constraint loader="Tree">
- <value name="JSFPageTree"/>
+ <value name="SeamViewIdTree"/>
<value name="extensions=jsp,html,htm,xhtml,xml"/>
<value name="linkAction=OpenPage"/>
+ <value name="hideRoot=true"/>
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta 2008-12-19 15:23:04 UTC (rev 12719)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta 2008-12-19 15:32:24 UTC (rev 12720)
@@ -503,15 +503,19 @@
<XModelAttribute PROPERTIES="category=advanced"
name="no conversation view id" xmlname="no-conversation-view-id">
<Constraint loader="Tree">
- <value name="JSFPageTree"/>
+ <value name="SeamViewIdTree"/>
<value name="extensions=jsp,html,htm,xhtml,xml"/>
+ <value name="linkAction=OpenPage"/>
+ <value name="hideRoot=true"/>
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=advanced" name="login view id" xmlname="login-view-id">
<Constraint loader="Tree">
- <value name="JSFPageTree"/>
+ <value name="SeamViewIdTree"/>
<value name="extensions=jsp,html,htm,xhtml,xml"/>
+ <value name="linkAction=OpenPage"/>
+ <value name="hideRoot=true"/>
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
@@ -978,8 +982,10 @@
<XModelAttribute PROPERTIES="category=advanced"
name="no conversation view id" xmlname="no-conversation-view-id">
<Constraint loader="Tree">
- <value name="JSFPageTree"/>
+ <value name="SeamViewIdTree"/>
<value name="extensions=jsp,html,htm,xhtml,xml"/>
+ <value name="linkAction=OpenPage"/>
+ <value name="hideRoot=true"/>
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
17 years, 4 months
JBoss Tools SVN: r12719 - trunk/hibernatetools/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-12-19 10:23:04 -0500 (Fri, 19 Dec 2008)
New Revision: 12719
Modified:
trunk/hibernatetools/docs/reference/en/modules/plugins.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-510 out-of-date "updated/new" markers are deleted
Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2008-12-19 15:09:08 UTC (rev 12718)
+++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2008-12-19 15:23:04 UTC (rev 12719)
@@ -136,7 +136,7 @@
</emphasis> for the basis of a Console configuration.</para>
</section>
- <section id="console_conf" role="updated">
+ <section id="console_conf" >
<title>Creating a Hibernate Console Configuration</title>
<para>A Console configuration describes how the <property>Hibernate plugin</property> should
17 years, 4 months
JBoss Tools SVN: r12718 - trunk/as/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-12-19 10:09:08 -0500 (Fri, 19 Dec 2008)
New Revision: 12718
Modified:
trunk/as/docs/reference/en/modules/perspective.xml
trunk/as/docs/reference/en/modules/tptp_support.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-510 old out-of-date markers are deleted
Modified: trunk/as/docs/reference/en/modules/perspective.xml
===================================================================
--- trunk/as/docs/reference/en/modules/perspective.xml 2008-12-19 14:57:10 UTC (rev 12717)
+++ trunk/as/docs/reference/en/modules/perspective.xml 2008-12-19 15:09:08 UTC (rev 12718)
@@ -75,7 +75,7 @@
<para>Now, let's get to know with both of the <property>JBoss Server
View</property> parts.</para>
- <section role="updated">
+ <section>
<title>Top Part of the JBoss Server View</title>
<para>In the top part of the <property>JBoss Server View</property> all declared servers
are represented as well as their current states, that is, whether they are started
Modified: trunk/as/docs/reference/en/modules/tptp_support.xml
===================================================================
--- trunk/as/docs/reference/en/modules/tptp_support.xml 2008-12-19 14:57:10 UTC (rev 12717)
+++ trunk/as/docs/reference/en/modules/tptp_support.xml 2008-12-19 15:09:08 UTC (rev 12718)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="tptp_support" role="new">
+<chapter id="tptp_support">
<title>TPTP Support</title>
<para>This chapter provides an overview on how to enable TPTP Profiling for <property>JBoss
AS</property> adapters in <property>JBoss Tools</property>.</para>
17 years, 4 months
JBoss Tools SVN: r12717 - trunk/esb/docs/esb_ref_guide/en/images/esb_project.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2008-12-19 09:57:10 -0500 (Fri, 19 Dec 2008)
New Revision: 12717
Added:
trunk/esb/docs/esb_ref_guide/en/images/esb_project/16HelloworldProjects.png
Log:
https://jira.jboss.org/jira/browse/JBDS-452
Added: trunk/esb/docs/esb_ref_guide/en/images/esb_project/16HelloworldProjects.png
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en/images/esb_project/16HelloworldProjects.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 4 months
JBoss Tools SVN: r12716 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces: template and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-12-19 09:53:25 -0500 (Fri, 19 Dec 2008)
New Revision: 12716
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesScrollableDataTableTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-883, code adjustment. getColumnsWithFacet method was replaced to utility class.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java 2008-12-19 14:36:18 UTC (rev 12715)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java 2008-12-19 14:53:25 UTC (rev 12716)
@@ -919,5 +919,23 @@
}
return null;
}
-
+
+
+ /**
+ * Returns columns with facet.
+ * @param columns
+ * @param facetName
+ * @return list of columns with facet
+ */
+ public static ArrayList<Element> getColumnsWithFacet(
+ ArrayList<Element> columns, String facetName) {
+ ArrayList<Element> columnsWithFacet = new ArrayList<Element>();
+ for (Element column : columns) {
+ Element body = getFacet(column, facetName);
+ if (body != null) {
+ columnsWithFacet.add(column);
+ }
+ }
+ return columnsWithFacet;
+ }
}
\ No newline at end of file
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java 2008-12-19 14:36:18 UTC (rev 12715)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java 2008-12-19 14:53:25 UTC (rev 12716)
@@ -415,24 +415,6 @@
}
/**
- *
- * @param columns
- * @param facetName
- * @return list of columns with facet
- */
- public static ArrayList<Element> getColumnsWithFacet(
- ArrayList<Element> columns, String facetName) {
- ArrayList<Element> columnsWithFacet = new ArrayList<Element>();
- for (Element column : columns) {
- Element body = ComponentUtil.getFacet(column, facetName);
- if (body != null) {
- columnsWithFacet.add(column);
- }
- }
- return columnsWithFacet;
- }
-
- /**
* Checks, whether it is necessary to re-create an element at change of
* attribute
*
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java 2008-12-19 14:36:18 UTC (rev 12715)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java 2008-12-19 14:53:25 UTC (rev 12716)
@@ -453,7 +453,7 @@
// ---------- HEADER -----------
// Encode Header
Element header = ComponentUtil.getFacet(sourceElement, HEADER);
- ArrayList<Element> columnsHeaders = getColumnsWithFacet(columns, HEADER);
+ ArrayList<Element> columnsHeaders = ComponentUtil.getColumnsWithFacet(columns, HEADER);
if (header != null || !columnsHeaders.isEmpty()) {
String headerClass = (String) sourceElement
.getAttribute(HEADER_CLASS);
@@ -487,7 +487,7 @@
// Encode Footer
/*
Element footer = ComponentUtil.getFacet(sourceElement, FOOTER);
- ArrayList<Element> columnsFooters = getColumnsWithFacet(columns, FOOTER);
+ ArrayList<Element> columnsFooters = ComponentUtil.getColumnsWithFacet(columns, FOOTER);
if (footer != null || !columnsFooters.isEmpty()) {
String footerClass = (String) sourceElement
.getAttribute(FOOTER_CLASS);
@@ -762,24 +762,6 @@
/**
*
- * @param columns
- * @param facetName
- * @return list of columns with facet
- */
- private static ArrayList<Element> getColumnsWithFacet(
- ArrayList<Element> columns, String facetName) {
- ArrayList<Element> columnsWithFacet = new ArrayList<Element>();
- for (Element column : columns) {
- Element body = ComponentUtil.getFacet(column, facetName);
- if (body != null) {
- columnsWithFacet.add(column);
- }
- }
- return columnsWithFacet;
- }
-
- /**
- *
* @param sourceElement
* @param columns
* @return
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesScrollableDataTableTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesScrollableDataTableTemplate.java 2008-12-19 14:36:18 UTC (rev 12715)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesScrollableDataTableTemplate.java 2008-12-19 14:53:25 UTC (rev 12716)
@@ -135,7 +135,7 @@
// Encode Header
Element header = ComponentUtil.getFacet(sourceElement, RichFaces.NAME_FACET_HEADER);
- ArrayList<Element> columnsHeaders = getColumnsWithFacet(columns, RichFaces.NAME_FACET_HEADER);
+ ArrayList<Element> columnsHeaders = ComponentUtil.getColumnsWithFacet(columns, RichFaces.NAME_FACET_HEADER);
if (header != null || !columnsHeaders.isEmpty()) {
nsIDOMElement thead = visualDocument
.createElement(HTML.TAG_THEAD);
@@ -171,7 +171,7 @@
// Encode Footer
Element footer = ComponentUtil.getFacet(sourceElement, RichFaces.NAME_FACET_FOOTER);
- ArrayList<Element> columnsFooters = getColumnsWithFacet(columns, RichFaces.NAME_FACET_FOOTER);
+ ArrayList<Element> columnsFooters = ComponentUtil.getColumnsWithFacet(columns, RichFaces.NAME_FACET_FOOTER);
if (footer != null || !columnsFooters.isEmpty()) {
nsIDOMElement tfoot = visualDocument
.createElement(HTML.TAG_TFOOT);
@@ -382,24 +382,6 @@
/**
*
- * @param columns
- * @param facetName
- * @return list of columns with facet
- */
- public static ArrayList<Element> getColumnsWithFacet(
- ArrayList<Element> columns, String facetName) {
- ArrayList<Element> columnsWithFacet = new ArrayList<Element>();
- for (Element column : columns) {
- Element body = ComponentUtil.getFacet(column, facetName);
- if (body != null) {
- columnsWithFacet.add(column);
- }
- }
- return columnsWithFacet;
- }
-
- /**
- *
* @param sourceElement
* @param columns
* @return
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java 2008-12-19 14:36:18 UTC (rev 12715)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java 2008-12-19 14:53:25 UTC (rev 12716)
@@ -193,18 +193,18 @@
}
protected void encodeHeader(final VpePageContext pageContext, final VpeCreationData creationData, final Element sourceElement, final nsIDOMDocument visualDocument, final nsIDOMElement parentVisualNode) {
- encodeHeaderOrFooter(pageContext, creationData, sourceElement, visualDocument, parentVisualNode, "header", "dr-subtable-header rich-subtable-header", "dr-subtable-headercell rich-subtable-headercell");
+ encodeHeaderOrFooter(pageContext, creationData, sourceElement, visualDocument, parentVisualNode, RichFaces.NAME_FACET_HEADER, "dr-subtable-header rich-subtable-header", "dr-subtable-headercell rich-subtable-headercell"); //$NON-NLS-1$ //$NON-NLS-2$
}
protected void encodeFooter(final VpePageContext pageContext, final VpeCreationData creationData, final Element sourceElement, final nsIDOMDocument visualDocument, final nsIDOMElement parentVisualNode) {
- encodeHeaderOrFooter(pageContext, creationData, sourceElement, visualDocument, parentVisualNode, "footer", "dr-subtable-footer rich-subtable-footer", "dr-subtable-footercell rich-subtable-footercell");
+ encodeHeaderOrFooter(pageContext, creationData, sourceElement, visualDocument, parentVisualNode, RichFaces.NAME_FACET_FOOTER, "dr-subtable-footer rich-subtable-footer", "dr-subtable-footercell rich-subtable-footercell"); //$NON-NLS-1$ //$NON-NLS-2$
}
protected void encodeHeaderOrFooter(final VpePageContext pageContext, final VpeCreationData creationData,
final Element sourceElement, final nsIDOMDocument visualDocument, final nsIDOMElement parentVisualNode,
final String facetName, final String trClass, final String tdClass) {
final ArrayList<Element> columns = RichFacesDataTableTemplate.getColumns(sourceElement);
- //final ArrayList<Element> columnsHeaders = RichFacesDataTableTemplate.getColumnsWithFacet(columns, facetName);
+ //final ArrayList<Element> columnsHeaders = ComponentUtil.getColumnsWithFacet(columns, facetName);
final boolean hasColumnWithFacet = RichFacesDataTableTemplate.hasColumnWithFacet(columns, facetName);
if(hasColumnWithFacet) {
final nsIDOMElement tr = visualDocument.createElement(HTML.TAG_TR);
@@ -221,11 +221,11 @@
}
private boolean isHeader(final Element sourceElement) {
- return icludedInFacet(sourceElement, "header");
+ return icludedInFacet(sourceElement, RichFaces.NAME_FACET_HEADER);
}
private boolean isFooter(final Element sourceElement) {
- return icludedInFacet(sourceElement, "footer");
+ return icludedInFacet(sourceElement, RichFaces.NAME_FACET_FOOTER);
}
private boolean icludedInFacet(final Element sourceElement, final String facetName) {
@@ -234,19 +234,19 @@
}
protected String getHeaderClass() {
- return "dr-subtable-header rich-subtable-header";
+ return "dr-subtable-header rich-subtable-header"; //$NON-NLS-1$
}
protected String getHeaderContinueClass() {
- return "dr-subtable-header-continue rich-subtable-header-continue";
+ return "dr-subtable-header-continue rich-subtable-header-continue"; //$NON-NLS-1$
}
protected String getFooterClass() {
- return "dr-subtable-footer rich-subtable-footer";
+ return "dr-subtable-footer rich-subtable-footer"; //$NON-NLS-1$
}
protected String getFooterContinueClass() {
- return "dr-subtable-footer-continue rich-subtable-footer-continue";
+ return "dr-subtable-footer-continue rich-subtable-footer-continue"; //$NON-NLS-1$
}
protected String getRowClass(final int row) {
17 years, 4 months
JBoss Tools SVN: r12715 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2008-12-19 09:36:18 -0500 (Fri, 19 Dec 2008)
New Revision: 12715
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml
Log:
CODING IN PROGRESS - issue JBIDE-3431: rich:scrollableDataTable does not render h:column properly in VPE
https://jira.jboss.org/jira/browse/JBIDE-3431
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml 2008-12-19 14:34:05 UTC (rev 12714)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml 2008-12-19 14:36:18 UTC (rev 12715)
@@ -674,7 +674,7 @@
</vpe:template>
</vpe:if>
<vpe:if
- test="parentname()='rich:columnGroup'|parentname()='rich:dataTable'|parentname()='rich:orderingList'|parentname()='rich:listShuttle'">
+ test="parentname()='rich:columnGroup'|parentname()='rich:dataTable'|parentname()='rich:orderingList'|parentname()='rich:listShuttle'|parentname()='rich:scrollableDataTable'">
<vpe:template children="yes" modify="yes"
namespaceIdentifier="org.jboss.tools.jsf.vpe.richfaces"
class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnTemplate">
17 years, 4 months
JBoss Tools SVN: r12714 - trunk/esb/docs/esb_ref_guide/en/images/esb_project.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2008-12-19 09:34:05 -0500 (Fri, 19 Dec 2008)
New Revision: 12714
Added:
trunk/esb/docs/esb_ref_guide/en/images/esb_project/15AddNew.png
Log:
https://jira.jboss.org/jira/browse/JBDS-452
Added: trunk/esb/docs/esb_ref_guide/en/images/esb_project/15AddNew.png
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en/images/esb_project/15AddNew.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 4 months
JBoss Tools SVN: r12713 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-12-19 09:05:09 -0500 (Fri, 19 Dec 2008)
New Revision: 12713
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDropDownMenuTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesMenuGroupTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesMenuItemTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuItemTemplate.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-883, code adjustment. attrPresent method was replaced with util's method.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java 2008-12-19 14:02:16 UTC (rev 12712)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java 2008-12-19 14:05:09 UTC (rev 12713)
@@ -80,7 +80,7 @@
if(hasColumnWithHeader) {
nsIDOMElement tr = visualDocument.createElement(HTML.TAG_TR);
thead.appendChild(tr);
- String styleClass = encodeStyleClass(null, "dr-table-subheader rich-table-subheader", null, headerClass); //$NON-NLS-1$
+ String styleClass = ComponentUtil.encodeStyleClass(null, "dr-table-subheader rich-table-subheader", null, headerClass); //$NON-NLS-1$
if(styleClass!=null) {
tr.setAttribute(HTML.ATTR_CLASS, styleClass);
}
@@ -100,7 +100,7 @@
if(hasColumnWithFooter) {
nsIDOMElement tr = visualDocument.createElement(HTML.TAG_TR);
tfoot.appendChild(tr);
- String styleClass = encodeStyleClass(null, "dr-table-subfooter rich-table-subfooter", null, footerClass); //$NON-NLS-1$
+ String styleClass = ComponentUtil.encodeStyleClass(null, "dr-table-subfooter rich-table-subfooter", null, footerClass); //$NON-NLS-1$
if(styleClass!=null) {
tr.setAttribute(HTML.ATTR_CLASS, styleClass);
}
@@ -158,7 +158,7 @@
String columnHeaderClass = column.getAttribute(classAttribute);
nsIDOMElement td = visualDocument.createElement(element);
parentTr.appendChild(td);
- String styleClass = encodeStyleClass(null, skinCellClass, headerClass, columnHeaderClass);
+ String styleClass = ComponentUtil.encodeStyleClass(null, skinCellClass, headerClass, columnHeaderClass);
if (!RichFacesColumnTemplate.isVisible(column)) {
VisualDomUtil.setSubAttribute(td, HTML.ATTR_STYLE,
HTML.STYLE_PARAMETER_DISPLAY, HTML.STYLE_VALUE_NONE);
@@ -200,7 +200,7 @@
nsIDOMElement tr = visualDocument.createElement(HTML.TAG_TR);
parentTheadOrTfood.appendChild(tr);
- String styleClass = encodeStyleClass(null, skinFirstRowClass, facetBodyClass, null);
+ String styleClass = ComponentUtil.encodeStyleClass(null, skinFirstRowClass, facetBodyClass, null);
if(styleClass!=null) {
tr.setAttribute(HTML.ATTR_CLASS, styleClass);
}
@@ -210,7 +210,7 @@
nsIDOMElement td = visualDocument.createElement(element);
tr.appendChild(td);
- styleClass = encodeStyleClass(null, skinCellClass, facetBodyClass, null);
+ styleClass = ComponentUtil.encodeStyleClass(null, skinCellClass, facetBodyClass, null);
if(styleClass!=null) {
td.setAttribute(HTML.ATTR_CLASS, styleClass);
}
@@ -257,27 +257,6 @@
return false;
}
- public static String encodeStyleClass(Object parentPredefined, Object predefined, Object parent, Object custom) {
- StringBuffer styleClass = new StringBuffer();
- // Construct predefined classes
- if (null != parentPredefined) {
- styleClass.append(parentPredefined).append(Constants.WHITE_SPACE);
- } else if (null != predefined) {
- styleClass.append(predefined).append(Constants.WHITE_SPACE);
- }
- // Append class from parent component.
- if (null != parent) {
- styleClass.append(parent).append(Constants.WHITE_SPACE);
- }
- if (null != custom) {
- styleClass.append(custom);
- }
- if (styleClass.length() > 0) {
- return styleClass.toString();
- }
- return null;
- }
-
protected int getColumnsCount(Element sourceElement, ArrayList<Element> columns) {
int count = 0;
// check for exact value in component
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDropDownMenuTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDropDownMenuTemplate.java 2008-12-19 14:02:16 UTC (rev 12712)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDropDownMenuTemplate.java 2008-12-19 14:05:09 UTC (rev 12713)
@@ -167,7 +167,7 @@
+ CSS_RICH_DDMENU_LABEL_UNSELECT;
listBorderDivClass += SPACE + CSS_RICH_MENU_LIST_BORDER;
- if (attrPresents(ddm_styleClass)) {
+ if (ComponentUtil.isNotBlank(ddm_styleClass)) {
labelDivClass += SPACE + ddm_styleClass;
listBorderDivClass += SPACE + ddm_styleClass;
}
@@ -190,7 +190,7 @@
cssListDivStyle += SPACE + CSS_RICH_DDEMENU_LIST_DIV_STYLE;
cssListBorderDivStyle += SPACE + CSS_RICH_DDEMENU_BORDER_DIV_STYLE;
- if (attrPresents(ddm_style)) {
+ if (ComponentUtil.isNotBlank(ddm_style)) {
cssLabelDivStyle += SPACE + ddm_style;
}
@@ -273,17 +273,6 @@
ddm_styleClass = sourceElement.getAttribute(RichFaces.ATTR_STYLE_CLASS);
}
- /**
- * Checks is attribute have some value.
- *
- * @param attr the attribute
- *
- * @return true, if successful
- */
- private static boolean attrPresents(String attr) {
- return ((null != attr) && (!EMPTY.equalsIgnoreCase(attr)));
- }
-
@Override
public boolean isRecreateAtAttrChange(VpePageContext pageContext,
Element sourceElement, nsIDOMDocument visualDocument,
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java 2008-12-19 14:02:16 UTC (rev 12712)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java 2008-12-19 14:05:09 UTC (rev 12713)
@@ -141,7 +141,7 @@
nsIDOMElement filterTR = visualDocument.createElement(HTML.TAG_TR);
thead.appendChild(tr);
thead.appendChild(filterTR);
- String styleClass = RichFacesDataTableTemplate.encodeStyleClass(null,
+ String styleClass = ComponentUtil.encodeStyleClass(null,
DR_TABLE_SUBHEADER_RICH_TABLE_SUBHEADER, null, headerClass);
if (styleClass != null) {
tr.setAttribute(HTML.ATTR_CLASS, styleClass);
@@ -157,7 +157,7 @@
String footerClass = (String) sourceElement.getAttribute(FOOTER_CLASS);
nsIDOMElement tfootTR = visualDocument.createElement(HTML.TAG_TR);
tfoot.appendChild(tfootTR);
- String styleFooterClass = RichFacesDataTableTemplate.encodeStyleClass(
+ String styleFooterClass = ComponentUtil.encodeStyleClass(
null, DR_TABLE_SUBFOOTER_RICH_TABLE_SUBFOOTER, null,
footerClass);
if (styleFooterClass != null) {
@@ -294,7 +294,7 @@
String columnHeaderClass = column.getAttribute(classAttribute);
nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
parentTr.appendChild(td);
- styleClass = RichFacesDataTableTemplate.encodeStyleClass(null,
+ styleClass = ComponentUtil.encodeStyleClass(null,
skinCellClass, footerClass, columnHeaderClass);
td.setAttribute(HTML.ATTR_CLASS, styleClass);
td.setAttribute(SCOP, COL);
@@ -353,7 +353,7 @@
td.appendChild(span);
parentTr.appendChild(td);
- styleClass = RichFacesDataTableTemplate.encodeStyleClass(null,
+ styleClass = ComponentUtil.encodeStyleClass(null,
skinCellClass, headerClass, columnHeaderClass);
td.setAttribute(HTML.ATTR_CLASS, styleClass);
td.setAttribute(SCOP, COL);
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesMenuGroupTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesMenuGroupTemplate.java 2008-12-19 14:02:16 UTC (rev 12712)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesMenuGroupTemplate.java 2008-12-19 14:05:09 UTC (rev 12713)
@@ -184,14 +184,14 @@
labelSpanClass += SPACE + CSS_RICH_MENU_ITEM_LABEL + SPACE + CSS_RICH_MENU_GROUP_LABEL;
folderDivClass += SPACE + CSS_RICH_MENU_ITEM_FOLDER + SPACE + CSS_RICH_MENU_GROUP_FOLDER;
- if (attrPresents(mg_styleClass)) {
+ if (ComponentUtil.isNotBlank(mg_styleClass)) {
topDivClass += SPACE + mg_styleClass;
}
- if (attrPresents(mg_iconClass)) {
+ if (ComponentUtil.isNotBlank(mg_iconClass)) {
imgSpanClass += SPACE + mg_iconClass;
folderDivClass += SPACE + mg_iconClass;
}
- if (attrPresents(mg_labelClass)) {
+ if (ComponentUtil.isNotBlank(mg_labelClass)) {
labelSpanClass += SPACE + mg_labelClass;
}
@@ -210,7 +210,7 @@
*/
String topDivStyle = EMPTY;
- if (attrPresents(mg_style)) {
+ if (ComponentUtil.isNotBlank(mg_style)) {
topDivStyle += SPACE + mg_style;
}
@@ -239,7 +239,7 @@
childInfo.addSourceChild(iconFacet);
creationData.addChildrenInfo(childInfo);
} else {
- if (attrPresents(mg_icon)) {
+ if (ComponentUtil.isNotBlank(mg_icon)) {
/*
* Add path to specified image
*/
@@ -261,7 +261,7 @@
/*
* Add group folder icon
*/
- if (attrPresents(mg_iconFolder)) {
+ if (ComponentUtil.isNotBlank(mg_iconFolder)) {
/*
* Add path to specified image
*/
@@ -329,16 +329,6 @@
mg_style = sourceElement.getAttribute(HTML.ATTR_STYLE);
mg_styleClass = sourceElement.getAttribute(RichFaces.ATTR_STYLE_CLASS);
}
- /**
- * Checks is attribute have some value.
- *
- * @param attr the attribute
- *
- * @return true, if successful
- */
- private static boolean attrPresents(String attr) {
- return ((null != attr) && (!EMPTY.equalsIgnoreCase(attr)));
- }
@Override
public boolean isRecreateAtAttrChange(VpePageContext pageContext,
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesMenuItemTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesMenuItemTemplate.java 2008-12-19 14:02:16 UTC (rev 12712)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesMenuItemTemplate.java 2008-12-19 14:05:09 UTC (rev 12713)
@@ -18,6 +18,7 @@
import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.Constants;
import org.jboss.tools.vpe.editor.util.HTML;
import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
import org.mozilla.interfaces.nsIDOMDocument;
@@ -38,8 +39,6 @@
private static final String SPACER_IMG_PATH = "menuItem/spacer.gif"; //$NON-NLS-1$
private static final String ICON_FACET_NAME = "icon"; //$NON-NLS-1$
private static final String ICON_DISABLED_FACET_NAME = "iconDisabled"; //$NON-NLS-1$
- private static final String EMPTY = ""; //$NON-NLS-1$
- private static final String SPACE = " "; //$NON-NLS-1$
/*
* Constants for drop down mechanism.
@@ -124,7 +123,7 @@
itemIconImgSpan = visualDocument.createElement(HTML.TAG_SPAN);
itemIconImg = visualDocument.createElement(HTML.TAG_IMG);
itemLabelSpan = visualDocument.createElement(HTML.TAG_SPAN);
- itemLabelText = visualDocument.createTextNode(EMPTY);
+ itemLabelText = visualDocument.createTextNode(Constants.EMPTY);
creationData = new VpeCreationData(itemMainLI);
/*
@@ -138,27 +137,27 @@
/*
* Setting attributes for the drop-down mechanism
*/
- itemMainLI.setAttribute(MENU_CHILD_ID, EMPTY);
+ itemMainLI.setAttribute(MENU_CHILD_ID, Constants.EMPTY);
/*
* Setting css classes
*/
- String topDivClass = EMPTY;
- String iconImgSpanClass = EMPTY;
- String labelSpanClass = EMPTY;
+ String topDivClass = Constants.EMPTY;
+ String iconImgSpanClass = Constants.EMPTY;
+ String labelSpanClass = Constants.EMPTY;
- topDivClass += SPACE + CSS_RICH_MENU_ITEM;
- iconImgSpanClass += SPACE + CSS_RICH_MENU_ITEM_ICON;
- labelSpanClass += SPACE + CSS_RICH_MENU_ITEM_LABEL;
+ topDivClass += Constants.WHITE_SPACE+ CSS_RICH_MENU_ITEM;
+ iconImgSpanClass += Constants.WHITE_SPACE + CSS_RICH_MENU_ITEM_ICON;
+ labelSpanClass += Constants.WHITE_SPACE + CSS_RICH_MENU_ITEM_LABEL;
- if (attrPresents(mi_styleClass)) {
- topDivClass += SPACE + mi_styleClass;
+ if (ComponentUtil.isNotBlank(mi_styleClass)) {
+ topDivClass += Constants.WHITE_SPACE + mi_styleClass;
}
- if (attrPresents(mi_iconClass)) {
- iconImgSpanClass += SPACE + mi_iconClass;
+ if (ComponentUtil.isNotBlank(mi_iconClass)) {
+ iconImgSpanClass += Constants.WHITE_SPACE + mi_iconClass;
}
- if (attrPresents(mi_labelClass)) {
- labelSpanClass += SPACE + mi_labelClass;
+ if (ComponentUtil.isNotBlank(mi_labelClass)) {
+ labelSpanClass += Constants.WHITE_SPACE + mi_labelClass;
}
// itemTopDiv.setAttribute(HTML.ATTR_CLASS, topDivClass);
@@ -171,10 +170,10 @@
/*
* Setting css styles
*/
- String topDivStyle = EMPTY;
+ String topDivStyle = Constants.EMPTY;
- if (attrPresents(mi_style)) {
- topDivStyle += SPACE + mi_style;
+ if (ComponentUtil.isNotBlank(mi_style)) {
+ topDivStyle += Constants.WHITE_SPACE + mi_style;
}
// itemTopDiv.setAttribute(HTML.ATTR_STYLE, topDivStyle);
@@ -191,7 +190,7 @@
creationData.addChildrenInfo(childInfo);
} else {
String iconPath = sourceElement.getAttribute(ICON);
- if (attrPresents(iconPath)) {
+ if (ComponentUtil.isNotBlank(iconPath)) {
/*
* Add path to specified image
*/
@@ -215,7 +214,7 @@
Attr valueAttr = sourceElement.getAttributeNode(HTML.ATTR_VALUE);
String labelValue = (valueAttr != null && valueAttr.getValue() != null)
? valueAttr.getValue()
- : EMPTY;
+ : Constants.EMPTY;
itemLabelText.setNodeValue(labelValue);
/*
@@ -255,17 +254,6 @@
mi_styleClass = sourceElement.getAttribute(RichFaces.ATTR_STYLE_CLASS);
}
- /**
- * Checks is attribute have some value.
- *
- * @param attr the attribute
- *
- * @return true, if successful
- */
- private static boolean attrPresents(String attr) {
- return ((null != attr) && (!EMPTY.equalsIgnoreCase(attr)));
- }
-
@Override
public boolean isRecreateAtAttrChange(VpePageContext pageContext,
Element sourceElement, nsIDOMDocument visualDocument,
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java 2008-12-19 14:02:16 UTC (rev 12712)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java 2008-12-19 14:05:09 UTC (rev 12713)
@@ -316,8 +316,8 @@
labelAttr);
}
- if (attrPresents(labelValue)) {
- if (attrPresents(bundleValue)) {
+ if (ComponentUtil.isNotBlank(labelValue)) {
+ if (ComponentUtil.isNotBlank(bundleValue)) {
if (!labelValue.equals(bundleValue)) {
resultValue = bundleValue;
} else {
@@ -327,7 +327,7 @@
resultValue = labelValue;
}
} else {
- if (attrPresents(bundleValue)) {
+ if (ComponentUtil.isNotBlank(bundleValue)) {
resultValue = bundleValue;
} else {
resultValue = EMPTY;
@@ -347,7 +347,7 @@
*/
nsIDOMElement iconCell = column1;
nsIDOMElement emptyCell = column3;
- if (attrPresents(pm_iconGroupPosition)) {
+ if (ComponentUtil.isNotBlank(pm_iconGroupPosition)) {
if (RIGHT.equalsIgnoreCase(pm_iconGroupPosition)) {
/*
* Set icon image on the right
@@ -356,7 +356,7 @@
emptyCell = column1;
}
}
- if (childOfPanelMenu && attrPresents(pm_iconGroupTopPosition)) {
+ if (childOfPanelMenu && ComponentUtil.isNotBlank(pm_iconGroupTopPosition)) {
if (RIGHT.equalsIgnoreCase(pm_iconGroupTopPosition)) {
/*
* Set icon image on the right
@@ -392,10 +392,10 @@
tableClass = SPACE + CSS_DR_TOP_GROUP + SPACE + CSS_GROUP;
tableClass += SPACE + CSS_DISABLED_ELEMENT;
divClass += SPACE + CSS_DR_TOP_GROUP_DIV;
- if (attrPresents(pm_disabledGroupClass)) {
+ if (ComponentUtil.isNotBlank(pm_disabledGroupClass)) {
tableClass += SPACE + pm_disabledGroupClass;
}
- if (attrPresents(pm_topGroupStyle)) {
+ if (ComponentUtil.isNotBlank(pm_topGroupStyle)) {
tableStyle += SPACE + pm_topGroupStyle;
}
}
@@ -406,18 +406,18 @@
if (!(TRUE.equalsIgnoreCase(pm_disabled))) {
tableClass += SPACE + CSS_DISABLED_ELEMENT;
- if (attrPresents(pm_disabledGroupClass)){
+ if (ComponentUtil.isNotBlank(pm_disabledGroupClass)){
tableClass += SPACE + pm_disabledGroupClass;
}
}
- if (attrPresents(pmg_disabledClass)) {
+ if (ComponentUtil.isNotBlank(pmg_disabledClass)) {
tableClass += SPACE + pmg_disabledClass;
}
- if (attrPresents(pm_disabledGroupStyle)) {
+ if (ComponentUtil.isNotBlank(pm_disabledGroupStyle)) {
tableStyle += SPACE + pm_disabledGroupStyle;
}
- if (attrPresents(pmg_disabledStyle)) {
+ if (ComponentUtil.isNotBlank(pmg_disabledStyle)) {
tableStyle += SPACE + pmg_disabledStyle;
}
}
@@ -429,16 +429,16 @@
labelCellClass += SPACE + CSS_GROUP_LABEL;
emptyCellClass += SPACE + CSS_GROUP_ICON;
divClass += SPACE + CSS_DR_GROUP_DIV;
- if (attrPresents(pm_groupClass)) {
+ if (ComponentUtil.isNotBlank(pm_groupClass)) {
tableClass += SPACE + pm_groupClass;
}
- if (attrPresents(pm_groupStyle)) {
+ if (ComponentUtil.isNotBlank(pm_groupStyle)) {
tableStyle += SPACE + pm_groupStyle;
}
- if (attrPresents(pmg_iconClass)) {
+ if (ComponentUtil.isNotBlank(pmg_iconClass)) {
iconCellClass += SPACE + pmg_iconClass;
}
- if (attrPresents(pmg_iconStyle)) {
+ if (ComponentUtil.isNotBlank(pmg_iconStyle)) {
iconCellStyle += SPACE + pmg_iconStyle;
}
@@ -448,28 +448,28 @@
labelCellClass = SPACE + CSS_TOP_GROUP_LABEL;
emptyCellClass = SPACE + CSS_TOP_GROUP_ICON;
divClass += SPACE + CSS_DR_TOP_GROUP_DIV;
- if (attrPresents(pm_topGroupClass)) {
+ if (ComponentUtil.isNotBlank(pm_topGroupClass)) {
tableClass += SPACE + pm_topGroupClass;
}
- if (attrPresents(pm_topGroupStyle)) {
+ if (ComponentUtil.isNotBlank(pm_topGroupStyle)) {
tableStyle += pm_topGroupStyle;
}
- if (attrPresents(pmg_iconClass)) {
+ if (ComponentUtil.isNotBlank(pmg_iconClass)) {
iconCellClass += SPACE + pmg_iconClass;
}
- if (attrPresents(pmg_iconStyle)) {
+ if (ComponentUtil.isNotBlank(pmg_iconStyle)) {
iconCellStyle += SPACE + pmg_iconStyle;
}
}
}
- if (attrPresents(pm_styleClass)) {
+ if (ComponentUtil.isNotBlank(pm_styleClass)) {
tableClass += SPACE + pm_styleClass;
}
- if (attrPresents(pmg_styleClass)) {
+ if (ComponentUtil.isNotBlank(pmg_styleClass)) {
tableClass += SPACE + pmg_styleClass;
}
- if (attrPresents(pmg_style)) {
+ if (ComponentUtil.isNotBlank(pmg_style)) {
tableStyle += SPACE + pmg_style;
}
@@ -551,7 +551,7 @@
}
if (TRUE.equalsIgnoreCase(pmg_disabled)) {
- if (attrPresents(pathIconDisabled)) {
+ if (ComponentUtil.isNotBlank(pathIconDisabled)) {
if (DEFAULT_ICON_MAP.containsKey(pathIconDisabled)) {
pathIconDisabled = DEFAULT_ICON_MAP.get(pathIconDisabled);
ComponentUtil.setImg(imgIcon, pathIconDisabled);
@@ -566,7 +566,7 @@
}
} else {
if (expanded) {
- if (attrPresents(pathIconExpanded)) {
+ if (ComponentUtil.isNotBlank(pathIconExpanded)) {
if (DEFAULT_ICON_MAP.containsKey(pathIconExpanded)) {
pathIconExpanded = DEFAULT_ICON_MAP
.get(pathIconExpanded);
@@ -581,7 +581,7 @@
ComponentUtil.setImg(imgIcon, PANEL_MENU_GROUP_ICON_SPACER_PATH);
}
} else {
- if (attrPresents(pathIconCollapsed)) {
+ if (ComponentUtil.isNotBlank(pathIconCollapsed)) {
if (DEFAULT_ICON_MAP.containsKey(pathIconCollapsed)) {
pathIconCollapsed = DEFAULT_ICON_MAP
.get(pathIconCollapsed);
@@ -662,18 +662,6 @@
pmg_style = sourceElement.getAttribute(STYLE);
pmg_styleClass = sourceElement.getAttribute(STYLE_CLASS);
}
-
-
- /**
- * Checks is attribute have some value.
- *
- * @param attr the attribute
- *
- * @return true, if successful
- */
- private static boolean attrPresents(String attr) {
- return ((null != attr) && (!EMPTY.equalsIgnoreCase(attr)));
- }
/* (non-Javadoc)
* @see org.jboss.tools.vpe.editor.template.VpeToggableTemplate#toggle(org.jboss.tools.vpe.editor.VpeVisualDomBuilder, org.w3c.dom.Node, java.lang.String)
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuItemTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuItemTemplate.java 2008-12-19 14:02:16 UTC (rev 12712)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuItemTemplate.java 2008-12-19 14:05:09 UTC (rev 12713)
@@ -230,8 +230,8 @@
labelAttr);
}
- if (attrPresents(labelValue)) {
- if (attrPresents(bundleValue)) {
+ if (ComponentUtil.isNotBlank(labelValue)) {
+ if (ComponentUtil.isNotBlank(bundleValue)) {
if (!labelValue.equals(bundleValue)) {
resultValue = bundleValue;
} else {
@@ -241,7 +241,7 @@
resultValue = labelValue;
}
} else {
- if (attrPresents(bundleValue)) {
+ if (ComponentUtil.isNotBlank(bundleValue)) {
resultValue = bundleValue;
} else {
resultValue = EMPTY;
@@ -274,7 +274,7 @@
nsIDOMElement iconCell = tdNowrapLeft;
nsIDOMElement emptyCell = tdRight;
- if (attrPresents(pm_iconItemPosition)) {
+ if (ComponentUtil.isNotBlank(pm_iconItemPosition)) {
if (RIGHT.equalsIgnoreCase(pm_iconItemPosition)) {
/*
* Set icon image on the right
@@ -283,7 +283,7 @@
emptyCell = tdNowrapLeft;
}
}
- if (childOfPanelMenu && attrPresents(pm_iconItemTopPosition)) {
+ if (childOfPanelMenu && ComponentUtil.isNotBlank(pm_iconItemTopPosition)) {
if (RIGHT.equalsIgnoreCase(pm_iconItemTopPosition)) {
/*
* Set icon image on the right
@@ -350,7 +350,7 @@
*/
private static String[] getSpecifiedIcon(String pm_icon, String pmi_icon) {
String[] imgPath = {EMPTY, EMPTY};
- if (attrPresents(pmi_icon)) {
+ if (ComponentUtil.isNotBlank(pmi_icon)) {
/*
* Icon was set in the panelMenuItem attribute.
*/
@@ -358,7 +358,7 @@
if (RichFacesPanelMenuGroupTemplate.DEFAULT_ICON_MAP.containsKey(pmi_icon)) {
imgPath[1] = RichFacesPanelMenuGroupTemplate.DEFAULT_ICON_MAP.get(pmi_icon);
}
- } else if (attrPresents(pm_icon)) {
+ } else if (ComponentUtil.isNotBlank(pm_icon)) {
/*
* Icon was set in the panelMenu attribute.
*/
@@ -447,10 +447,10 @@
String labelCellClass = EMPTY;
String emptyCellClass = EMPTY;
- if (attrPresents(pmi_styleClass)) {
+ if (ComponentUtil.isNotBlank(pmi_styleClass)) {
tableClass += SPACE + pmi_styleClass;
}
- if (attrPresents(pmi_style)) {
+ if (ComponentUtil.isNotBlank(pmi_style)) {
tableStyle += SPACE + pmi_style;
}
@@ -461,10 +461,10 @@
tableClass += SPACE + CSS_TOP_ITEM;
iconCellClass += SPACE + CSS_TOP_ITEM_ICON;
labelCellClass += SPACE + CSS_TOP_ITEM_LABEL;
- if (attrPresents(pm_disabledItemClass)) {
+ if (ComponentUtil.isNotBlank(pm_disabledItemClass)) {
tableClass += SPACE + pm_disabledItemClass;
}
- if (attrPresents(pm_topItemStyle)) {
+ if (ComponentUtil.isNotBlank(pm_topItemStyle)) {
tableStyle += SPACE + pm_topItemStyle;
}
}
@@ -472,17 +472,17 @@
if (TRUE.equalsIgnoreCase(pmi_disabled)) {
// tableClass += SPACE + CSS_DISABLED_ELEMENT;
- if ((attrPresents(pm_disabledItemClass))
+ if ((ComponentUtil.isNotBlank(pm_disabledItemClass))
&& !(TRUE.equalsIgnoreCase(pm_disabled))) {
tableClass += SPACE + pm_disabledItemClass;
}
- if (attrPresents(pm_disabledItemStyle)) {
+ if (ComponentUtil.isNotBlank(pm_disabledItemStyle)) {
tableStyle += SPACE + pm_disabledItemStyle;
}
- if (attrPresents(pmi_disabledClass)) {
+ if (ComponentUtil.isNotBlank(pmi_disabledClass)) {
tableClass += SPACE + pmi_disabledClass;
}
- if (attrPresents(pmi_disabledStyle)) {
+ if (ComponentUtil.isNotBlank(pmi_disabledStyle)) {
tableStyle += SPACE + pmi_disabledStyle;
}
}
@@ -495,27 +495,27 @@
labelCellClass = CSS_ITEM_LABEL;
emptyCellClass = DR_NOWARP_CLASS;
- if (attrPresents(pmi_iconClass)) {
+ if (ComponentUtil.isNotBlank(pmi_iconClass)) {
imgIconClass += SPACE + pmi_iconClass;
}
- if (attrPresents(pmi_iconStyle)) {
+ if (ComponentUtil.isNotBlank(pmi_iconStyle)) {
iconCellStyle += SPACE + pmi_iconStyle;
}
if (childOfPanelMenu) {
tableClass += SPACE + CSS_TOP_ITEM;
imgIconClass += SPACE + CSS_TOP_ITEM_ICON;
labelCellClass += SPACE + CSS_TOP_ITEM_LABEL;
- if (attrPresents(pm_topItemClass)) {
+ if (ComponentUtil.isNotBlank(pm_topItemClass)) {
tableClass += SPACE + pm_topItemClass;
}
- if (attrPresents(pm_topItemStyle)) {
+ if (ComponentUtil.isNotBlank(pm_topItemStyle)) {
tableStyle += SPACE + pm_topItemStyle;
}
} else {
- if (attrPresents(pm_itemClass)) {
+ if (ComponentUtil.isNotBlank(pm_itemClass)) {
tableClass += SPACE + pm_itemClass;
}
- if (attrPresents(pm_itemStyle)) {
+ if (ComponentUtil.isNotBlank(pm_itemStyle)) {
tableStyle += SPACE + pm_itemStyle;
}
}
@@ -627,17 +627,6 @@
pmi_styleClass = sourceElement.getAttribute(STYLE_CLASS);
}
-
- /**
- * Checks is attribute have some value.
- *
- * @param attr the attribute
- *
- * @return true, if successful
- */
- private static boolean attrPresents(String attr) {
- return ((null != attr) && (!EMPTY.equalsIgnoreCase(attr)));
- }
/* (non-Javadoc)
* @see org.jboss.tools.vpe.editor.template.VpeAbstractTemplate#setSourceAttributeSelection(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Element, int, int, java.lang.Object)
17 years, 4 months
JBoss Tools SVN: r12712 - in trunk/documentation/whatsnew: as and 10 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-12-19 09:02:16 -0500 (Fri, 19 Dec 2008)
New Revision: 12712
Added:
trunk/documentation/whatsnew/images/as_dblclickforedit.png
trunk/documentation/whatsnew/images/as_deployoptions.png
trunk/documentation/whatsnew/images/as_serverlog.png
trunk/documentation/whatsnew/images/as_showin.png
trunk/documentation/whatsnew/images/esb_classpathcontainer.png
trunk/documentation/whatsnew/images/esb_missingruntime.png
trunk/documentation/whatsnew/images/esb_touch.png
trunk/documentation/whatsnew/images/examples_filter.png
trunk/documentation/whatsnew/images/examples_in_help.png
trunk/documentation/whatsnew/images/examples_quickfix.png
trunk/documentation/whatsnew/images/jbds_additionalservers.png
trunk/documentation/whatsnew/images/jmx_perspective.png
trunk/documentation/whatsnew/images/onetooneconfig.png
trunk/documentation/whatsnew/images/portlet_facet.png
trunk/documentation/whatsnew/images/portlet_libraries.png
trunk/documentation/whatsnew/images/portlet_runtime_preference.png
trunk/documentation/whatsnew/images/seam_21facet.png
trunk/documentation/whatsnew/images/seam_actionwarning.png
trunk/documentation/whatsnew/images/seam_changeversion.png
trunk/documentation/whatsnew/images/seam_el_preference.png
trunk/documentation/whatsnew/images/seam_openon_viewid.png
trunk/documentation/whatsnew/images/seam_openwebbrowser.png
trunk/documentation/whatsnew/images/seam_pages_codecomplete_id.png
trunk/documentation/whatsnew/images/seam_pages_idbrowser.png
trunk/documentation/whatsnew/images/vpe_iconcompletion.png
trunk/documentation/whatsnew/jbds/jbds-news-2.0.0.CR1.html
Removed:
trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.CR1.html
Modified:
trunk/documentation/whatsnew/as/as-news-2.0.0.CR1.html
trunk/documentation/whatsnew/esb/esb-news-1.1.0.CR1.html
trunk/documentation/whatsnew/examples/examples-news-1.0.0.CR1.html
trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.CR1.html
trunk/documentation/whatsnew/index.html
trunk/documentation/whatsnew/jbds/jbds-news-2.0.0.Beta1.html
trunk/documentation/whatsnew/jmx/jmx-news-0.5.0.CR1.html
trunk/documentation/whatsnew/portlet/portlet-news-1.0.0.CR1.html
trunk/documentation/whatsnew/seam/seam-news-2.0.0.CR1.html
trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.CR1.html
Log:
updated whatsnew docs for cr1
Modified: trunk/documentation/whatsnew/as/as-news-2.0.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/as/as-news-2.0.0.CR1.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/as/as-news-2.0.0.CR1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -12,16 +12,48 @@
<p align="right"><a href="../index.html">< Main Index</a> <a href="../portlet/portlet-news-1.0.0.CR1.html">Portlet Tools News ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr>
+ <h3>Deployment</h3>
+ <hr>
+ </td>
+ </tr>
+
<tr>
+ <td valign="top" align="left">
+ <p align="right">
+ <b>Deploy in Workspace</b></td>
+ <td valign="top">
+ <p>All JBoss 4.x servers now default to deploying into Eclipse workspace preventing pollution off the default server deploy directory.</p>
+<p>Existing servers will still deploy where they were configured to, but you can double click a server and adjust which mode of deployment you want: In Workspace, Default Server deploy or any custom directory you would wish.</p>
+
+<p>The locations are added to the server via JMX thus it requires JMX to be enabled and if secured that you have specified username/password.</p>
+
+<p><img src="../images/as_deployoptions.png"/></p>
+ </td>
+ </tr>
+
+ <tr>
<td colspan="2">
<hr>
</td>
</tr>
<tr>
+ <td valign="top" align="left">
+ <p align="right">
+ <b>JBoss 5</b></td>
+ <td valign="top">
+ <p>JBoss 5 GA is now supported. Previous versions did not take into account the new common/lib in AS 5 which made some operations fail.</p>
+ </td>
+ </tr>
+
+ <tr>
<td colspan="2">
<hr>
- <h3>Servers</h3>
+ <h3>Views</h3>
<hr>
</td>
</tr>
@@ -32,6 +64,7 @@
<p>The Event Log was formerly embedded inside the Servers view; now it has its own view providing easier access and sorting.</p>
<p><img src="../images/as_serverlog.png"/></p>
+
</td>
</tr>
@@ -61,24 +94,8 @@
</td>
</tr>
- <tr>
- <td colspan="2">
- <hr>
- </td>
- </tr>
<tr>
- <td valign="top" align="left">
- <p align="right">
- <b>Direct edit from Fileset's</b></td>
- <td valign="top">
- <p>Double clicking on a file from Servers fileset now opens up the editor automatically.</p>
-
- <p><img src="../images/fileset_dbl_click.png"/></p>
- </td>
- </tr>
-
- <tr>
<td colspan="2">
<hr>
</td>
@@ -87,12 +104,11 @@
<tr>
<td valign="top" align="left">
<p align="right">
- <b>Server created with default JDK</b></td>
+ <b>Show In Additons</b></td>
<td valign="top">
- <p>Previous versions created servers/runtimes with a specific JDK, now they are created to use
-the default JDK. If you want to use a specific JDK you can go an update it in the server launch config.</p>
+ <p>The Show In menu on AS servers now also include easy access to Server Log and MBean Explorer</p>
- <p><img src="../images/as_server_default_jdk.png"/></p>
+ <p><img src="../images/as_showin.png"/></p>
</td>
</tr>
@@ -105,32 +121,16 @@
<tr>
<td valign="top" align="left">
<p align="right">
- <b>Deploy in Workspace</b></td>
+ <b>Direct edit from Fileset's</b></td>
<td valign="top">
- <p>All JBoss 4.x servers now default to deploying into Eclipse workspace preventing pollution off the default server deploy directory.</p>
-<p>Existing servers will still deploy where they were configured to, but you can double click a server and adjust which mode of deployment you want: In Workspace, Default Server deploy or any custom directory you would wish.</p>
+ <p>Double clicking on a file from Servers fileset now opens up the editor automatically.</p>
-<p>The locations are added to the server via JMX thus it requires JMX to be enabled and if secured that you have specified username/password.</p>
-
- <p><img src="../images/as_server_deploy.png"/></p>
+ <p><img src="../images/as_dblclickforedit.png"/></p>
</td>
</tr>
- <tr>
- <td valign="top" align="left">
- <p align="right">
- <b>JMX Integration</b></td>
- <td valign="top">
- <p>The new JMX view/perspective is integrated into the Server view. You can navigate directly to it via Show In > JMX View.</p>
- <p><img src="../images/as_show_in_jmx.png"/></p>
-<p>When the server is started you can browse the preconfigured JMX connection.</p>
-
- <p><img src="../images/as_server_jmx.png"/></p>
- </td>
- </tr>
-
</table>
</body>
Modified: trunk/documentation/whatsnew/esb/esb-news-1.1.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/esb/esb-news-1.1.0.CR1.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/esb/esb-news-1.1.0.CR1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -27,7 +27,6 @@
<td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Reference guide</b></td>
<td valign="top">
<p>There is now a reference guide for the ESB functionallity.</p>
- <p><img src="../images/esb_docs.png"/></p>
</td>
</tr>
@@ -43,7 +42,7 @@
<td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>"Finger touch" now for ESB projects</b></td>
<td valign="top">
<p>The "Finger" touches descriptors dependent on project (i.e. web.xml for WAR, application.xml for EAR) and now it also touches jboss-esb.xml for ESB projects. This allows for a quick restart of just the project without having to restart server.</p>
- <p><img src="../images/esb_finger.png"/></p>
+<p><img src="../images/esb_touch.png"/></p>
</td>
</tr>
@@ -72,7 +71,6 @@
<td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>"Run/Debug" a ESB project</b></td>
<td valign="top">
<p>The Run On and Debug On actions now work on ESB projects causing a (re)deploy for a user designated server.</p>
- <p><img src="../images/esb_runonserver.png"/></p>
</td>
</tr>
Modified: trunk/documentation/whatsnew/examples/examples-news-1.0.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/examples/examples-news-1.0.0.CR1.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/examples/examples-news-1.0.0.CR1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -21,17 +21,33 @@
<hr/>
</td>
</tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Help > Project Examples</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>Project Examples is now also available directly from the Help menu.</p>
+
+ <p><img src="../images/examples_in_help.png"/></p>
+
+ </td>
+ </tr>
+
<tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <tr>
<td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Quick fixes</b>
+ <a name="itemnam2e" id="itemname2"></a><b>Quick filter in Example Wizard</b>
</td>
<td width="70%" valign="top">
- <p>Project Examples Wizard now provide an option for running Quick fixes on an imported project to
-easily fix possible issues like i.e. missing servers, seam runtimes etc.</p>
+ <p>Project Examples Wizard now provide a filter field to more easily locate the project examples you want.</p>
- <p><img src="../images/example_quickfix.png"/></p>
+ <p><img src="../images/examples_filter.png"/></p>
- <p>For this to work the smoothest we added quick fixes for various Seam problem markers.</p>
+ <p>In the screenshot the user have typed in 'seam' and only projects with 'seam' in the description/name will be shown.</p>
</td>
</tr>
@@ -43,13 +59,17 @@
</tr>
<tr>
<td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Help > Project Examples</b>
+ <a name="itemnam2e" id="itemname2"></a><b>Quick fixes</b>
</td>
<td width="70%" valign="top">
- <p>Project Examples is now also available directly from the Help menu.</p>
+ <p>Project Examples Wizard now provide an option for running Quick fixes on an imported project to
+easily fix possible issues like i.e. missing servers, seam runtimes etc.</p>
- <p><img src="../images/example_helpmenu.png"/></p>
+<p><img src="../images/examples_quickfix.png"/></p>
+
+ <p>For this to work the smoothest we added quick fixes for various Seam problem markers.</p>
+
</td>
</tr>
@@ -60,16 +80,19 @@
</tr>
<tr>
<td valign="top" align="right">
- <a name="itemnam2e" id="itemname2"></a><b>Quick filter in Wizard</b>
+ <a name="itemnam2e" id="itemname2"></a><b>Cheatsheet/help for Examples</b>
</td>
<td width="70%" valign="top">
- <p>Project Examples Wizard now provide a filter field to more easily locate the project examples you want.</p>
+ <p>Project Examples projects can now have an associated html or cheatsheet file associated with the project.</p>
- <p><img src="../images/example_filter.png"/></p>
+ <p><code><welcome type="cheatsheets" url="/testjavaportlet/javaportletcs.xml"/></code></p>
+ <p>Currently only the javaportlet example has a (rudimentary) cheatsheet, but we will be adding more going forward.</p>
+
</td>
</tr>
+
</table>
</body>
Modified: trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.CR1.html
===================================================================
--- trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.CR1.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.CR1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -28,10 +28,6 @@
<td valign="top">
<p>When a JPA/Dali project is created we now automatically setup a Hibernate Console configuration for the project allowing full
usage of Hibernate Tools features without additional setup.</p>
-
- <p><img src="../images/jpa_consoleconfig.png"/></p>
-
-
</td>
</tr>
@@ -57,7 +53,13 @@
</td>
</tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
</table>
</body>
Added: trunk/documentation/whatsnew/images/as_dblclickforedit.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/as_dblclickforedit.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/as_deployoptions.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/as_deployoptions.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/as_serverlog.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/as_serverlog.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/as_showin.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/as_showin.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/esb_classpathcontainer.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/esb_classpathcontainer.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/esb_missingruntime.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/esb_missingruntime.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/esb_touch.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/esb_touch.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/examples_filter.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/examples_filter.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/examples_in_help.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/examples_in_help.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/examples_quickfix.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/examples_quickfix.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/jbds_additionalservers.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jbds_additionalservers.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/jmx_perspective.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jmx_perspective.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/onetooneconfig.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/onetooneconfig.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/portlet_facet.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/portlet_facet.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/portlet_libraries.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/portlet_libraries.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/portlet_runtime_preference.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/portlet_runtime_preference.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/seam_21facet.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/seam_21facet.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/seam_actionwarning.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/seam_actionwarning.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/seam_changeversion.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/seam_changeversion.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/seam_el_preference.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/seam_el_preference.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/seam_openon_viewid.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/seam_openon_viewid.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/seam_openwebbrowser.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/seam_openwebbrowser.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/seam_pages_codecomplete_id.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/seam_pages_codecomplete_id.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/seam_pages_idbrowser.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/seam_pages_idbrowser.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/vpe_iconcompletion.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/vpe_iconcompletion.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/index.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -31,7 +31,6 @@
<p><a href="portlet/portlet-news-1.0.0.CR1.html">Portal Tools</a></p>
<p><a href="examples/examples-news-1.0.0.CR1.html">Examples</a></p>
<p><a href="seam/seam-news-2.0.0.CR1.html">Seam Tools</a></p>
- <p><a href="smooks/smooks-news-1.0.0.CR1.html">Smooks Tools</a></p>
</td>
</tr>
@@ -135,8 +134,16 @@
<hr/>
</td>
</tr>
+
<tr>
<td valign="top" align="left">
+ <p align="right"><b>2.0.0.CR</b></td>
+ <td valign="top">
+ <p><a href="jbds/jbds-news-2.0.0.CR1.html">JBoss Developer Studio</a></p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
<p align="right"><b>2.0.0.Beta1</b></td>
<td valign="top">
<p><a href="jbds/jbds-news-2.0.0.Beta1.html">JBoss Developer Studio</a></p>
Modified: trunk/documentation/whatsnew/jbds/jbds-news-2.0.0.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/jbds/jbds-news-2.0.0.Beta1.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/jbds/jbds-news-2.0.0.Beta1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -2,12 +2,12 @@
<head>
<link rel="stylesheet" href="../whatsnew.css">
-<title>JBoss Developer Studio 2.0.0.CR1 News</title>
+<title>JBoss Developer Studio 2.0.0.Beta1 News</title>
</head>
<body>
-<h1>JBoss Developer Studio 2.0.0.CR1 - New and Noteworthy</h1>
+<h1>JBoss Developer Studio 2.0.0.Beta1 - New and Noteworthy</h1>
<html>
Added: trunk/documentation/whatsnew/jbds/jbds-news-2.0.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/jbds/jbds-news-2.0.0.CR1.html (rev 0)
+++ trunk/documentation/whatsnew/jbds/jbds-news-2.0.0.CR1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -0,0 +1,61 @@
+<html>
+
+<head>
+<link rel="stylesheet" href="../whatsnew.css">
+<title>JBoss Developer Studio 2.0.0.CR1 News</title>
+</head>
+
+<body>
+
+<h1>JBoss Developer Studio 2.0.0.CR1 - New and Noteworthy</h1>
+
+<html>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr>
+ <h3>Installer</h3>
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Installer without runtime</b></td>
+ <td valign="top">
+ <p>We now provide an installer without a JBoss EAP runtime for
+ users with an existing EAP runtime and users who like to save
+ bandwidth.</p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Additional servers</b></td>
+ <td valign="top">
+ <p>The installer now allow users to setup additional servers which will be automatically configured for any new workspaces.</p>
+ <p><img src="../images/jbds_additionalservers.png"/></p>
+ <p>
+ The installer will try and detect what type of server the user
+ have pointed to (EAP, SOA-P, AS, etc.) and configured the
+ apropriate runtimes. i.e. for SOA-P the server, seam and jbpm
+ runtimes are configured where as if you only point to the AS
+ it will only setup the server.
+ </p>
+ </td>
+ </tr>
+
+
+</table>
+
+</body>
+
+</html>
+
+
Modified: trunk/documentation/whatsnew/jmx/jmx-news-0.5.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/jmx/jmx-news-0.5.0.CR1.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/jmx/jmx-news-0.5.0.CR1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -23,7 +23,7 @@
<td valign="top" align="left">
<p align="right"><b>Eclipse JMX moves to JBoss Tools</b></td>
<td valign="top">
- <p>Jeff Mesnil contributed his Eclipse-JMX plugin to JBoss Tools, now called JMX Tools.</p>
+ <p>Jeff Mesnil contributed his <a href="http://code.google.com/p/eclipse-jmx/">Eclipse-JMX</a> plugin to JBoss Tools, now called JMX Tools.</p>
<p>JMX Tools allows you to setup multiple JMX connections and
provides view for exploring the JMX tree and execute operations
directly from Eclipse. The JMX Tools replaces the JMX node we previously had in the JBoss Server View.</p>
@@ -31,6 +31,23 @@
</td>
</tr>
+ <tr>
+ <td colspan="2">
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>JMX Perspective</b></td>
+ <td valign="top">
+<p>The JMX perspective is the simplest way to use the MBean explorer. It allows you to explore the MBean tree on any JMX based system (not just JBoss AS); double click an operation or attribute and a MBean editor shows up with info about the related MBean. </p>
+
+ <p><img src="../images/jmx_perspective.png"/></p>
+ </td>
+
+ </tr>
+
+
</table>
</body>
Modified: trunk/documentation/whatsnew/portlet/portlet-news-1.0.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/portlet/portlet-news-1.0.0.CR1.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/portlet/portlet-news-1.0.0.CR1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -27,15 +27,35 @@
</td>
<td valign="top">
<p>
- Portlet wizards uses a new mechanism for setting up libraries and verifying wether the runtime
-supports the functionallity.</p>
+ The portlet facets will now check the runtime if the libraries are available. If they are the facet will show up, if not they will be hidden.</p>
- <p>If a runtime does not support Portal the portal functionallity will not be available. If
-you want it to show no matter what the runtime support you can go to XYZ.</p>
+<p><img src="../images/portlet_facet.png"/></p>
+
+ <p>If you want portal functionallity to always show no matter what the runtime support you can go to preferences and deselect "Check runtimes for portlet Components".</p>
+
+<p><img src="../images/portlet_runtime_preference.png"/></p>
+
</td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Portlet Libraries</b></p>
+ </td>
+ <td valign="top">
+ <p>
+ Portlet wizards uses a new mechanism for setting up libraries which allow you to choose between user libraries, server runtimes or not include libraries at all.</p>
+
<p><img src="../images/portlet_libraries.png"/></p>
-<p><img src="../images/portlet_runtimevalidation.png"/></p>
+
+ </td>
+
</tr>
<tr>
<td colspan="2">
@@ -44,7 +64,6 @@
</tr>
-
</table>
</body>
Modified: trunk/documentation/whatsnew/seam/seam-news-2.0.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-2.0.0.CR1.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/seam/seam-news-2.0.0.CR1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -30,7 +30,7 @@
<p>The update is a "best-attempt" that will adjust the libraries, Seam facet and runtime version, but configuration files that refer to
the old version will have to be manually updated.</p>
- <p><img src="../images/selective_seam_generate_entities.png"/></p>
+<p><img src="../images/seam_changeversion.png"/></p>
</td>
</tr>
@@ -45,7 +45,7 @@
<td width="70%" valign="top">
<p>There is now a Seam 2.1 runtime option and the components.xml editor supports the new XSD for Seam 2.1</p>
- <p><img src="../images/seam_21support.png"/></p>
+<p><img src="../images/seam_21facet.png"/></p>
</td>
</tr>
@@ -90,16 +90,11 @@
<td width="70%" valign="top">
<p>The Open Web Browser action is now directly available in the Seam perspective.</p>
- <p><img src="../images/seam_openbrowser.png"/></p>
+ <p><img src="../images/seam_openwebbrowser.png"/></p>
</td>
</tr>
<tr>
- <td colspan="2"><hr />
- </td>
- </tr>
-
- <tr>
<td colspan="2">
<hr/>
<h3>Validation</h3>
@@ -112,6 +107,7 @@
<td width="70%" valign="top">
<p>There is now a preference for setting severity of EL Syntax check to Error, Warning or Ignore.</p>
+ <p><img src="../images/seam_el_preference.png"/></p>
</td>
</tr>
@@ -139,6 +135,7 @@
<p>The various Seam action,form,etc. wizard now warns if the wizard will generate a class or page that already
exist.</p>
+<p><img src="../images/seam_actionwarning.png"/></p>
</td>
</tr>
@@ -152,7 +149,7 @@
<a name="itemnam2e" id="itemname2"></a><b>Project Wizards escape spaces</b>
</td>
<td width="70%" valign="top">
- <p>Use of project names with spaces now work since we now escapes the related package names.</p>
+ <p>Use of project names with spaces now work since we now escape the related package names.</p>
</td>
</tr>
@@ -167,7 +164,7 @@
<a name="itemnam2e" id="itemname2"></a><b>entity-query support</b>
</td>
<td width="70%" valign="top">
- <p><framework:entity-query name="postList" ...> is now recognized as a EntityQuery component making code completion aware of it methods/attributes.</p>
+ <p><code><framework:entity-query name="postList" ...></code> is now recognized as a EntityQuery component making code completion aware of it methods/attributes.</p>
</td>
</tr>
@@ -198,8 +195,10 @@
<a name="itemnam2e" id="itemname2"></a><b>View ID browser</b>
</td>
<td width="70%" valign="top">
- <p>When renaming a page node you can now browse for existing pages.</p>
+ <p>When referring a page node you can now browse for existing pages.</p>
+ <p><img src="../images/seam_pages_idbrowser.png"/></p>
+
</td>
</tr>
@@ -215,6 +214,7 @@
<td width="70%" valign="top">
<p>EL and Page Id's can now be navigate to directly via OpenOn's from source page.</p>
+<p><img src="../images/seam_openon_viewid.png"/></p>
</td>
</tr>
@@ -228,9 +228,10 @@
<a name="itemnam2e" id="itemname2"></a><b>Code completion</b>
</td>
<td width="70%" valign="top">
- <p>EL references is now code completed in the source tab of pages.xml. The graphical node now also provides code completion for page id and EL expressions.
-.</p>
+ <p>EL references is now code completed in the source tab of pages.xml. The graphical node now also provides code completion for page id and EL expressions..</p>
+<p><img src="../images/seam_pages_codecomplete_id.png"/></p>
+
</td>
</tr>
@@ -241,10 +242,6 @@
- <tr>
- <td colspan="2"><hr />
- </td>
- </tr>
</table>
Deleted: trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.CR1.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.CR1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -1,51 +0,0 @@
-<?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>Smooks tools 3.0.0.CR1 What's New</title>
-</head>
-<body>
-<h1>Smooks tools 3.0.0.CR1 What's New</h1>
-
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../examples/examples-news-1.0.0.CR1.html">Examples ></a></p>
-
-
-<table border="0" cellpadding="10" cellspacing="0" width="80%">
-
- <tr>
- <td colspan="2">
- <hr/>
- <h3>Smooks</h3>
- <hr/>
- </td>
- </tr>
- <tr>
- <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Source</b></td>
- <td valign="top">
- <p>There is now a source page in the Smooks editor</p>
- <p><img src="../images/smooks_src_editor.png"/></p>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <hr/>
- </td>
- </tr>
- <tr>
- <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Smooks wizard</b></td>
- <td valign="top">
- <p>There is now a Smooks wizard for creating a .smooks file</p>
- <p><img src="../images/smooks_wizard.png"/></p>
- </td>
- </tr>
-</table>
-
-</body>
-
-</html>
-
-
Modified: trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.CR1.html 2008-12-19 13:58:49 UTC (rev 12711)
+++ trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.CR1.html 2008-12-19 14:02:16 UTC (rev 12712)
@@ -37,7 +37,7 @@
Code completion now has icons illustrating what they are from. Currently we separate between resource bundles, seam and jsf components.
</p>
- <p><img src="../images/vpe_iconcompletion.png"/></p>
+ <p><img src="../images/vpe_iconcompletion.png"/></p>
</td>
</tr>
<tr>
17 years, 4 months
JBoss Tools SVN: r12711 - trunk/esb/docs/esb_ref_guide/en/images/esb_project.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2008-12-19 08:58:49 -0500 (Fri, 19 Dec 2008)
New Revision: 12711
Added:
trunk/esb/docs/esb_ref_guide/en/images/esb_project/14typeOfRuntime.png
Log:
https://jira.jboss.org/jira/browse/JBDS-452
Added: trunk/esb/docs/esb_ref_guide/en/images/esb_project/14typeOfRuntime.png
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en/images/esb_project/14typeOfRuntime.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 4 months