JBoss Tools SVN: r7240 - 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-04-01 09:15:11 -0400 (Tue, 01 Apr 2008)
New Revision: 7240
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/panelMenuGroup/style.css
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
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1588, CSS STYLES ADDED
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/panelMenuGroup/style.css
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/panelMenuGroup/style.css 2008-04-01 13:00:16 UTC (rev 7239)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/panelMenuGroup/style.css 2008-04-01 13:15:11 UTC (rev 7240)
@@ -6,52 +6,34 @@
vertical-align: middle;
}
-.rich-pmenu-group-disabled {
+.rich-pmenu-disabled-element {
color: #B1ADA7;
}
-.dr-pmenu-top-group-div {
+.rich-pmenu-top-group-div, .rich-pmenu-group-div {
border-color: #C4C0B9;
border: 1px solid;
margin-bottom: 3px;
padding: 1px;
- border-color: #C4C0B9;
-}
-
-.dr-pmenu-top-self-div {
- border-top: 1px solid;
- margin-bottom: 3px;
- padding: 1px;
- border-color: #C4C0B9;
-}
-
-.dr-pmenu-group {
cursor: pointer;
}
-.dr-pmenu-top-group {
+.rich-pmenu-top-group {
background-color: #D4CFC7;
font-family: Arial, Verdana, sans-serif;
font-size: 11px;
font-weight: bold;
background-position: left top;
background-repeat: repeat-x;
- cursor: pointer;
height: 20px;
padding: 2px 1px 2px 2px;
width: 100%;
}
-.dr-pmenu-selected-item {
- font-style: italic;
-}
-.dr-pmenu-group-self-label {
+.rich-pmenu-top-group-self-label, .rich-pmenu-group-self-label {
padding-left: 5px;
width: 100%;
-}
-
-.rich-pmenu-group-self-label {
font-family: Arial, Verdana, sans-serif;
font-size: 11px;
font-weight: bold;
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-04-01 13:00:16 UTC (rev 7239)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java 2008-04-01 13:15:11 UTC (rev 7240)
@@ -46,6 +46,19 @@
private static final String STYLE = "style"; //$NON-NLS-1$
private static final String STYLE_CLASS = "styleClass"; //$NON-NLS-1$
+ /*
+ * rich:panelMenuGroup css styles
+ */
+ private static final String CSS_TOP_GROUP_DIV = "rich-pmenu-top-group-div"; //$NON-NLS-1$
+ private static final String CSS_TOP_GROUP = "rich-pmenu-top-group"; //$NON-NLS-1$
+ private static final String CSS_TOP_GROUP_ICON = "rich-pmenu-top-group-self-icon"; //$NON-NLS-1$
+ private static final String CSS_TOP_GROUP_LABEL = "rich-pmenu-top-group-self-label"; //$NON-NLS-1$
+ private static final String CSS_GROUP_DIV = "rich-pmenu-group-div"; //$NON-NLS-1$
+ private static final String CSS_GROUP = "rich-pmenu-group"; //$NON-NLS-1$
+ private static final String CSS_GROUP_ICON = "rich-pmenu-group-self-icon"; //$NON-NLS-1$
+ private static final String CSS_GROUP_LABEL = "rich-pmenu-group-self-label"; //$NON-NLS-1$
+ private static final String CSS_DISABLED_ELEMENT = "rich-pmenu-disabled-element"; //$NON-NLS-1$
+
private static final String NAME_COMPONENT = "panelMenuGroup"; //$NON-NLS-1$
private static final String PANEL_MENU_END_TAG = ":panelMenu"; //$NON-NLS-1$
private static final String PANEL_MENU_GROUP_END_TAG = ":panelMenuGroup"; //$NON-NLS-1$
@@ -231,77 +244,73 @@
table.setAttribute(HtmlComponentUtil.HTML_CELLPADDING_ATTR, "0"); //$NON-NLS-1$
table.setAttribute(HtmlComponentUtil.HTML_BORDER_ATTR, "0"); //$NON-NLS-1$
- nsIDOMElement tableBody = visualDocument
+ nsIDOMElement tableBodyRow = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_TR);
- table.appendChild(tableBody);
+ table.appendChild(tableBodyRow);
nsIDOMElement column1 = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_TD);
- column1.setAttribute(COMPONENT_ATTR_VPE_USER_TOGGLE_ID, String
- .valueOf(activeChildId));
- tableBody.appendChild(column1);
+ column1.setAttribute(COMPONENT_ATTR_VPE_USER_TOGGLE_ID, activeChildId);
+ tableBodyRow.appendChild(column1);
- nsIDOMElement img1 = visualDocument
+ nsIDOMElement columnn1_img = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_IMG);
- column1.appendChild(img1);
- ComponentUtil.setImg(img1, PANEL_MENU_GROUP_ICON_SPACER_PATH);
- img1.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
- "rich-pmenu-group-icon"); //$NON-NLS-1$
+ column1.appendChild(columnn1_img);
+ ComponentUtil.setImg(columnn1_img, PANEL_MENU_GROUP_ICON_SPACER_PATH);
nsIDOMElement column2 = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_TD);
- tableBody.appendChild(column2);
+ tableBodyRow.appendChild(column2);
column2.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, "width: 100%;"); //$NON-NLS-1$
nsIDOMText name = visualDocument.createTextNode(pmg_label);
column2.appendChild(name);
- column2.setAttribute(COMPONENT_ATTR_VPE_USER_TOGGLE_ID, String
- .valueOf(activeChildId));
+ column2.setAttribute(COMPONENT_ATTR_VPE_USER_TOGGLE_ID, activeChildId);
nsIDOMElement column3 = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_TD);
- column3.setAttribute(COMPONENT_ATTR_VPE_USER_TOGGLE_ID, String
- .valueOf(activeChildId));
- tableBody.appendChild(column3);
+ column3.setAttribute(COMPONENT_ATTR_VPE_USER_TOGGLE_ID, activeChildId);
+ tableBodyRow.appendChild(column3);
- nsIDOMElement img2 = visualDocument
+ nsIDOMElement column3_img = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_IMG);
- column3.appendChild(img2);
- img2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
- "rich-pmenu-group-icon"); //$NON-NLS-1$
- ComponentUtil.setImg(img2, PANEL_MENU_GROUP_ICON_SPACER_PATH);
+ column3.appendChild(column3_img);
+ ComponentUtil.setImg(column3_img, PANEL_MENU_GROUP_ICON_SPACER_PATH);
- setIcon(pageContext, parent, sourceParentElement, sourceElement, img1,
- img2, expanded, disabled);
+ setIcon(pageContext, parent, sourceParentElement, sourceElement, columnn1_img,
+ column3_img, expanded, disabled);
boolean childOfPanelMenu = parent.getNodeName().endsWith(
PANEL_MENU_END_TAG);
if (childOfPanelMenu) {
+
+ columnn1_img.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, CSS_TOP_GROUP_ICON + SPACE + CSS_GROUP_ICON);
+ column2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, CSS_TOP_GROUP_LABEL + SPACE + CSS_GROUP_LABEL);
+ column3_img.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, CSS_TOP_GROUP_ICON + SPACE + CSS_GROUP_ICON);
+ styleClass = CSS_TOP_GROUP + SPACE + CSS_GROUP;
+
if (attrPresents(pm_topGroupClass)) {
- styleClass = "dr-pmenu-group-self-label dr-pmenu-top-group" //$NON-NLS-1$
- + SPACE + pm_topGroupClass;
- } else {
- styleClass = "dr-pmenu-group-self-label dr-pmenu-top-group"; //$NON-NLS-1$
- }
-
+ styleClass = SPACE + pm_topGroupClass;
+ }
if (attrPresents(pm_topGroupStyle)) {
style += pm_topGroupStyle;
}
- div.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
- "dr-pmenu-top-group-div"); //$NON-NLS-1$
+ div.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, CSS_TOP_GROUP_DIV + SPACE + CSS_GROUP_DIV);
} else {
+
+ columnn1_img.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, CSS_GROUP_ICON);
+ column2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, CSS_GROUP_LABEL);
+ column3_img.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, CSS_GROUP_ICON);
+ styleClass = CSS_GROUP;
+
if (attrPresents(pm_groupClass)) {
- styleClass = "dr-pmenu-group-self-label dr-pmenu-group rich-pmenu-group-self-label" //$NON-NLS-1$
- + SPACE + pm_groupClass;
- } else {
- styleClass = "dr-pmenu-group-self-label dr-pmenu-group rich-pmenu-group-self-label"; //$NON-NLS-1$
- }
+ styleClass = SPACE + pm_groupClass;
+ }
if (attrPresents(pm_groupStyle)) {
style += pm_groupStyle;
}
- div.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
- "dr-pmenu-top-self-div"); //$NON-NLS-1$
+ div.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, CSS_GROUP_DIV);
}
if (attrPresents(pmg_style)) {
@@ -316,19 +325,19 @@
if (disabled) {
if (attrPresents(pm_disabledGroupClass)) {
- disableClass += SPACE + pm_disabledGroupClass;
+ disableClass += pm_disabledGroupClass;
}
if (attrPresents(pmg_disabledClass)) {
disableClass += SPACE + pmg_disabledClass;
}
- disableClass += SPACE + "rich-pmenu-group-disabled"; //$NON-NLS-1$
+ disableClass += SPACE + CSS_DISABLED_ELEMENT;
styleClass += SPACE + disableClass;
if (attrPresents(pm_disabledGroupStyle)) {
disabledStyle += pm_disabledGroupStyle;
}
if (attrPresents(pmg_disabledStyle)) {
- disabledStyle += pmg_disabledStyle;
+ disabledStyle += SPACE + pmg_disabledStyle;
}
style += SPACE + disabledStyle;
}
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-04-01 13:00:16 UTC (rev 7239)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuItemTemplate.java 2008-04-01 13:15:11 UTC (rev 7240)
@@ -38,12 +38,26 @@
private static final String STYLE = "style"; //$NON-NLS-1$
private static final String STYLE_CLASS = "styleClass"; //$NON-NLS-1$
+ /*
+ * rich:panelMenuItem css styles
+ */
+ public static final String CSS_TOP_ITEM = "rich-pmenu-top-item"; //$NON-NLS-1$
+ public static final String CSS_TOP_ITEM_ICON = "rich-pmenu-top-item-icon"; //$NON-NLS-1$
+ public static final String CSS_TOP_ITEM_LABEL = "rich-pmenu-top-item-label"; //$NON-NLS-1$
+ public static final String CSS_ITEM = "rich-pmenu-item"; //$NON-NLS-1$
+ public static final String CSS_ITEM_ICON = "rich-pmenu-item-icon"; //$NON-NLS-1$
+ public static final String CSS_ITEM_LABEL = "rich-pmenu-item-label"; //$NON-NLS-1$
+ public static final String CSS_ITEM_SELECTED = "rich-pmenu-item-selected"; //$NON-NLS-1$
+ public static final String CSS_DISABLED_ELEMENT = "rich-pmenu-disabled-element"; //$NON-NLS-1$
- private static final String PANEL_MENU_ITEM_CLASS = "dr-pmenu-item"; //$NON-NLS-1$
- private static final String PANEL_MENU_NOWARP_CLASS = "dr-pmenu-nowrap"; //$NON-NLS-1$
- private static final String PANEL_MENU_LABLE_CLASS = "dr-pmenu-group-self-label"; //$NON-NLS-1$
- private static final String PANEL_MENU_DIV = "dr-pmenu-top-self-div"; //$NON-NLS-1$
- private static final String DISABLED_CLASS_NAME = "dr-pmenu-item-disabled"; //$NON-NLS-1$
+ /*
+ * rich:panelMenuItem default css styles
+ */
+ private static final String DR_ITEM_CLASS = "dr-pmenu-item"; //$NON-NLS-1$
+ private static final String DR_NOWARP_CLASS = "dr-pmenu-nowrap"; //$NON-NLS-1$
+ private static final String DR_LABEL_CLASS = "dr-pmenu-group-self-label"; //$NON-NLS-1$
+ private static final String DR_TOP_DIV = "dr-pmenu-top-self-div"; //$NON-NLS-1$
+ private static final String DR_DISABLED_CLASS_NAME = "dr-pmenu-item-disabled"; //$NON-NLS-1$
private static final String IMG_POINTS_SRC = "/panelMenuItem/points.gif"; //$NON-NLS-1$
private static final String IMG_SPACER_SRC = "/panelMenuItem/spacer.gif"; //$NON-NLS-1$
@@ -112,7 +126,7 @@
readPanelMenuItemAttributes(sourceElement);
nsIDOMElement parentDiv = visualDocument.createElement("div"); //$NON-NLS-1$
- parentDiv.setAttribute("CLASS", PANEL_MENU_DIV); //$NON-NLS-1$
+ parentDiv.setAttribute("CLASS", DR_TOP_DIV); //$NON-NLS-1$
parentVisualElement.appendChild(parentDiv);
nsIDOMElement div = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_DIV);
@@ -129,7 +143,7 @@
div.appendChild(table);
table.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
- PANEL_MENU_ITEM_CLASS);
+ DR_ITEM_CLASS);
table.setAttribute(HtmlComponentUtil.HTML_CELLPADDING_ATTR,
NO_SIZE_VALUE);
table.setAttribute(HtmlComponentUtil.HTML_CELLSPACING_ATTR,
@@ -145,13 +159,13 @@
.createElement(HtmlComponentUtil.HTML_TAG_TD);
tr.appendChild(tdNowrap);
tdNowrap.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
- PANEL_MENU_NOWARP_CLASS);
+ DR_NOWARP_CLASS);
nsIDOMElement tdLable = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_TD);
tr.appendChild(tdLable);
tdLable.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
- PANEL_MENU_LABLE_CLASS);
+ DR_LABEL_CLASS);
tdLable.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR,
"element.style"); //$NON-NLS-1$
@@ -187,13 +201,13 @@
sourceParentElement, pm_iconTopDisabledItem,
pmi_iconDisabled);
setItemClassAndStyle(table, pm_disabledItemClass,
- pmi_disabledClass, DISABLED_CLASS_NAME,
+ pmi_disabledClass, DR_DISABLED_CLASS_NAME,
pm_disabledItemStyle, pmi_disabledStyle);
} else {
setIcon(pageContext, imgPoints, sourceElement,
sourceParentElement, pm_iconTopItem, pmi_icon);
setItemClassAndStyle(table, pm_topItemClass,
- pmi_styleClass, PANEL_MENU_ITEM_CLASS,
+ pmi_styleClass, DR_ITEM_CLASS,
pm_topItemStyle, pmi_style);
}
setIconPosition(pm_iconItemTopPosition, td, tdNowrap,
@@ -206,13 +220,13 @@
sourceParentElement, pm_iconDisabledItem,
pmi_iconDisabled);
setItemClassAndStyle(table, pm_disabledItemClass,
- pmi_disabledClass, DISABLED_CLASS_NAME,
+ pmi_disabledClass, DR_DISABLED_CLASS_NAME,
pm_disabledItemStyle, pmi_disabledStyle);
} else {
setIcon(pageContext, imgPoints, sourceElement,
sourceParentElement, pm_iconItem, pmi_icon);
setItemClassAndStyle(table, pm_itemClass, pmi_styleClass,
- PANEL_MENU_ITEM_CLASS, pm_itemStyle, pmi_style);
+ DR_ITEM_CLASS, pm_itemStyle, pmi_style);
}
setIconPosition(pm_iconItemPosition, td, tdNowrap, imgPoints,
imgSpacer2);
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java 2008-04-01 13:00:16 UTC (rev 7239)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java 2008-04-01 13:15:11 UTC (rev 7240)
@@ -93,6 +93,11 @@
public static final String TOP_ITEM_STYLE = "topItemStyle"; //$NON-NLS-1$
public static final String ITEM_CLASS = "itemClass"; //$NON-NLS-1$
public static final String ITEM_STYLE = "itemStyle"; //$NON-NLS-1$
+
+ /*
+ * rich:panelMenu css styles
+ */
+ public static final String CSS_PANEL_MENU = "rich-panel-menu"; //$NON-NLS-1$
private static final String PANEL_MENU_GROUP_END = ":panelMenuGroup"; //$NON-NLS-1$
private static final String PANEL_MENU_ITEM_END = ":panelMenuItem"; //$NON-NLS-1$
16 years, 1 month
JBoss Tools SVN: r7239 - in trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam: internal/core and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-04-01 09:00:16 -0400 (Tue, 01 Apr 2008)
New Revision: 7239
Added:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessagesComponent.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessagesLoader.java
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamMessages.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessages.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java
Log:
JBIDE-1258
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamMessages.java 2008-04-01 12:45:29 UTC (rev 7238)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamMessages.java 2008-04-01 13:00:16 UTC (rev 7239)
@@ -15,7 +15,7 @@
/**
* @author Viacheslav Kabanovich
*/
-public interface ISeamMessages extends ISeamAnnotatedFactory {
+public interface ISeamMessages extends ISeamContextVariable {
/**
*
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessages.java 2008-04-01 12:45:29 UTC (rev 7238)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessages.java 2008-04-01 13:00:16 UTC (rev 7239)
@@ -10,184 +10,36 @@
******************************************************************************/
package org.jboss.tools.seam.internal.core;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.util.ArrayList;
import java.util.Collection;
-import java.util.HashMap;
-import java.util.HashSet;
import java.util.List;
-import java.util.Map;
import java.util.Properties;
-import java.util.Set;
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.jboss.tools.common.model.util.EclipseResourceUtil;
-import org.jboss.tools.seam.core.ISeamComponent;
import org.jboss.tools.seam.core.ISeamElement;
import org.jboss.tools.seam.core.ISeamMessages;
-import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.ISeamProperty;
-import org.jboss.tools.seam.core.ISeamXmlComponentDeclaration;
-import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.core.event.Change;
-import org.jboss.tools.seam.core.event.ISeamValue;
-import org.jboss.tools.seam.core.event.ISeamValueList;
-import org.jboss.tools.seam.core.event.ISeamValueString;
import org.w3c.dom.Element;
/**
* @author Viacheslav Kabanovich
*/
public class SeamMessages extends SeamAnnotatedFactory implements ISeamMessages {
- static Map<String, IResource> EMPTY = new HashMap<String, IResource>();
- Map<String, IResource> resources = EMPTY;
- Map<String, Long> timestamps = null;
- Set<String> keys = null;
+ SeamMessagesLoader messagesLoader = new SeamMessagesLoader(this, "org.jboss.seam.core.resourceLoader");
public SeamMessages() {}
public void revalidate() {
- Map<String, IResource> resources2 = getResources();
- if(changed(resources2)) {
- timestamps = new HashMap<String, Long>();
- for (String n : resources2.keySet()) {
- IResource r = resources2.get(n);
- timestamps.put(n, r.getLocalTimeStamp());
- }
- resources = resources2;
- keys = null;
- }
+ messagesLoader.revalidate();
}
- private boolean changed(Map<String, IResource> resources2) {
- if(resources == resources2) return false;
- if(resources2.size() != resources.size()) return true;
- if(timestamps == null) return true;
- for (String s: resources2.keySet()) {
- IResource r2 = resources2.get(s);
- IResource r1 = resources.get(s);
- if(r1 == null || !r2.equals(r1)) return true;
- long l1 = r1.getLocalTimeStamp();
- Long l2 = timestamps.get(s);
- if(l2 == null || l1 != l2.longValue()) return true;
- }
-
- return false;
- }
-
- private Map<String, IResource> getResources() {
- ISeamProject p = getSeamProject();
- if(p == null) return EMPTY;
- IResource[] srcs = EclipseResourceUtil.getJavaSourceRoots(p.getProject());
- ISeamComponent c = p.getComponent("org.jboss.seam.core.resourceLoader");
- if(c == null) return EMPTY;
- List<String> names = new ArrayList<String>();
- Set<ISeamXmlComponentDeclaration> ds = c.getXmlDeclarations();
- for (ISeamXmlComponentDeclaration d: ds) {
- ISeamProperty property = d.getProperty("bundleNames");
- if(property == null) continue;
- ISeamValue v = property.getValue();
- if(v == null) continue;
- if(v instanceof ISeamValueList) {
- List<ISeamValueString> vs = ((ISeamValueList)v).getValues();
- for (ISeamValueString s: vs) {
- if(s.getValue() == null) continue;
- String b = s.getValue().getValue();
- names.add(b);
- }
- } else if(v instanceof ISeamValueString) {
- ISeamValueString s = (ISeamValueString)v;
- if(s.getValue() == null) continue;
- String b = s.getValue().getValue();
- if(b == null || b.length() == 0) continue;
- String[] bi = b.split(",");
- for (int i = 0; i < bi.length; i++) {
- names.add(bi[i].trim());
- }
- }
- }
- if(ds.size() == 0) {
- names.add("messages");
- }
- return getResources(names, srcs);
- }
-
public Collection<ISeamProperty> getProperties() {
- throw new RuntimeException("Not implemented");
+ return messagesLoader.getProperties();
}
public Collection<String> getPropertyNames() {
- if(keys == null) {
- keys = new HashSet<String>();
- for (IResource r: resources.values()) {
- IPath p = r.getLocation();
- if(p == null) continue;
- File f = p.toFile();
- Properties properties = new Properties();
- try {
- properties.load(new FileInputStream(f));
- } catch (IOException e) {
- //ignore
- //TODO keep error for validation
- }
- Set<?> s = properties.keySet();
- for (Object o : s) keys.add((String)o);
- }
- }
- return keys;
+ return messagesLoader.getPropertyNames();
}
- private Map<String, IResource> getResources(List<String> names, IResource[] srcs) {
- Map<String, IResource> rs = new HashMap<String, IResource>();
- for (String name: names) {
- String n = name.replace('.', '/');
- int k = n.lastIndexOf('/');
- String p = k < 0 ? null : n.substring(0, k);
- if(k >= 0) n = n.substring(k + 1);
- IResource result = null;
- for (int j = 0; j < srcs.length && result == null; j++) {
- result = find(p, n, srcs[j]);
- }
- if(result != null) {
- rs.put(name, result);
- }
- }
- return rs;
- }
-
- private IResource find(String pack, String name, IResource src) {
- if(!(src instanceof IContainer)) return null;
- IContainer c = (IContainer)src;
- if(pack != null) {
- c = c.getFolder(new Path(pack));
- }
- if(c == null || !c.exists()) return null;
- String suffix = ".properties";
- String name_ = name + "_";
- String name_p = name + suffix;
- IResource result = null;
- try {
- IResource[] rs = c.members();
- for (int i = 0; i < rs.length; i++) {
- String n = rs[i].getName();
- if(name_p.equals(n)) return rs[i];
- if(result == null && n.startsWith(name_) && n.endsWith(suffix)) {
- result = rs[i];
- }
- }
- } catch (CoreException e) {
- SeamCorePlugin.getPluginLog().logError(e);
- }
-
- return result;
- }
-
public SeamMessages clone() throws CloneNotSupportedException {
SeamMessages c = (SeamMessages)super.clone();
return c;
@@ -200,7 +52,7 @@
public List<Change> merge(ISeamElement s) {
List<Change> changes = super.merge(s);
- keys = null;
+ messagesLoader.keys = null;
return changes;
}
Added: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessagesComponent.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessagesComponent.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessagesComponent.java 2008-04-01 13:00:16 UTC (rev 7239)
@@ -0,0 +1,53 @@
+ /*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.seam.internal.core;
+
+import java.util.Collection;
+import java.util.List;
+import java.util.Properties;
+
+import org.jboss.tools.seam.core.ISeamElement;
+import org.jboss.tools.seam.core.ISeamMessages;
+import org.jboss.tools.seam.core.event.Change;
+import org.w3c.dom.Element;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class SeamMessagesComponent extends SeamComponent implements ISeamMessages {
+ SeamMessagesLoader messagesLoader = new SeamMessagesLoader(this, "org.jboss.seam.core.resourceBundle");
+
+ public SeamMessagesComponent() {}
+
+ public void revalidate() {
+ messagesLoader.revalidate();
+ }
+
+ public Collection<String> getPropertyNames() {
+ return messagesLoader.getPropertyNames();
+ }
+
+ public SeamMessagesComponent clone() throws CloneNotSupportedException {
+ return this;
+ }
+
+ public void loadXML(Element element, Properties context) {
+ super.loadXML(element, context);
+
+ }
+
+ public List<Change> merge(ISeamElement s) {
+ List<Change> changes = super.merge(s);
+ messagesLoader.keys = null;
+ return changes;
+ }
+
+}
Added: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessagesLoader.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessagesLoader.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamMessagesLoader.java 2008-04-01 13:00:16 UTC (rev 7239)
@@ -0,0 +1,201 @@
+ /*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.seam.internal.core;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Properties;
+import java.util.Set;
+
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Path;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.seam.core.ISeamComponent;
+import org.jboss.tools.seam.core.ISeamElement;
+import org.jboss.tools.seam.core.ISeamProject;
+import org.jboss.tools.seam.core.ISeamProperty;
+import org.jboss.tools.seam.core.ISeamXmlComponentDeclaration;
+import org.jboss.tools.seam.core.SeamCorePlugin;
+import org.jboss.tools.seam.core.event.ISeamValue;
+import org.jboss.tools.seam.core.event.ISeamValueList;
+import org.jboss.tools.seam.core.event.ISeamValueString;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class SeamMessagesLoader {
+ static Map<String, IResource> EMPTY = new HashMap<String, IResource>();
+ Map<String, IResource> resources = EMPTY;
+ Map<String, Long> timestamps = null;
+ Set<String> keys = null;
+
+ ISeamElement object;
+
+ /**
+ * In Seam 1.2 "org.jboss.seam.core.resourceBundle"
+ * In Seam 2.0 "org.jboss.seam.core.resourceLoader"
+ */
+ String resourceComponent;
+
+ public SeamMessagesLoader(ISeamElement object, String resourceComponent) {
+ this.object = object;
+ this.resourceComponent = resourceComponent;
+ }
+
+ public void revalidate() {
+ Map<String, IResource> resources2 = getResources();
+ if(changed(resources2)) {
+ timestamps = new HashMap<String, Long>();
+ for (String n : resources2.keySet()) {
+ IResource r = resources2.get(n);
+ timestamps.put(n, r.getLocalTimeStamp());
+ }
+ resources = resources2;
+ keys = null;
+ }
+ }
+
+ private boolean changed(Map<String, IResource> resources2) {
+ if(resources == resources2) return false;
+ if(resources2.size() != resources.size()) return true;
+ if(timestamps == null) return true;
+ for (String s: resources2.keySet()) {
+ IResource r2 = resources2.get(s);
+ IResource r1 = resources.get(s);
+ if(r1 == null || !r2.equals(r1)) return true;
+ long l1 = r1.getLocalTimeStamp();
+ Long l2 = timestamps.get(s);
+ if(l2 == null || l1 != l2.longValue()) return true;
+ }
+
+ return false;
+ }
+
+ private Map<String, IResource> getResources() {
+ ISeamProject p = object.getSeamProject();
+ if(p == null) return EMPTY;
+ IResource[] srcs = EclipseResourceUtil.getJavaSourceRoots(p.getProject());
+ ISeamComponent c = p.getComponent(resourceComponent);
+ if(c == null) return EMPTY;
+ List<String> names = new ArrayList<String>();
+ Set<ISeamXmlComponentDeclaration> ds = c.getXmlDeclarations();
+ for (ISeamXmlComponentDeclaration d: ds) {
+ ISeamProperty property = d.getProperty("bundleNames");
+ if(property == null) continue;
+ ISeamValue v = property.getValue();
+ if(v == null) continue;
+ if(v instanceof ISeamValueList) {
+ List<ISeamValueString> vs = ((ISeamValueList)v).getValues();
+ for (ISeamValueString s: vs) {
+ if(s.getValue() == null) continue;
+ String b = s.getValue().getValue();
+ names.add(b);
+ }
+ } else if(v instanceof ISeamValueString) {
+ ISeamValueString s = (ISeamValueString)v;
+ if(s.getValue() == null) continue;
+ String b = s.getValue().getValue();
+ if(b == null || b.length() == 0) continue;
+ String[] bi = b.split(",");
+ for (int i = 0; i < bi.length; i++) {
+ names.add(bi[i].trim());
+ }
+ }
+ }
+ if(ds.size() == 0) {
+ names.add("messages");
+ }
+ return getResources(names, srcs);
+ }
+
+ public Collection<ISeamProperty> getProperties() {
+ throw new RuntimeException("Not implemented");
+ }
+
+ public Collection<String> getPropertyNames() {
+ if(keys == null) {
+ keys = new HashSet<String>();
+ for (IResource r: resources.values()) {
+ IPath p = r.getLocation();
+ if(p == null) continue;
+ File f = p.toFile();
+ Properties properties = new Properties();
+ try {
+ FileInputStream is = new FileInputStream(f);
+ properties.load(is);
+ is.close();
+ } catch (IOException e) {
+ //ignore
+ //TODO keep error for validation
+ }
+ Set<?> s = properties.keySet();
+ for (Object o : s) keys.add((String)o);
+ }
+ }
+ return keys;
+ }
+
+ private Map<String, IResource> getResources(List<String> names, IResource[] srcs) {
+ Map<String, IResource> rs = new HashMap<String, IResource>();
+ for (String name: names) {
+ String n = name.replace('.', '/');
+ int k = n.lastIndexOf('/');
+ String p = k < 0 ? null : n.substring(0, k);
+ if(k >= 0) n = n.substring(k + 1);
+ IResource result = null;
+ for (int j = 0; j < srcs.length && result == null; j++) {
+ result = find(p, n, srcs[j]);
+ }
+ if(result != null) {
+ rs.put(name, result);
+ }
+ }
+ return rs;
+ }
+
+ private IResource find(String pack, String name, IResource src) {
+ if(!(src instanceof IContainer)) return null;
+ IContainer c = (IContainer)src;
+ if(pack != null) {
+ c = c.getFolder(new Path(pack));
+ }
+ if(c == null || !c.exists()) return null;
+ String suffix = ".properties";
+ String name_ = name + "_";
+ String name_p = name + suffix;
+ IResource result = null;
+ try {
+ IResource[] rs = c.members();
+ for (int i = 0; i < rs.length; i++) {
+ String n = rs[i].getName();
+ if(name_p.equals(n)) return rs[i];
+ if(result == null && n.startsWith(name_) && n.endsWith(suffix)) {
+ result = rs[i];
+ }
+ }
+ } catch (CoreException e) {
+ SeamCorePlugin.getPluginLog().logError(e);
+ }
+
+ return result;
+ }
+
+}
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2008-04-01 12:45:29 UTC (rev 7238)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2008-04-01 13:00:16 UTC (rev 7239)
@@ -1374,6 +1374,7 @@
return components.getByName(name);
}
+ public static String MESSAGES_COMPONENT_NAME = "org.jboss.seam.core.messages";
/**
*
* @param name
@@ -1381,7 +1382,9 @@
* @return
*/
SeamComponent newComponent(String name, ScopeType scopeType) {
- SeamComponent c = new SeamComponent();
+ SeamComponent c =
+ MESSAGES_COMPONENT_NAME.equals(name) ? new SeamMessagesComponent()
+ : new SeamComponent();
c.setName(name);
c.setId(name);
c.setParent(getScope(scopeType));
@@ -1550,6 +1553,10 @@
if(factories.messages != null) {
factories.messages.revalidate();
}
+ ISeamComponent m = getComponent(MESSAGES_COMPONENT_NAME);
+ if(m instanceof SeamMessagesComponent) {
+ ((SeamMessagesComponent)m).revalidate();
+ }
}
/**
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java 2008-04-01 12:45:29 UTC (rev 7238)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java 2008-04-01 13:00:16 UTC (rev 7239)
@@ -180,7 +180,7 @@
*/
protected MessagesInfo(MemberInfo parentMember, ISeamMessages messages) throws JavaModelException {
super(null, null, messages.getName(), 0, null, false, null);
- IMember member = messages.getSourceMember();
+ IMember member = (IMember)getJavaElement();
IType type = member.getDeclaringType();
setSourceType(type);
setDeclaringTypeQualifiedName(type==null?null:type.getFullyQualifiedName());
@@ -197,7 +197,14 @@
*/
@Override
public IJavaElement getJavaElement() {
- return messages.getSourceMember();
+ if(messages instanceof ISeamJavaSourceReference) {
+ return ((ISeamJavaSourceReference)messages).getSourceMember();
+ } else if(messages instanceof ISeamComponent) {
+ ISeamComponent c = (ISeamComponent)messages;
+ ISeamJavaComponentDeclaration d = c.getJavaDeclaration();
+ if(d != null) return d.getSourceMember();
+ }
+ return null;
}
/**
16 years, 1 month
JBoss Tools SVN: r7238 - in trunk/common: tests/org.jboss.tools.common.test/META-INF and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2008-04-01 08:45:29 -0400 (Tue, 01 Apr 2008)
New Revision: 7238
Added:
trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/util/WorkbenchUtils.java
Removed:
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/util/WorkbenchUtils.java
Modified:
trunk/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF
Log:
http://jira.jboss.com/jira/browse/JBIDE-1496
Deleted: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/util/WorkbenchUtils.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/util/WorkbenchUtils.java 2008-04-01 12:00:06 UTC (rev 7237)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/util/WorkbenchUtils.java 2008-04-01 12:45:29 UTC (rev 7238)
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-
-package org.jboss.tools.common.util;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jface.wizard.IWizard;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchWizard;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.wizards.IWizardDescriptor;
-import org.jboss.tools.common.CommonPlugin;
-
-/**
- * @author eskimo
- *
- */
-public class WorkbenchUtils {
-
- static public IWizard findWizardByDefId(String definitionId) {
- IWizardDescriptor aWizardDescr =
- getWorkbench().getNewWizardRegistry()
- .findWizard(definitionId);
- IWorkbenchWizard aWizard=null;
- try {
- aWizard = aWizardDescr.createWizard();
- } catch (CoreException e) {
- CommonPlugin.getPluginLog().logError("Cannot create IWorkbenchWizard instance",e);
- }
- return aWizard;
- }
-
- public static IWorkbench getWorkbench() {
- return PlatformUI.getWorkbench();
- }
-
- /**
- * @return
- */
- public static IWorkbenchPage getWorkbenchActivePage() {
- // TODO Auto-generated method stub
- return getWorkbench().getActiveWorkbenchWindow().getActivePage();
- }
-}
Modified: trunk/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF 2008-04-01 12:00:06 UTC (rev 7237)
+++ trunk/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF 2008-04-01 12:45:29 UTC (rev 7238)
@@ -14,6 +14,7 @@
Export-Package: org.jboss.tools.common.reporting.test,
org.jboss.tools.common.test,
org.jboss.tools.common.test.util,
+ org.jboss.tools.common.util,
org.jboss.tools.common.util.test,
org.jboss.tools.common.xml.test
Bundle-ClassPath: common-tests.jar
Copied: trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/util/WorkbenchUtils.java (from rev 3923, trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/util/WorkbenchUtils.java)
===================================================================
--- trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/util/WorkbenchUtils.java (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/util/WorkbenchUtils.java 2008-04-01 12:45:29 UTC (rev 7238)
@@ -0,0 +1,53 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.common.util;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jface.wizard.IWizard;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchWizard;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.wizards.IWizardDescriptor;
+import org.jboss.tools.common.CommonPlugin;
+
+/**
+ * @author eskimo
+ *
+ */
+public class WorkbenchUtils {
+
+ static public IWizard findWizardByDefId(String definitionId) {
+ IWizardDescriptor aWizardDescr =
+ getWorkbench().getNewWizardRegistry()
+ .findWizard(definitionId);
+ IWorkbenchWizard aWizard=null;
+ try {
+ aWizard = aWizardDescr.createWizard();
+ } catch (CoreException e) {
+ CommonPlugin.getPluginLog().logError("Cannot create IWorkbenchWizard instance",e);
+ }
+ return aWizard;
+ }
+
+ public static IWorkbench getWorkbench() {
+ return PlatformUI.getWorkbench();
+ }
+
+ /**
+ * @return
+ */
+ public static IWorkbenchPage getWorkbenchActivePage() {
+ // TODO Auto-generated method stub
+ return getWorkbench().getActiveWorkbenchWindow().getActivePage();
+ }
+}
16 years, 1 month
JBoss Tools SVN: r7237 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2008-04-01 08:00:06 -0400 (Tue, 01 Apr 2008)
New Revision: 7237
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java
Log:
Fixed tests
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java 2008-04-01 10:09:26 UTC (rev 7236)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java 2008-04-01 12:00:06 UTC (rev 7237)
@@ -28,15 +28,15 @@
public static Test suite() {
TestSuite suite = new TestSuite();
suite.setName("All tests for " + PLUGIN_ID);
-// suite.addTestSuite(ScannerTest.class);
-// suite.addTestSuite(SerializationTest.class);
-// suite.addTestSuite(SeamBigProjectTest.class);
-// suite.addTestSuite(SeamEARTest.class);
-// suite.addTestSuite(SeamRuntimeListConverterTest.class);
-// suite.addTestSuite(SeamRuntimeManagerTest.class);
-// suite.addTestSuite(SeamFacetInstallDelegateTest.class);
+ suite.addTestSuite(ScannerTest.class);
+ suite.addTestSuite(SerializationTest.class);
+ suite.addTestSuite(SeamBigProjectTest.class);
+ suite.addTestSuite(SeamEARTest.class);
+ suite.addTestSuite(SeamRuntimeListConverterTest.class);
+ suite.addTestSuite(SeamRuntimeManagerTest.class);
+ suite.addTestSuite(SeamFacetInstallDelegateTest.class);
suite.addTest(SeamValidatorsAllTests.suite());
-// suite.addTest(SeamRefactoringAllTests.suite());
+ suite.addTest(SeamRefactoringAllTests.suite());
// Seam 2 tests can't run on hudson for now ;(
//suite.addTestSuite(Seam2FacetInstallDelegateTest.class);
16 years, 1 month
JBoss Tools SVN: r7236 - 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-04-01 06:09:26 -0400 (Tue, 01 Apr 2008)
New Revision: 7236
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/RichFacesPanelMenuItemTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1588, styles updated, expandSingle attribute added, toggling updated.
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-04-01 09:59:08 UTC (rev 7235)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java 2008-04-01 10:09:26 UTC (rev 7236)
@@ -31,6 +31,8 @@
public class RichFacesPanelMenuGroupTemplate extends VpeAbstractTemplate {
+ public static final String GROUP_COUNT_SEPARATOR = "-"; //$NON-NLS-1$
+
/*
* pich:panelMenuGroup attributes
*/
@@ -184,7 +186,7 @@
RichFacesPanelMenuGroupTemplate.encode(pageContext,
creationData, sourceParentElement,
(Element) child, visualDocument, div, activeIds,
- childId + "-" + childGroupCount); //$NON-NLS-1$
+ childId + GROUP_COUNT_SEPARATOR + childGroupCount);
childGroupCount++;
} else {
RichFacesPanelMenuItemTemplate
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-04-01 09:59:08 UTC (rev 7235)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuItemTemplate.java 2008-04-01 10:09:26 UTC (rev 7236)
@@ -33,8 +33,6 @@
private static final String DISABLED = "disabled"; //$NON-NLS-1$
private static final String ICON = "icon"; //$NON-NLS-1$
private static final String ICON_DISABLED = "iconDisabled"; //$NON-NLS-1$
- private static final String ITEM_CLASS = "itemClass"; //$NON-NLS-1$
- private static final String ITEM_STYLE = "itemStyle"; //$NON-NLS-1$
private static final String DISABLED_CLASS = "disabledClass"; //$NON-NLS-1$
private static final String DISABLED_STYLE = "disabledStyle"; //$NON-NLS-1$
private static final String STYLE = "style"; //$NON-NLS-1$
@@ -51,7 +49,11 @@
private static final String IMG_SPACER_SRC = "/panelMenuItem/spacer.gif"; //$NON-NLS-1$
private static final String STYLE_PATH = "/panelMenuItem/style.css"; //$NON-NLS-1$
+ private static final String SPACE = " "; //$NON-NLS-1$
+ private static final String EMPTY = ""; //$NON-NLS-1$
private static final String TRUE = "true"; //$NON-NLS-1$
+ private static final String RIGHT = "right"; //$NON-NLS-1$
+ private static final String LEFT = "left"; //$NON-NLS-1$
private static final String NO_SIZE_VALUE = "0"; //$NON-NLS-1$
private static final String DEFAULT_SIZE_VALUE = "16"; //$NON-NLS-1$
@@ -85,8 +87,6 @@
private static String pmi_disabled;
private static String pmi_icon;
private static String pmi_iconDisabled;
- private static String pmi_itemClass;
- private static String pmi_itemStyle;
private static String pmi_disabledClass;
private static String pmi_disabledStyle;
private static String pmi_style;
@@ -156,7 +156,7 @@
"element.style"); //$NON-NLS-1$
String value = sourceElement.getAttribute("label"); //$NON-NLS-1$
- nsIDOMText text = visualDocument.createTextNode(value == null ? "" //$NON-NLS-1$
+ nsIDOMText text = visualDocument.createTextNode(value == null ? EMPTY //$NON-NLS-1$
: value);
tdLable.appendChild(text);
@@ -275,12 +275,12 @@
nsIDOMElement right, nsIDOMElement left, nsIDOMElement imgPoints,
nsIDOMElement imgSpacer2) {
if (!(iconPosition == null)) {
- if (iconPosition.equals("right")) { //$NON-NLS-1$
+ if (iconPosition.equals(RIGHT)) {
setItemImage(right, imgPoints);
} else {
setItemImage(right, imgSpacer2);
ComponentUtil.setImg(imgSpacer2, IMG_SPACER_SRC);
- if (iconPosition.equals("left")) { //$NON-NLS-1$
+ if (iconPosition.equals(LEFT)) {
setItemImage(left, imgPoints);
}
}
@@ -294,22 +294,25 @@
private static void setItemClassAndStyle(nsIDOMElement table,
String parentClass, String itemClass, String defaultClass,
String parentStyle, String itemStyle) {
- String resultClass = ""; //$NON-NLS-1$
+
+ String resultClass = EMPTY;
+ if (!(defaultClass == null || defaultClass.length() == 0)) {
+ resultClass += defaultClass;
+ }
if (!(parentClass == null || parentClass.length() == 0)) {
- resultClass += parentClass;
+ resultClass += SPACE + parentClass;
}
if (!(itemClass == null || itemClass.length() == 0)) {
- resultClass += itemClass;
+ resultClass += SPACE + itemClass;
}
- table.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, defaultClass
- + " " + resultClass); //$NON-NLS-1$
+ table.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, resultClass);
- String resultStyle = ""; //$NON-NLS-1$
+ String resultStyle = EMPTY;
if (!(parentStyle == null || parentStyle.length() == 0)) {
resultStyle += parentStyle;
}
if (!(itemStyle == null || itemStyle.length() == 0)) {
- resultStyle += itemStyle;
+ resultStyle += SPACE + itemStyle;
}
table.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, resultStyle);
}
@@ -365,8 +368,6 @@
pmi_disabled = sourceElement.getAttribute(DISABLED);
pmi_icon = sourceElement.getAttribute(ICON);
pmi_iconDisabled = sourceElement.getAttribute(ICON_DISABLED);
- pmi_itemClass = sourceElement.getAttribute(ITEM_CLASS);
- pmi_itemStyle = sourceElement.getAttribute(ITEM_STYLE);
pmi_disabledClass = sourceElement.getAttribute(DISABLED_CLASS);
pmi_disabledStyle = sourceElement.getAttribute(DISABLED_STYLE);
pmi_style = sourceElement.getAttribute(STYLE);
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java 2008-04-01 09:59:08 UTC (rev 7235)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java 2008-04-01 10:09:26 UTC (rev 7236)
@@ -38,8 +38,15 @@
*/
public class RichFacesPanelMenuTemplate extends VpeAbstractTemplate implements
VpeToggableTemplate {
-
+
/*
+ * rich:panelMenu attributes
+ */
+ public static final String DISABLED = "disabled"; //$NON-NLS-1$
+ public static final String EXPAND_SINGLE = "expandSingle"; //$NON-NLS-1$
+ public static final String WIDTH = "width"; //$NON-NLS-1$
+
+ /*
* rich:panelMenu attributes for groups
*/
public static final String ICON_GROUP_POSITION = "iconGroupPosition"; //$NON-NLS-1$
@@ -64,7 +71,6 @@
/*
* rich:panelMenu style classes
*/
- public static final String DISABLED = "disabled"; //$NON-NLS-1$
public static final String STYLE = "style"; //$NON-NLS-1$
public static final String STYLE_CLASS = "styleClass"; //$NON-NLS-1$
@@ -88,13 +94,13 @@
public static final String ITEM_CLASS = "itemClass"; //$NON-NLS-1$
public static final String ITEM_STYLE = "itemStyle"; //$NON-NLS-1$
-
- private static final String WIDTH_ATTR_PANELMENU = "width"; //$NON-NLS-1$
-
private static final String PANEL_MENU_GROUP_END = ":panelMenuGroup"; //$NON-NLS-1$
private static final String PANEL_MENU_ITEM_END = ":panelMenuItem"; //$NON-NLS-1$
+ private static final String TRUE = "true"; //$NON-NLS-1$
private List<String> activeIds = new ArrayList<String>();
+
+ private String expandSingle;
// private static final String DISABLED_STYLE_FOR_TABLE = "color:#B1ADA7";
@@ -103,10 +109,10 @@
Element sourceElement = (Element) sourceNode;
- String width = sourceElement.getAttribute(WIDTH_ATTR_PANELMENU);
+ String width = sourceElement.getAttribute(WIDTH);
String style = sourceElement.getAttribute(STYLE);
- String styleClass = sourceElement
- .getAttribute(STYLE_CLASS);
+ String styleClass = sourceElement.getAttribute(STYLE_CLASS);
+ expandSingle = sourceElement.getAttribute(EXPAND_SINGLE);
if (width != null) {
style += "" + "; width:" + width; //$NON-NLS-1$ //$NON-NLS-2$
@@ -176,19 +182,68 @@
public void toggle(VpeVisualDomBuilder builder, Node sourceNode,
String toggleId) {
- if (activeIds.contains(toggleId)) {
- activeIds.remove(toggleId);
-
- for (Iterator<String> iterator = activeIds.iterator(); iterator.hasNext();) {
- String id = iterator.next();
- if (id.startsWith(toggleId)) {
- iterator.remove();
+ /*
+ * Expand only one group.
+ */
+ if ((null != expandSingle) && (TRUE.equalsIgnoreCase(expandSingle))) {
+ if (activeIds.contains(toggleId)) {
+ /*
+ * Close group and its children
+ */
+ activeIds.remove(toggleId);
+ for (Iterator<String> iterator = activeIds.iterator(); iterator.hasNext();) {
+ String id = iterator.next();
+ if (id.startsWith(toggleId)) {
+ iterator.remove();
+ }
}
+ } else {
+ /*
+ * Expand new group, close others
+ */
+ String[] toggleIds = toggleId.split(RichFacesPanelMenuGroupTemplate.GROUP_COUNT_SEPARATOR);
+ if ((null != toggleIds) && (toggleIds.length > 0)) {
+ for (Iterator<String> iterator = activeIds.iterator(); iterator.hasNext();) {
+ String id = iterator.next();
+ String[] ids = id.split(RichFacesPanelMenuGroupTemplate.GROUP_COUNT_SEPARATOR);
+ if ((null != ids) && (ids.length > 0)) {
+ if (ids.length >= toggleIds.length) {
+ /*
+ * Remove all ids that are deeper than selected
+ * and that are on the same level.
+ */
+ iterator.remove();
+ } else {
+ /*
+ * Remove all ids that are not in the selected branch.
+ */
+ for (int i = 0; i < ids.length; i++) {
+ if (!ids[i].equalsIgnoreCase(toggleIds[i])) {
+ iterator.remove();
+ }
+ }
+ }
+ }
+ }
+ }
+ activeIds.add(toggleId);
}
- } else{
- activeIds.add(toggleId);
+ } else {
+ /*
+ * Expand any number of groups.
+ */
+ if (activeIds.contains(toggleId)) {
+ activeIds.remove(toggleId);
+ for (Iterator<String> iterator = activeIds.iterator(); iterator.hasNext();) {
+ String id = iterator.next();
+ if (id.startsWith(toggleId)) {
+ iterator.remove();
+ }
+ }
+ } else {
+ activeIds.add(toggleId);
+ }
}
-
}
public void stopToggling(Node sourceNode) {
16 years, 1 month
JBoss Tools SVN: r7235 - in trunk: vpe/tests/org.jboss.tools.vpe.ui.test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-04-01 05:59:08 -0400 (Tue, 01 Apr 2008)
New Revision: 7235
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/build.properties
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/build.properties
Log:
build.properties fixed
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/build.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/build.properties 2008-04-01 02:24:21 UTC (rev 7234)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/build.properties 2008-04-01 09:59:08 UTC (rev 7235)
@@ -1,10 +1,14 @@
bin.includes = META-INF/,\
resources/,\
- vpe-rf-test.jar
+ vpe-rf-test.jar,\
+ plugin.xml,\
+ about.html
jars.compile.order = vpe-rf-test.jar
source.vpe-rf-test.jar = src/
output.vpe-rf-test.jar = bin/
src.includes = src/,\
resources/,\
META-INF/,\
- build.properties
\ No newline at end of file
+ build.properties,\
+ plugin.xml,\
+ about.html
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/build.properties
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/build.properties 2008-04-01 02:24:21 UTC (rev 7234)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/build.properties 2008-04-01 09:59:08 UTC (rev 7235)
@@ -1,4 +1,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .
+ .,\
+ plugin.xml
16 years, 1 month
JBoss Tools SVN: r7234 - trunk/common/features/org.jboss.tools.common.core.feature.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2008-03-31 22:24:21 -0400 (Mon, 31 Mar 2008)
New Revision: 7234
Modified:
trunk/common/features/org.jboss.tools.common.core.feature/feature.xml
Log:
updating (currently unused) features to use correct IDs, copyright/license info, update site, etc
Modified: trunk/common/features/org.jboss.tools.common.core.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.core.feature/feature.xml 2008-04-01 02:24:19 UTC (rev 7233)
+++ trunk/common/features/org.jboss.tools.common.core.feature/feature.xml 2008-04-01 02:24:21 UTC (rev 7234)
@@ -1,25 +1,25 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.common.core_feature"
- label="Common Core Feature"
- version="2.0.0"
- provider-name="JBOSS">
-
- <description url="http://www.jboss.org/tools">
- JBossTools Common Core plugins
- </description>
-
- <copyright>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.common.core.feature"
+ label="Common Core Feature"
+ version="2.0.0"
+ provider-name="JBoss, a division of Red Hat">
+
+ <description url="http://www.jboss.org/tools">
+ JBossTools Common Core plugins
+ </description>
+
+ <copyright>
Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
Distributed under license by Red Hat, Inc. All rights reserved.
This program is made available under the terms of the
Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
@@ -215,31 +215,35 @@
No party to this Agreement will bring a legal action under this
Agreement more than one year after the cause of action arose.
Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <plugin
- id="org.jboss.tools.common"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.kb"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.model"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.projecttemplates"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+litigation.
+ </license>
+
+ <url>
+ <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <plugin
+ id="org.jboss.tools.common"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.kb"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.model"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.projecttemplates"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
16 years, 1 month
JBoss Tools SVN: r7233 - trunk/common/features/org.jboss.tools.common.text.ext.feature.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2008-03-31 22:24:19 -0400 (Mon, 31 Mar 2008)
New Revision: 7233
Modified:
trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml
Log:
updating (currently unused) features to use correct IDs, copyright/license info, update site, etc
Modified: trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml 2008-04-01 02:24:17 UTC (rev 7232)
+++ trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml 2008-04-01 02:24:19 UTC (rev 7233)
@@ -1,23 +1,229 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
- id="org.jboss.tools.common.text.ext_feature"
+ id="org.jboss.tools.common.text.ext.feature"
label="Ext Feature"
- version="2.0.0">
+ version="2.0.0"
+ provider-name="JBoss, a division of Red Hat">
- <description url="http://www.example.com/description">
- [Enter Feature Description here.]
+ <description url="http://www.jboss.org/tools">
+ JBossTools Common Text Extension Feature
</description>
- <copyright url="http://www.example.com/copyright">
- [Enter Copyright Description here.]
+ <copyright>
+ Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
+Distributed under license by Red Hat, Inc. All rights reserved.
+This program is made available under the terms of the
+Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html
+Contributors:
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
</copyright>
- <license url="http://www.example.com/license">
- [Enter License Description here.]
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
+ Eclipse Public License - v 1.0
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
+ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
+DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.
+1. DEFINITIONS
+"Contribution" means:
+a) in the case of the initial Contributor, the initial code and
+documentation distributed under this Agreement, and
+b) in the case of each subsequent Contributor:
+i) changes to the Program, and
+ii) additions to the Program;
+where such changes and/or additions to the Program originate
+from and are distributed by that particular Contributor. A Contribution
+'originates' from a Contributor if it was added to the Program
+by such Contributor itself or anyone acting on such Contributor's
+behalf. Contributions do not include additions to the Program
+which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii)
+are not derivative works of the Program.
+"Contributor" means any person or entity that distributes the
+Program.
+"Licensed Patents " mean patent claims licensable by a Contributor
+which are necessarily infringed by the use or sale of its Contribution
+alone or when combined with the Program.
+"Program" means the Contributions distributed in accordance with
+this Agreement.
+"Recipient" means anyone who receives the Program under this
+Agreement, including all Contributors.
+2. GRANT OF RIGHTS
+a) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free copyright
+license to reproduce, prepare derivative works of, publicly display,
+publicly perform, distribute and sublicense the Contribution
+of such Contributor, if any, and such derivative works, in source
+code and object code form.
+b) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free patent
+license under Licensed Patents to make, use, sell, offer to sell,
+import and otherwise transfer the Contribution of such Contributor,
+if any, in source code and object code form. This patent license
+shall apply to the combination of the Contribution and the Program
+if, at the time the Contribution is added by the Contributor,
+such addition of the Contribution causes such combination to
+be covered by the Licensed Patents. The patent license shall
+not apply to any other combinations which include the Contribution.
+No hardware per se is licensed hereunder.
+c) Recipient understands that although each Contributor grants
+the licenses to its Contributions set forth herein, no assurances
+are provided by any Contributor that the Program does not infringe
+the patent or other intellectual property rights of any other
+entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement
+of intellectual property rights or otherwise. As a condition
+to exercising the rights and licenses granted hereunder, each
+Recipient hereby assumes sole responsibility to secure any other
+intellectual property rights needed, if any. For example, if
+a third party patent license is required to allow Recipient to
+distribute the Program, it is Recipient's responsibility to acquire
+that license before distributing the Program.
+d) Each Contributor represents that to its knowledge it has sufficient
+copyright rights in its Contribution, if any, to grant the copyright
+license set forth in this Agreement.
+3. REQUIREMENTS
+A Contributor may choose to distribute the Program in object
+code form under its own license agreement, provided that:
+a) it complies with the terms and conditions of this Agreement;
+and
+b) its license agreement:
+i) effectively disclaims on behalf of all Contributors all warranties
+and conditions, express and implied, including warranties or
+conditions of title and non-infringement, and implied warranties
+or conditions of merchantability and fitness for a particular
+purpose;
+ii) effectively excludes on behalf of all Contributors all liability
+for damages, including direct, indirect, special, incidental
+and consequential damages, such as lost profits;
+iii) states that any provisions which differ from this Agreement
+are offered by that Contributor alone and not by any other party;
+and
+iv) states that source code for the Program is available from
+such Contributor, and informs licensees how to obtain it in a
+reasonable manner on or through a medium customarily used for
+software exchange.
+When the Program is made available in source code form:
+a) it must be made available under this Agreement; and
+b) a copy of this Agreement must be included with each copy of
+the Program.
+Contributors may not remove or alter any copyright notices contained
+within the Program.
+Each Contributor must identify itself as the originator of its
+Contribution, if any, in a manner that reasonably allows subsequent
+Recipients to identify the originator of the Contribution.
+4. COMMERCIAL DISTRIBUTION
+Commercial distributors of software may accept certain responsibilities
+with respect to end users, business partners and the like. While
+this license is intended to facilitate the commercial use of
+the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create
+potential liability for other Contributors. Therefore, if a Contributor
+includes the Program in a commercial product offering, such Contributor
+("Commercial Contributor") hereby agrees to defend and indemnify
+every other Contributor ("Indemnified Contributor") against any
+losses, damages and costs (collectively "Losses") arising from
+claims, lawsuits and other legal actions brought by a third party
+against the Indemnified Contributor to the extent caused by the
+acts or omissions of such Commercial Contributor in connection
+with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any
+claims or Losses relating to any actual or alleged intellectual
+property infringement. In order to qualify, an Indemnified Contributor
+must: a) promptly notify the Commercial Contributor in writing
+of such claim, and b) allow the Commercial Contributor to control,
+and cooperate with the Commercial Contributor in, the defense
+and any related settlement negotiations. The Indemnified Contributor
+may participate in any such claim at its own expense.
+For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's responsibility
+alone. Under this section, the Commercial Contributor would have
+to defend claims against the other Contributors related to those
+performance claims and warranties, and if a court requires any
+other Contributor to pay any damages as a result, the Commercial
+Contributor must pay those damages.
+5. NO WARRANTY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
+IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
+ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
+OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with
+its exercise of rights under this Agreement , including but not
+limited to the risks and costs of program errors, compliance
+with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations.
+6. DISCLAIMER OF LIABILITY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
+OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
+OF SUCH DAMAGES.
+7. GENERAL
+If any provision of this Agreement is invalid or unenforceable
+under applicable law, it shall not affect the validity or enforceability
+of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be
+reformed to the minimum extent necessary to make such provision
+valid and enforceable.
+If Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging
+that the Program itself (excluding combinations of the Program
+with other software or hardware) infringes such Recipient's patent(s),
+then such Recipient's rights granted under Section 2(b) shall
+terminate as of the date such litigation is filed.
+All Recipient's rights under this Agreement shall terminate if
+it fails to comply with any of the material terms or conditions
+of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If
+all Recipient's rights under this Agreement terminate, Recipient
+agrees to cease use and distribution of the Program as soon as
+reasonably practicable. However, Recipient's obligations under
+this Agreement and any licenses granted by Recipient relating
+to the Program shall continue and survive.
+Everyone is permitted to copy and distribute copies of this Agreement,
+but in order to avoid inconsistency the Agreement is copyrighted
+and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including
+revisions) of this Agreement from time to time. No one other
+than the Agreement Steward has the right to modify this Agreement.
+The Eclipse Foundation is the initial Agreement Steward. The
+Eclipse Foundation may assign the responsibility to serve as
+the Agreement Steward to a suitable separate entity. Each new
+version of the Agreement will be given a distinguishing version
+number. The Program (including Contributions) may always be distributed
+subject to the version of the Agreement under which it was received.
+In addition, after a new version of the Agreement is published,
+Contributor may elect to distribute the Program (including its
+Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights
+or licenses to the intellectual property of any Contributor under
+this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under
+this Agreement are reserved.
+This Agreement is governed by the laws of the State of New York
+and the intellectual property laws of the United States of America.
+No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose.
+Each party waives its rights to a jury trial in any resulting
+litigation.
</license>
+ <url>
+ <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
<requires>
- <import feature="org.jboss.tools.common.core_feature" version="1.0.0"/>
+ <import feature="org.jboss.tools.common.core.feature" version="1.0.0"/>
</requires>
<plugin
16 years, 1 month
JBoss Tools SVN: r7232 - trunk/common/features/org.jboss.tools.common.verification.feature.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2008-03-31 22:24:17 -0400 (Mon, 31 Mar 2008)
New Revision: 7232
Modified:
trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml
Log:
updating (currently unused) features to use correct IDs, copyright/license info, update site, etc
Modified: trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml 2008-04-01 02:24:15 UTC (rev 7231)
+++ trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml 2008-04-01 02:24:17 UTC (rev 7232)
@@ -1,21 +1,227 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
- id="org.jboss.tools.common.verification_feature"
+ id="org.jboss.tools.common.verification.feature"
label="Verification Feature"
- version="2.0.0">
+ version="2.0.0"
+ provider-name="JBoss, a division of Red Hat">
- <description url="http://www.example.com/description">
- [Enter Feature Description here.]
+ <description url="http://www.jboss.org/tools">
+ JBossTools Common Verification Feature
</description>
- <copyright url="http://www.example.com/copyright">
- [Enter Copyright Description here.]
+ <copyright>
+ Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
+Distributed under license by Red Hat, Inc. All rights reserved.
+This program is made available under the terms of the
+Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html
+Contributors:
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
</copyright>
- <license url="http://www.example.com/license">
- [Enter License Description here.]
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
+ Eclipse Public License - v 1.0
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
+ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
+DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.
+1. DEFINITIONS
+"Contribution" means:
+a) in the case of the initial Contributor, the initial code and
+documentation distributed under this Agreement, and
+b) in the case of each subsequent Contributor:
+i) changes to the Program, and
+ii) additions to the Program;
+where such changes and/or additions to the Program originate
+from and are distributed by that particular Contributor. A Contribution
+'originates' from a Contributor if it was added to the Program
+by such Contributor itself or anyone acting on such Contributor's
+behalf. Contributions do not include additions to the Program
+which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii)
+are not derivative works of the Program.
+"Contributor" means any person or entity that distributes the
+Program.
+"Licensed Patents " mean patent claims licensable by a Contributor
+which are necessarily infringed by the use or sale of its Contribution
+alone or when combined with the Program.
+"Program" means the Contributions distributed in accordance with
+this Agreement.
+"Recipient" means anyone who receives the Program under this
+Agreement, including all Contributors.
+2. GRANT OF RIGHTS
+a) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free copyright
+license to reproduce, prepare derivative works of, publicly display,
+publicly perform, distribute and sublicense the Contribution
+of such Contributor, if any, and such derivative works, in source
+code and object code form.
+b) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free patent
+license under Licensed Patents to make, use, sell, offer to sell,
+import and otherwise transfer the Contribution of such Contributor,
+if any, in source code and object code form. This patent license
+shall apply to the combination of the Contribution and the Program
+if, at the time the Contribution is added by the Contributor,
+such addition of the Contribution causes such combination to
+be covered by the Licensed Patents. The patent license shall
+not apply to any other combinations which include the Contribution.
+No hardware per se is licensed hereunder.
+c) Recipient understands that although each Contributor grants
+the licenses to its Contributions set forth herein, no assurances
+are provided by any Contributor that the Program does not infringe
+the patent or other intellectual property rights of any other
+entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement
+of intellectual property rights or otherwise. As a condition
+to exercising the rights and licenses granted hereunder, each
+Recipient hereby assumes sole responsibility to secure any other
+intellectual property rights needed, if any. For example, if
+a third party patent license is required to allow Recipient to
+distribute the Program, it is Recipient's responsibility to acquire
+that license before distributing the Program.
+d) Each Contributor represents that to its knowledge it has sufficient
+copyright rights in its Contribution, if any, to grant the copyright
+license set forth in this Agreement.
+3. REQUIREMENTS
+A Contributor may choose to distribute the Program in object
+code form under its own license agreement, provided that:
+a) it complies with the terms and conditions of this Agreement;
+and
+b) its license agreement:
+i) effectively disclaims on behalf of all Contributors all warranties
+and conditions, express and implied, including warranties or
+conditions of title and non-infringement, and implied warranties
+or conditions of merchantability and fitness for a particular
+purpose;
+ii) effectively excludes on behalf of all Contributors all liability
+for damages, including direct, indirect, special, incidental
+and consequential damages, such as lost profits;
+iii) states that any provisions which differ from this Agreement
+are offered by that Contributor alone and not by any other party;
+and
+iv) states that source code for the Program is available from
+such Contributor, and informs licensees how to obtain it in a
+reasonable manner on or through a medium customarily used for
+software exchange.
+When the Program is made available in source code form:
+a) it must be made available under this Agreement; and
+b) a copy of this Agreement must be included with each copy of
+the Program.
+Contributors may not remove or alter any copyright notices contained
+within the Program.
+Each Contributor must identify itself as the originator of its
+Contribution, if any, in a manner that reasonably allows subsequent
+Recipients to identify the originator of the Contribution.
+4. COMMERCIAL DISTRIBUTION
+Commercial distributors of software may accept certain responsibilities
+with respect to end users, business partners and the like. While
+this license is intended to facilitate the commercial use of
+the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create
+potential liability for other Contributors. Therefore, if a Contributor
+includes the Program in a commercial product offering, such Contributor
+("Commercial Contributor") hereby agrees to defend and indemnify
+every other Contributor ("Indemnified Contributor") against any
+losses, damages and costs (collectively "Losses") arising from
+claims, lawsuits and other legal actions brought by a third party
+against the Indemnified Contributor to the extent caused by the
+acts or omissions of such Commercial Contributor in connection
+with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any
+claims or Losses relating to any actual or alleged intellectual
+property infringement. In order to qualify, an Indemnified Contributor
+must: a) promptly notify the Commercial Contributor in writing
+of such claim, and b) allow the Commercial Contributor to control,
+and cooperate with the Commercial Contributor in, the defense
+and any related settlement negotiations. The Indemnified Contributor
+may participate in any such claim at its own expense.
+For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's responsibility
+alone. Under this section, the Commercial Contributor would have
+to defend claims against the other Contributors related to those
+performance claims and warranties, and if a court requires any
+other Contributor to pay any damages as a result, the Commercial
+Contributor must pay those damages.
+5. NO WARRANTY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
+IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
+ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
+OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with
+its exercise of rights under this Agreement , including but not
+limited to the risks and costs of program errors, compliance
+with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations.
+6. DISCLAIMER OF LIABILITY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
+OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
+OF SUCH DAMAGES.
+7. GENERAL
+If any provision of this Agreement is invalid or unenforceable
+under applicable law, it shall not affect the validity or enforceability
+of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be
+reformed to the minimum extent necessary to make such provision
+valid and enforceable.
+If Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging
+that the Program itself (excluding combinations of the Program
+with other software or hardware) infringes such Recipient's patent(s),
+then such Recipient's rights granted under Section 2(b) shall
+terminate as of the date such litigation is filed.
+All Recipient's rights under this Agreement shall terminate if
+it fails to comply with any of the material terms or conditions
+of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If
+all Recipient's rights under this Agreement terminate, Recipient
+agrees to cease use and distribution of the Program as soon as
+reasonably practicable. However, Recipient's obligations under
+this Agreement and any licenses granted by Recipient relating
+to the Program shall continue and survive.
+Everyone is permitted to copy and distribute copies of this Agreement,
+but in order to avoid inconsistency the Agreement is copyrighted
+and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including
+revisions) of this Agreement from time to time. No one other
+than the Agreement Steward has the right to modify this Agreement.
+The Eclipse Foundation is the initial Agreement Steward. The
+Eclipse Foundation may assign the responsibility to serve as
+the Agreement Steward to a suitable separate entity. Each new
+version of the Agreement will be given a distinguishing version
+number. The Program (including Contributions) may always be distributed
+subject to the version of the Agreement under which it was received.
+In addition, after a new version of the Agreement is published,
+Contributor may elect to distribute the Program (including its
+Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights
+or licenses to the intellectual property of any Contributor under
+this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under
+this Agreement are reserved.
+This Agreement is governed by the laws of the State of New York
+and the intellectual property laws of the United States of America.
+No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose.
+Each party waives its rights to a jury trial in any resulting
+litigation.
</license>
+ <url>
+ <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
<plugin
id="org.jboss.tools.common.verification"
download-size="0"
16 years, 1 month
JBoss Tools SVN: r7231 - trunk/common/features/org.jboss.tools.common.feature.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2008-03-31 22:24:15 -0400 (Mon, 31 Mar 2008)
New Revision: 7231
Modified:
trunk/common/features/org.jboss.tools.common.feature/feature.xml
Log:
updating (currently unused) features to use correct IDs, copyright/license info, update site, etc
Modified: trunk/common/features/org.jboss.tools.common.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.feature/feature.xml 2008-04-01 02:24:13 UTC (rev 7230)
+++ trunk/common/features/org.jboss.tools.common.feature/feature.xml 2008-04-01 02:24:15 UTC (rev 7231)
@@ -1,24 +1,25 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.common_feature"
- label="Common Feature"
- version="2.0.0">
-
- <description url="http://www.jboss.org/tools">
- JBossTools Common Feature
- </description>
-
- <copyright>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.common.feature"
+ label="Common Feature"
+ version="2.0.0"
+ provider-name="JBoss, a division of Red Hat">
+
+ <description url="http://www.jboss.org/tools">
+ JBossTools Common Feature
+ </description>
+
+ <copyright>
Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
Distributed under license by Red Hat, Inc. All rights reserved.
This program is made available under the terms of the
Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
@@ -214,19 +215,23 @@
No party to this Agreement will bring a legal action under this
Agreement more than one year after the cause of action arose.
Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <includes
- id="org.eclipse.wst.common_core.feature"
- version="0.0.0"/>
-
- <includes
- id="org.eclipse.wst.common_ui.feature"
- version="0.0.0"/>
-
- <requires>
- <import feature="org.jboss.tools.common.text.ext_feature" version="0.0.0" match="greaterOrEqual"/>
- </requires>
-
-</feature>
+litigation.
+ </license>
+
+ <url>
+ <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <includes
+ id="org.eclipse.wst.common_core.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.eclipse.wst.common_ui.feature"
+ version="0.0.0"/>
+
+ <requires>
+ <import feature="org.jboss.tools.common.text.ext_feature" version="0.0.0" match="greaterOrEqual"/>
+ </requires>
+
+</feature>
16 years, 1 month