JBoss Tools SVN: r6977 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-03-18 06:08:38 -0400 (Tue, 18 Mar 2008)
New Revision: 6977
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1492
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2008-03-18 09:44:53 UTC (rev 6976)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2008-03-18 10:08:38 UTC (rev 6977)
@@ -80,4 +80,6 @@
public static final String ATTR_DIR = "dir"; //$NON-NLS-1$
public static final String ATTR_DISABLED = "disabled"; //$NON-NLS-1$
public static final String ATTR_FRAME = "frame"; //$NON-NLS-1$
+ public static final String ATTR_ROWSPAN = "rowspan"; //$NON-NLS-1$
+
}
\ No newline at end of file
16 years, 7 months
JBoss Tools SVN: r6976 - trunk/as/docs/reference.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-03-18 05:44:53 -0400 (Tue, 18 Mar 2008)
New Revision: 6976
Modified:
trunk/as/docs/reference/pom.xml
Log:
test
Modified: trunk/as/docs/reference/pom.xml
===================================================================
--- trunk/as/docs/reference/pom.xml 2008-03-18 08:55:00 UTC (rev 6975)
+++ trunk/as/docs/reference/pom.xml 2008-03-18 09:44:53 UTC (rev 6976)
@@ -5,10 +5,10 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>server-manager-ref-guide-${translation}</artifactId>
+ <artifactId>as-ref-guide-${translation}</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
- <name>Server_Manager_Reference_Guide_(${translation})</name>
+ <name>AS_Reference_Guide_(${translation})</name>
<build>
<plugins>
16 years, 7 months
JBoss Tools SVN: r6975 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-03-18 04:55:00 -0400 (Tue, 18 Mar 2008)
New Revision: 6975
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/EditableTemplateAdapter.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1492
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/EditableTemplateAdapter.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/EditableTemplateAdapter.java 2008-03-18 08:44:51 UTC (rev 6974)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/EditableTemplateAdapter.java 2008-03-18 08:55:00 UTC (rev 6975)
@@ -21,6 +21,7 @@
import org.jboss.tools.vpe.editor.selection.VpeSelectionController;
import org.jboss.tools.vpe.editor.util.TemplateManagingUtil;
import org.jboss.tools.vpe.editor.util.TextUtil;
+import org.jboss.tools.vpe.editor.util.VisualDomUtil;
import org.mozilla.interfaces.nsIDOMElement;
import org.mozilla.interfaces.nsIDOMKeyEvent;
import org.mozilla.interfaces.nsIDOMNode;
@@ -278,6 +279,7 @@
// if offset is end of text will do nothing
if (focusOffset == node.getNodeValue().length()) {
+ setSourceSelection(pageContext, node, focusOffset, 0);
return true;
}
@@ -362,8 +364,11 @@
// if text was not selected then will be deleted previous character
if (focusOffset == anchorOffset) {
// if offset is start of text then will do nothing
- if (focusOffset == 0)
+ if (focusOffset == 0) {
+
+ setSourceSelection(pageContext, node, 0, 0);
return true;
+ }
// set start offset to previous character
startOffset = focusOffset - 1;
length = 1;
@@ -552,6 +557,8 @@
if (focusOffset != 0) {
setSourceSelection(pageContext, node, focusOffset - 1, 0);
+ } else {
+ setSourceSelection(pageContext, node, 0, 0);
}
}
return true;
@@ -573,27 +580,33 @@
return true;
}
- /*
- * (non-Javadoc)
+ /**
*
- * @see org.jboss.tools.vpe.editor.template.VpeTemplateNodesManager#getSourceNode(org.jboss.tools.vpe.editor.context.VpePageContext,
- * org.mozilla.interfaces.nsIDOMNode)
+ * @param pageContext
+ * @param visualNode
+ * @param elementData
+ * @return
*/
- public Node getSourceNode(VpePageContext pageContext,
+ protected VpeAttributeData getAttributeData(VpePageContext pageContext,
nsIDOMNode visualNode, VpeElementData elementData) {
- if ((elementData != null) && (elementData.getAttributesData() != null)) {
+ // if input data is correct
+ if ((visualNode != null) && (elementData != null)
+ && (elementData.getAttributesData() != null)) {
List<VpeAttributeData> attributesMapping = elementData
.getAttributesData();
for (VpeAttributeData attributeData : attributesMapping) {
- if (attributeData.getVisualAttr().equals(visualNode))
- return attributeData.getSourceAttr();
+ // if visual nodes equals
+ if (visualNode.equals(attributeData.getVisualAttr()))
+ return attributeData;
}
}
+
return null;
+
}
/**
@@ -603,25 +616,67 @@
* @param elementData
* @return
*/
- public nsIDOMNode getVisualNode(VpePageContext pageContext, Node node,
- VpeElementData elementData) {
+ protected VpeAttributeData getAttributeData(VpePageContext pageContext,
+ Node node, VpeElementData elementData) {
- if ((elementData != null) && (elementData.getAttributesData() != null)) {
+ // if input data is correct
+ if ((node != null) && (elementData != null)
+ && (elementData.getAttributesData() != null)) {
List<VpeAttributeData> attributesMapping = elementData
.getAttributesData();
for (VpeAttributeData attributeData : attributesMapping) {
- if (attributeData.getSourceAttr().equals(node))
- return attributeData.getVisualAttr();
+
+ // if source nodes equals
+ if (node.equals(attributeData.getSourceAttr()))
+ return attributeData;
}
}
return null;
+
}
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplateNodesManager#getSourceNode(org.jboss.tools.vpe.editor.context.VpePageContext,
+ * org.mozilla.interfaces.nsIDOMNode)
+ */
+ public Node getSourceNode(VpePageContext pageContext,
+ nsIDOMNode visualNode, VpeElementData elementData) {
+
+ // get attribute data
+ VpeAttributeData attributeData = getAttributeData(pageContext,
+ visualNode, elementData);
+
+ if (attributeData != null)
+ return attributeData.getSourceAttr();
+
+ return null;
+ }
+
/**
*
* @param pageContext
+ * @param node
+ * @param elementData
+ * @return
+ */
+ public nsIDOMNode getVisualNode(VpePageContext pageContext, Node node,
+ VpeElementData elementData) {
+
+ VpeAttributeData attributeData = getAttributeData(pageContext, node,
+ elementData);
+ if (attributeData != null)
+ return attributeData.getVisualAttr();
+
+ return null;
+ }
+
+ /**
+ *
+ * @param pageContext
* @param visualNode
* @param elementData
* @return
@@ -629,32 +684,26 @@
public boolean isNodeEditable(VpePageContext pageContext,
nsIDOMNode visualNode, VpeElementData elementData) {
- if ((elementData != null) && (elementData.getAttributesData() != null)) {
+ VpeAttributeData attributeData = getAttributeData(pageContext,
+ visualNode, elementData);
- List<VpeAttributeData> attributesMapping = elementData
- .getAttributesData();
+ if (attributeData != null)
+ return attributeData.isEditable();
- for (VpeAttributeData attributeData : attributesMapping) {
-
- if (attributeData.getVisualAttr().equals(visualNode))
- return attributeData.isEditable();
- }
- }
return false;
}
+ /**
+ *
+ */
public boolean isNodeEditable(VpePageContext pageContext, Node node,
VpeElementData elementData) {
- if ((elementData != null) && (elementData.getAttributesData() != null)) {
- List<VpeAttributeData> attributesMapping = elementData
- .getAttributesData();
+ VpeAttributeData attributeData = getAttributeData(pageContext, node,
+ elementData);
- for (VpeAttributeData attributeData : attributesMapping) {
-
- if (attributeData.getSourceAttr().equals(node))
- return attributeData.isEditable();
- }
+ if (attributeData != null) {
+ return attributeData.isEditable();
}
return false;
}
@@ -688,27 +737,55 @@
nsIDOMNode focusedVisualNode = selection.getFocusNode();
+ if (focusedVisualNode == null)
+ return;
+
VpeElementMapping elementMapping = pageContext.getDomMapping()
.getNearElementMapping(focusedVisualNode);
+ if (elementMapping == null)
+ return;
- int focusOffset = selection.getFocusOffset();
- int anchorOffset = selection.getAnchorOffset();
+ int focusOffset;
+ int length;
+ VpeAttributeData attributeData = getAttributeData(pageContext,
+ focusedVisualNode, elementMapping.getElementData());
+
boolean isEditable = isNodeEditable(pageContext, focusedVisualNode,
elementMapping.getElementData());
- Node focusedSourceNode = getSourceNode(pageContext, focusedVisualNode,
- elementMapping.getElementData());
+ Node focusedSourceNode;
+ if (attributeData == null) {
- if (focusedSourceNode == null)
focusedSourceNode = elementMapping.getSourceNode();
- if (isEditable)
- setSourceSelection(pageContext, focusedSourceNode, focusOffset,
- anchorOffset - focusOffset);
- else
- setSourceSelection(pageContext, focusedSourceNode, 0,
- getLengthNode(focusedSourceNode));
+ focusedVisualNode = elementMapping.getVisualNode();
+ focusOffset = 0;
+ length = 0;
+
+ } else {
+
+ focusedSourceNode = getSourceNode(pageContext, focusedVisualNode,
+ elementMapping.getElementData());
+
+ if (focusedSourceNode == null)
+ focusedSourceNode = elementMapping.getSourceNode();
+
+ if (isEditable) {
+
+ focusOffset = selection.getFocusOffset();
+ length = selection.getAnchorOffset() - focusOffset;
+
+ } else {
+
+ focusOffset = 0;
+ length = getLengthNode(focusedSourceNode);
+ }
+
+ }
+
+ setSourceSelection(pageContext, focusedSourceNode, focusOffset, length);
+
if (focusedVisualNode.getNodeType() != nsIDOMNode.ELEMENT_NODE)
focusedVisualNode = focusedVisualNode.getParentNode();
@@ -745,7 +822,6 @@
int visualFocus = 0;
int visualAnchor = 0;
nsIDOMNode visualNode = null;
- nsIDOMNode visualParent = null;
if ((focusNode == anchorNode)
&& isNodeEditable(pageContext, focusNode, elementMapping
.getElementData())) {
@@ -753,8 +829,6 @@
visualNode = getVisualNode(pageContext, focusNode, elementMapping
.getElementData());
if (visualNode != null) {
- visualParent = (nsIDOMNode) visualNode.getParentNode()
- .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
String text = focusNode.getNodeValue();
int start = getStartOffsetNode(focusNode);
focus = focus - start;
@@ -766,18 +840,27 @@
}
if (visualNode == null) {
- visualParent = visualNode = elementMapping.getVisualNode();
+ visualNode = elementMapping.getVisualNode();
}
nsISelection selection = selectionController
.getSelection(nsISelectionController.SELECTION_NORMAL);
- selection.collapse(visualNode, visualFocus);
+ if (visualNode.getNodeType() == nsIDOMNode.TEXT_NODE) {
+ selection.collapse(visualNode, visualFocus);
- // if(visualFocus!=visualAnchor)
- // selection.extend(visualNode, visualAnchor );
+ // if(visualFocus!=visualAnchor)
+ // selection.extend(visualNode, visualAnchor );
+ }
+ else {
+ selection.collapse(visualNode, 0);
+ }
+ if (visualNode.getNodeType() != nsIDOMNode.ELEMENT_NODE) {
+ visualNode = visualNode.getParentNode();
+ }
pageContext.getVisualBuilder().setSelectionRectangle(
- (nsIDOMElement) visualParent);
+ (nsIDOMElement) visualNode
+ .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID));
}
/*
@@ -796,8 +879,9 @@
for (VpeAttributeData attributeData : attributesMapping) {
- if ((offset > (getStartOffsetNode(attributeData.getSourceAttr())))
- && (offset < (getEndOffsetNode(attributeData
+ if ((offset >= (getStartOffsetNode(attributeData
+ .getSourceAttr())))
+ && (offset <= (getEndOffsetNode(attributeData
.getSourceAttr()))))
return attributeData.getSourceAttr();
}
16 years, 7 months
JBoss Tools SVN: r6974 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-03-18 04:44:51 -0400 (Tue, 18 Mar 2008)
New Revision: 6974
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF
Log:
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF 2008-03-18 08:43:44 UTC (rev 6973)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF 2008-03-18 08:44:51 UTC (rev 6974)
@@ -13,8 +13,7 @@
org.eclipse.wst.sse.ui,
org.eclipse.ui.workbench.texteditor,
org.eclipse.ui.ide,
- org.mozilla.xpcom,
- org.jboss.tools.vpe.xulrunner
+ org.mozilla.xpcom
Eclipse-LazyStart: true
Bundle-Vendor: Red Hat, Inc.
Bundle-ClassPath: lib/jhighlight-1.0.jar,
16 years, 7 months
JBoss Tools SVN: r6973 - in trunk: jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF and 7 other directories.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-03-18 04:43:44 -0400 (Tue, 18 Mar 2008)
New Revision: 6973
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/handler.gif
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/input.gif
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/inputNumberSlider_old.css
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/numberSlider.css
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/spacer.gif
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/track.gif
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/AbstractEditableRichFacesTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/InputNumberSliderTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/util/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/util/RichFaces.java
Removed:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractJsfTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/inputNumberSlider.css
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractOutputJsfTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSelectionBuilder.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualKeyHandler.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mapping/VpeAttributeData.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java
Log:
Copied: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java (from rev 6822, trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractJsfTemplate.java)
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java 2008-03-18 08:43:44 UTC (rev 6973)
@@ -0,0 +1,180 @@
+/*******************************************************************************
+ * 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.jsf.vpe.jsf.template;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
+
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
+import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
+import org.jboss.tools.vpe.editor.template.EditableTemplateAdapter;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.TemplateManagingUtil;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMKeyEvent;
+import org.mozilla.interfaces.nsIDOMNode;
+import org.mozilla.interfaces.nsISelection;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+/**
+ * general class for jsf templates
+ *
+ * @author Sergey Dzmitrovich
+ *
+ */
+public abstract class AbstractEditableJsfTemplate extends EditableTemplateAdapter {
+
+ // general jsf attributes
+ static private Map<String, String> attributes = new HashMap<String, String>();
+
+ static {
+ attributes.put("style", HTML.ATTR_STYLE);
+ attributes.put("styleClass", HTML.ATTR_CLASS);
+ }
+
+ /**
+ * copy general
+ *
+ * @param visualElement
+ * @param sourceElement
+ */
+ protected void copyGeneralJsfAttributes(nsIDOMElement visualElement,
+ Element sourceElement) {
+
+ Set<String> jsfAttributes = attributes.keySet();
+
+ for (String key : jsfAttributes) {
+
+ copyAttribute(visualElement, sourceElement, key, attributes
+ .get(key));
+ }
+
+ }
+
+ /**
+ * copy attribute
+ *
+ * @param visualElement
+ * @param sourceElement
+ * @param sourceAttributeName
+ * @param targetAtttributeName
+ */
+ protected void copyAttribute(nsIDOMElement visualElement,
+ Element sourceElement, String sourceAttributeName,
+ String targetAtttributeName) {
+
+ if (sourceElement.hasAttribute(sourceAttributeName))
+ visualElement.setAttribute(targetAtttributeName, sourceElement
+ .getAttribute(sourceAttributeName));
+
+ }
+
+ protected boolean handleCharacter(VpePageContext pageContext,
+ nsIDOMKeyEvent keyEvent) {
+
+ // get selection
+ nsISelection selection = getCurrentSelection(pageContext);
+
+ // get visual node which is focused
+ nsIDOMNode visualNode = selection.getFocusNode();
+
+ VpeElementMapping elementMapping = getElmentMapping(pageContext,
+ visualNode);
+ if (elementMapping != null)
+ return super.handleCharacter(pageContext, keyEvent);
+ else
+ return true;
+ }
+
+ protected boolean handleLeftDelete(VpePageContext pageContext,
+ nsIDOMKeyEvent keyEvent) {
+
+ // get selection
+ nsISelection selection = getCurrentSelection(pageContext);
+
+ // get visual node which is focused
+ nsIDOMNode visualNode = selection.getFocusNode();
+
+ VpeElementMapping elementMapping = getElmentMapping(pageContext,
+ visualNode);
+ if (elementMapping != null)
+ return super.handleLeftDelete(pageContext, keyEvent);
+ else
+ return true;
+
+ }
+
+ protected boolean handleRightDelete(VpePageContext pageContext,
+ nsIDOMKeyEvent keyEvent) {
+
+ // get selection
+ nsISelection selection = getCurrentSelection(pageContext);
+
+ // get visual node which is focused
+ nsIDOMNode visualNode = selection.getFocusNode();
+
+ VpeElementMapping elementMapping = getElmentMapping(pageContext,
+ visualNode);
+ if (elementMapping != null)
+ return super.handleRightDelete(pageContext, keyEvent);
+ else
+ return true;
+ }
+
+ @Override
+ public void setSelection(VpePageContext pageContext, nsISelection selection) {
+
+ nsIDOMNode focusedVisualNode = selection.getFocusNode();
+
+ VpeElementMapping elementMapping = pageContext.getDomMapping()
+ .getNearElementMapping(focusedVisualNode);
+
+ if (elementMapping != null)
+ super.setSelection(pageContext, selection);
+ else {
+
+ VpeNodeMapping insertedMapping = pageContext.getDomMapping()
+ .getNearNodeMappingAtVisualNode(focusedVisualNode);
+
+ if (insertedMapping != null) {
+
+ Node insertedNode = insertedMapping.getSourceNode();
+
+ int offset = ((IDOMNode) insertedNode).getStartOffset();
+
+ Node realNode = TemplateManagingUtil.getSourceNodeByPosition(
+ pageContext, offset);
+
+ VpeElementMapping mappingRealNode = pageContext.getDomMapping()
+ .getNearElementMapping(realNode);
+
+ if (mappingRealNode != null) {
+
+ Node focusedNode = getFocusedNode(realNode, mappingRealNode
+ .getElementData(), offset);
+
+ setSourceSelection(pageContext, focusedNode, 0,
+ getLengthNode(focusedNode));
+
+ pageContext.getVisualBuilder().setSelectionRectangle(
+ (nsIDOMElement) mappingRealNode.getVisualElement()
+ .queryInterface(
+ nsIDOMElement.NS_IDOMELEMENT_IID));
+ }
+
+ }
+ }
+ }
+}
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractJsfTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractJsfTemplate.java 2008-03-17 16:47:48 UTC (rev 6972)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractJsfTemplate.java 2008-03-18 08:43:44 UTC (rev 6973)
@@ -1,180 +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.jsf.vpe.jsf.template;
-
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Set;
-
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
-import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
-import org.jboss.tools.vpe.editor.template.EditableTemplateAdapter;
-import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.editor.util.TemplateManagingUtil;
-import org.mozilla.interfaces.nsIDOMElement;
-import org.mozilla.interfaces.nsIDOMKeyEvent;
-import org.mozilla.interfaces.nsIDOMNode;
-import org.mozilla.interfaces.nsISelection;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-/**
- * general class for jsf templates
- *
- * @author Sergey Dzmitrovich
- *
- */
-public abstract class AbstractJsfTemplate extends EditableTemplateAdapter {
-
- // general jsf attributes
- static private Map<String, String> attributes = new HashMap<String, String>();
-
- static {
- attributes.put("style", HTML.ATTR_STYLE);
- attributes.put("styleClass", HTML.ATTR_CLASS);
- }
-
- /**
- * copy general
- *
- * @param visualElement
- * @param sourceElement
- */
- protected void copyGeneralJsfAttributes(nsIDOMElement visualElement,
- Element sourceElement) {
-
- Set<String> jsfAttributes = attributes.keySet();
-
- for (String key : jsfAttributes) {
-
- copyAttribute(visualElement, sourceElement, key, attributes
- .get(key));
- }
-
- }
-
- /**
- * copy attribute
- *
- * @param visualElement
- * @param sourceElement
- * @param sourceAttributeName
- * @param targetAtttributeName
- */
- protected void copyAttribute(nsIDOMElement visualElement,
- Element sourceElement, String sourceAttributeName,
- String targetAtttributeName) {
-
- if (sourceElement.hasAttribute(sourceAttributeName))
- visualElement.setAttribute(targetAtttributeName, sourceElement
- .getAttribute(sourceAttributeName));
-
- }
-
- protected boolean handleCharacter(VpePageContext pageContext,
- nsIDOMKeyEvent keyEvent) {
-
- // get selection
- nsISelection selection = getCurrentSelection(pageContext);
-
- // get visual node which is focused
- nsIDOMNode visualNode = selection.getFocusNode();
-
- VpeElementMapping elementMapping = getElmentMapping(pageContext,
- visualNode);
- if (elementMapping != null)
- return super.handleCharacter(pageContext, keyEvent);
- else
- return true;
- }
-
- protected boolean handleLeftDelete(VpePageContext pageContext,
- nsIDOMKeyEvent keyEvent) {
-
- // get selection
- nsISelection selection = getCurrentSelection(pageContext);
-
- // get visual node which is focused
- nsIDOMNode visualNode = selection.getFocusNode();
-
- VpeElementMapping elementMapping = getElmentMapping(pageContext,
- visualNode);
- if (elementMapping != null)
- return super.handleLeftDelete(pageContext, keyEvent);
- else
- return true;
-
- }
-
- protected boolean handleRightDelete(VpePageContext pageContext,
- nsIDOMKeyEvent keyEvent) {
-
- // get selection
- nsISelection selection = getCurrentSelection(pageContext);
-
- // get visual node which is focused
- nsIDOMNode visualNode = selection.getFocusNode();
-
- VpeElementMapping elementMapping = getElmentMapping(pageContext,
- visualNode);
- if (elementMapping != null)
- return super.handleRightDelete(pageContext, keyEvent);
- else
- return true;
- }
-
- @Override
- public void setSelection(VpePageContext pageContext, nsISelection selection) {
-
- nsIDOMNode focusedVisualNode = selection.getFocusNode();
-
- VpeElementMapping elementMapping = pageContext.getDomMapping()
- .getNearElementMapping(focusedVisualNode);
-
- if (elementMapping != null)
- super.setSelection(pageContext, selection);
- else {
-
- VpeNodeMapping insertedMapping = pageContext.getDomMapping()
- .getNearNodeMappingAtVisualNode(focusedVisualNode);
-
- if (insertedMapping != null) {
-
- Node insertedNode = insertedMapping.getSourceNode();
-
- int offset = ((IDOMNode) insertedNode).getStartOffset();
-
- Node realNode = TemplateManagingUtil.getSourceNodeByPosition(
- pageContext, offset);
-
- VpeElementMapping mappingRealNode = pageContext.getDomMapping()
- .getNearElementMapping(realNode);
-
- if (mappingRealNode != null) {
-
- Node focusedNode = getFocusedNode(realNode, mappingRealNode
- .getElementData(), offset);
-
- setSourceSelection(pageContext, focusedNode, 0,
- getLengthNode(focusedNode));
-
- pageContext.getVisualBuilder().setSelectionRectangle(
- (nsIDOMElement) mappingRealNode.getVisualElement()
- .queryInterface(
- nsIDOMElement.NS_IDOMELEMENT_IID));
- }
-
- }
- }
- }
-}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractOutputJsfTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractOutputJsfTemplate.java 2008-03-17 16:47:48 UTC (rev 6972)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractOutputJsfTemplate.java 2008-03-18 08:43:44 UTC (rev 6973)
@@ -8,7 +8,7 @@
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
-public abstract class AbstractOutputJsfTemplate extends AbstractJsfTemplate {
+public abstract class AbstractOutputJsfTemplate extends AbstractEditableJsfTemplate {
/**
* name of "value" attribute
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF 2008-03-17 16:47:48 UTC (rev 6972)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF 2008-03-18 08:43:44 UTC (rev 6973)
@@ -13,7 +13,8 @@
org.eclipse.wst.sse.ui,
org.eclipse.ui.workbench.texteditor,
org.eclipse.ui.ide,
- org.mozilla.xpcom
+ org.mozilla.xpcom,
+ org.jboss.tools.vpe.xulrunner
Eclipse-LazyStart: true
Bundle-Vendor: Red Hat, Inc.
Bundle-ClassPath: lib/jhighlight-1.0.jar,
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/handler.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/handler.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/input.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/input.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/inputNumberSlider.css
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/inputNumberSlider.css 2008-03-17 16:47:48 UTC (rev 6972)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/inputNumberSlider.css 2008-03-18 08:43:44 UTC (rev 6973)
@@ -1,90 +0,0 @@
-.minValueStyle {
- border-color: ;
- color: #000000;
- font-family: Arial, Verdana, sans-serif;
- font-size: 11px;
- line-height: 11px;
- border-left:1px solid #b0b0b0;
- padding: 0px 3px;
- text-align:left;
-}
-
-.maxValueStyle {
- border-color: ;
- color: #000000;
- font-family: Arial, Verdana, sans-serif;
- font-size: 11px;
- line-height: 11px;
- border-right: 1px solid #b0b0b0;
- padding: 0px 3px;
- text-align: right;
-}
-
-.inputStyleClass {
- border: 1px solid;
- padding: 0px 0px 0px 3px;
- margin-top: 0px;
- margin-bottom: 0px;
- background-position: left top;
- background-repeat: repeat-x;
- background-color:#ffffff;
- font-family:Arial, Verdana, sans-serif ;font-size:11px;
- color:#000000;
- border-color:#C4C0B9;
- border-bottom-color:#ffffff;
- border-right-color:#ffffff;
-}
-
-.cellForTableStyleClass {
- width:100%;
- padding-top:3px;
-}
-
-.dr-insldr-tip {
- border: 1px solid #E5973E;
- padding: 0px 2px;
- position: absolute;
- top: -17px;
- white-space: nowrap;
- font-family: Arial,Verdana,sans-serif;
- font-size: 11px;
-}
-.dr-insldr-handler {
- background-color:transparent;
- background-image: ;
- font-size:1px;
- height:8px;
- position:absolute;
- text-align:center;
- width:7px;
- z-index:1;
-}
-.dr-insldr-track {
- background-position:left top;
- background-repeat:repeat-x;
- font-size:1px;
- height:8px;
- vertical-align : bottom;
- background-color:#FFFFFF;
- background-image: ;
-}
-.manualInputFieldTableCellClass{
-vertical-align : bottom;
-}
-.innerTableStyle {
- border-color:;
- border:1px solid #b0b0b0;
- height:100%;
- width:100%;
-}
-.cell-with-picture {
- align: left;
- height: 4px;
- width: 7px;
-}
-.mainTableStyle{
-width :200px;
-}
-.empty-cell-style {
-font-size: 4px;
-}
\ No newline at end of file
Copied: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/inputNumberSlider_old.css (from rev 6647, trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/inputNumberSlider.css)
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/inputNumberSlider_old.css (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/inputNumberSlider_old.css 2008-03-18 08:43:44 UTC (rev 6973)
@@ -0,0 +1,90 @@
+.minValueStyle {
+ border-color: ;
+ color: #000000;
+ font-family: Arial, Verdana, sans-serif;
+ font-size: 11px;
+ line-height: 11px;
+ border-left:1px solid #b0b0b0;
+ padding: 0px 3px;
+ text-align:left;
+}
+
+.maxValueStyle {
+ border-color: ;
+ color: #000000;
+ font-family: Arial, Verdana, sans-serif;
+ font-size: 11px;
+ line-height: 11px;
+ border-right: 1px solid #b0b0b0;
+ padding: 0px 3px;
+ text-align: right;
+}
+
+.inputStyleClass {
+ border: 1px solid;
+ padding: 0px 0px 0px 3px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ background-position: left top;
+ background-repeat: repeat-x;
+ background-color:#ffffff;
+ font-family:Arial, Verdana, sans-serif ;font-size:11px;
+ color:#000000;
+ border-color:#C4C0B9;
+ border-bottom-color:#ffffff;
+ border-right-color:#ffffff;
+}
+
+.cellForTableStyleClass {
+ width:100%;
+ padding-top:3px;
+}
+
+.dr-insldr-tip {
+ border: 1px solid #E5973E;
+ padding: 0px 2px;
+ position: absolute;
+ top: -17px;
+ white-space: nowrap;
+ font-family: Arial,Verdana,sans-serif;
+ font-size: 11px;
+}
+.dr-insldr-handler {
+ background-color:transparent;
+ background-image: ;
+ font-size:1px;
+ height:8px;
+ position:absolute;
+ text-align:center;
+ width:7px;
+ z-index:1;
+}
+.dr-insldr-track {
+ background-position:left top;
+ background-repeat:repeat-x;
+ font-size:1px;
+ height:8px;
+ vertical-align : bottom;
+ background-color:#FFFFFF;
+ background-image: ;
+}
+.manualInputFieldTableCellClass{
+vertical-align : bottom;
+}
+.innerTableStyle {
+ border-color:;
+ border:1px solid #b0b0b0;
+ height:100%;
+ width:100%;
+}
+.cell-with-picture {
+ align: left;
+ height: 4px;
+ width: 7px;
+}
+.mainTableStyle{
+width :200px;
+}
+.empty-cell-style {
+font-size: 4px;
+}
\ No newline at end of file
Copied: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/numberSlider.css (from rev 6647, trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/inputNumberSlider.css)
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/numberSlider.css (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/numberSlider.css 2008-03-18 08:43:44 UTC (rev 6973)
@@ -0,0 +1,87 @@
+.dr-insldr {
+ width: 200px;
+ height: 20px;
+}
+
+.dr-insldr-left-num {
+ text-align: left;
+ border-left: 1px solid;
+ padding: 0 3px 0 3px;
+ font-family: Arial, Verdana, sans-serif;
+ font-size: 11px;
+ color: #000;
+ border-color: #C4C0B9;
+ line-height: 11px;
+}
+
+.dr-insldr-right-num {
+ text-align: right;
+ border-right: 1px solid;
+ padding: 0 3px 0 3px;
+ font-family: Arial, Verdana, sans-serif;
+ font-size: 11px;
+ color: #000;
+ border-color: #C4C0B9;
+ line-height: 11px;
+}
+
+.dr-insldr-field {
+ border: 1px solid;
+ padding: 0 0 0 3px;
+ margin-top: 0;
+ margin-bottom: 0;
+ background-position: left top;
+ background-repeat: repeat-x;
+ //background-color: #fff;
+ font-family: Arial, Verdana, sans-serif;
+ font-size: 11px;
+ //color: #000;
+ border-color: #C4C0B9;
+ border-bottom-color: #fff;
+ border-right-color: #fff;
+}
+
+.dr-insldr-field-left {
+ margin-right: 10px;
+}
+
+.dr-insldr-field-right {
+ margin-left: 10px;
+}
+
+.dr-insldr-size {
+ width: 100%;
+}
+
+.dr-insldr-vert-spacer {
+ padding-top: 3px;
+}
+
+.dr-insldr-track {
+ background-position: left top;
+ background-repeat: repeat-x;
+ height: 8px;
+ font-size: 1px;
+ background-color: #fff;
+}
+
+.dr-insldr-track-decor-1 {
+ height: 100%;
+ width: 100%;
+ border: 1px solid;
+ border-color: #C4C0B9;
+}
+
+.dr-insldr-track-decor-2 {
+ border: 1px solid white;
+ border-color: #fff;
+}
+.dr-insldr-handler {
+ background-color: transparent;
+ width: 7px;
+ height: 8px;
+ font-size: 1px;
+ position: absolute;
+ text-align: center;
+ z-index: 1;
+}
\ No newline at end of file
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/spacer.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/spacer.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/track.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/inputNumberSlider/track.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/AbstractEditableRichFacesTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/AbstractEditableRichFacesTemplate.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/AbstractEditableRichFacesTemplate.java 2008-03-18 08:43:44 UTC (rev 6973)
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * 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.jsf.vpe.richfaces.template;
+
+import org.jboss.tools.vpe.editor.template.EditableTemplateAdapter;
+import org.w3c.dom.Element;
+
+public abstract class AbstractEditableRichFacesTemplate extends
+ EditableTemplateAdapter {
+
+ public String getAttribute(Element sourceElement, String attributeName) {
+
+ if (sourceElement.hasAttribute(attributeName))
+ return sourceElement.getAttribute(attributeName);
+
+ return ""; //$NON-NLS-1$
+
+ }
+
+}
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/InputNumberSliderTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/InputNumberSliderTemplate.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/InputNumberSliderTemplate.java 2008-03-18 08:43:44 UTC (rev 6973)
@@ -0,0 +1,741 @@
+/*******************************************************************************
+ * 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.jsf.vpe.richfaces.template;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
+
+import org.jboss.tools.jsf.vpe.richfaces.ComponentUtil;
+import org.jboss.tools.jsf.vpe.richfaces.template.util.RichFaces;
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.mapping.VpeAttributeData;
+import org.jboss.tools.vpe.editor.mapping.VpeElementData;
+import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.TextUtil;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMHTMLInputElement;
+import org.mozilla.interfaces.nsIDOMKeyEvent;
+import org.mozilla.interfaces.nsIDOMNode;
+import org.mozilla.interfaces.nsIDOMText;
+import org.mozilla.interfaces.nsISelection;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+/**
+ *
+ * @author Sergey Dzmitrovich
+ *
+ */
+public class InputNumberSliderTemplate extends
+ AbstractEditableRichFacesTemplate {
+
+ /**
+ * path to file which contains css styles for component
+ */
+ private static final String STYLE_PATH = "/inputNumberSlider/numberSlider.css"; //$NON-NLS-1$
+
+ /**
+ * path to bar image
+ */
+ private static final String SPACER_IMAGE_PATH = "/inputNumberSlider/spacer.gif"; //$NON-NLS-1$
+
+ /**
+ * path to bar image
+ */
+ private static final String INPUT_BACKGROUND_IMAGE_PATH = "/inputNumberSlider/input.gif"; //$NON-NLS-1$
+
+ /**
+ * path to bar image
+ */
+ private static final String BAR_BACKGROUND_IMAGE_PATH = "/inputNumberSlider/track.gif"; //$NON-NLS-1$
+
+ /**
+ * path to handler image
+ */
+ private static final String HANDLER_IMAGE_PATH = "/inputNumberSlider/handler.gif"; //$NON-NLS-1$
+
+ /**
+ * "showInput" attribute
+ */
+ private static final String SHOW_INPUT_ATTR = "showInput"; //$NON-NLS-1$
+
+ /**
+ * "showBoundaryValues" attribute
+ */
+ private static final String SHOW_BOUNDARY_VALUES = "showBoundaryValues"; //$NON-NLS-1$
+ /**
+ * "inputPosition" attribute
+ */
+ private static final String INPUT_POSITION_ATTR = "inputPosition"; //$NON-NLS-1$
+
+ /**
+ * "inputSize" attribute
+ */
+ private static final String INPUT_SIZE_ATTR = "inputSize"; //$NON-NLS-1$
+
+ /**
+ * "inputStyle" attribute
+ */
+ private static final String INPUT_STYLE_ATTR = "inputStyle"; //$NON-NLS-1$
+
+ /**
+ * "minValue" attribute
+ */
+ private static final String MIN_VALUE_ATTR = "minValue"; //$NON-NLS-1$
+
+ /**
+ * "maxValue" attribute
+ */
+ private static final String MAX_VALUE_ATTR = "maxValue"; //$NON-NLS-1$
+
+ /**
+ * "barStyle" attribute
+ */
+ private static final String BAR_STYLE_ATTR = "barStyle"; //$NON-NLS-1$
+
+ /**
+ * default min value
+ */
+ private static final String MIN_VALUE_DEFAULT = "0"; //$NON-NLS-1$
+
+ /**
+ * default max value
+ */
+ private static final String MAX_VALUE_DEFAULT = "100"; //$NON-NLS-1$
+
+ /**
+ * default input size
+ */
+ private static final String INPUT_SIZE_DEFAULT = "3"; //$NON-NLS-1$
+
+ /**
+ * default slyder width
+ */
+ private static final String SLYDER_WIDTH_DEFAULT = "200"; //$NON-NLS-1$
+
+ /**
+ * default max value
+ */
+ private static final String INPUT_FIELD_STYLE = "text-align: left; vertical-align: bottom;"; //$NON-NLS-1$
+
+ /**
+ * spacer image style
+ */
+ private static final String SPACER_IMAGE_STYLE = "display: block;"; //$NON-NLS-1$
+
+ /**
+ * default max value
+ */
+ private static final String HANDLER_WRAPPER_STYLE = "position: relative;"; //$NON-NLS-1$
+
+ /**
+ * contains default css styles for different elements which can define using
+ * attributes
+ *
+ * key + "Class" = name of some element's style attribute
+ */
+ private static final Map<String, String> defaultStyleClasses;
+
+ static {
+ defaultStyleClasses = new HashMap<String, String>();
+
+ // general style
+ defaultStyleClasses.put("style", "dr-insldr rich-slider"); //$NON-NLS-1$//$NON-NLS-2$
+
+ // input style
+ defaultStyleClasses.put("input", "rich-inslider-field"); //$NON-NLS-1$//$NON-NLS-2$
+
+ // bar style
+ defaultStyleClasses.put("bar", "dr-insldr-track rich-inslider-track"); //$NON-NLS-1$//$NON-NLS-2$
+
+ // bar style
+ defaultStyleClasses.put(
+ "handle", "dr-insldr-handler rich-inslider-handler"); //$NON-NLS-1$//$NON-NLS-2$
+
+ }
+
+ /**
+ * min value style classes
+ */
+ private static final String MIN_VALUE_STYLE_CLASSES = "dr-insldr-left-num rich-inslider-left-num"; //$NON-NLS-1$
+
+ /**
+ * max value style classes
+ */
+ private static final String MAX_VALUE_STYLE_CLASSES = "dr-insldr-right-num rich-inslider-right-num"; //$NON-NLS-1$
+
+ /**
+ * input left style classes
+ */
+ private static final String INPUT_LEFT_STYLE_CLASSES = "dr-insldr-field dr-insldr-field-left"; //$NON-NLS-1$
+
+ /**
+ * input right style classes
+ */
+ private static final String INPUT_RIGHT_STYLE_CLASSES = "dr-insldr-field dr-insldr-field-right"; //$NON-NLS-1$
+
+ /**
+ * slider style classes
+ */
+ private static final String SLIDER_STYLE_CLASSES = "dr-insldr-size dr-insldr-vert-spacer"; //$NON-NLS-1$
+
+ /**
+ * track decor style classes
+ */
+ private static final String TRACK_DECOR_1_CLASSES = "dr-insldr-track-decor-1"; //$NON-NLS-1$
+
+ /**
+ * slider style classes
+ */
+ private static final String TRACK_DECOR_2_CLASSES = "dr-insldr-track-decor-2"; //$NON-NLS-1$
+
+ /**
+ * contains prepare css styles ( added user css classes besides default
+ * styles )
+ */
+ private static final Map<String, String> styleClasses = new HashMap<String, String>();
+
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ // cast to Element
+ Element sourceElement = (Element) sourceNode;
+
+ ComponentUtil.setCSSLink(pageContext, STYLE_PATH, "inputNumberSlider"); //$NON-NLS-1$
+
+ prepareData(sourceElement);
+
+ VpeElementData elementData = new VpeElementData();
+
+ // create and initialize basic table element
+ nsIDOMElement basicTable = visualDocument.createElement(HTML.TAG_TABLE);
+ basicTable.setAttribute(HTML.ATTR_STYLE, HTML.ATTR_WIDTH
+ + ":" //$NON-NLS-1$
+ + getNumberValue(sourceElement, RichFaces.ATTR_WIDTH,
+ SLYDER_WIDTH_DEFAULT) + ";" //$NON-NLS-1$
+ + getAttribute(sourceElement, RichFaces.ATTR_STYLE));
+ basicTable.setAttribute(HTML.ATTR_CLASS, styleClasses.get("style")); //$NON-NLS-1$
+ basicTable.setAttribute(HTML.ATTR_CELLPADDING, "0"); //$NON-NLS-1$
+ basicTable.setAttribute(HTML.ATTR_CELLSPACING, "0"); //$NON-NLS-1$
+ basicTable.setAttribute(HTML.ATTR_BORDER, "0"); //$NON-NLS-1$
+
+ nsIDOMElement valuesBlock = createValuesBlock(sourceElement,
+ visualDocument, elementData);
+
+ nsIDOMElement sliderBlock = createSliderBlock(sourceElement,
+ visualDocument);
+
+ basicTable.appendChild(valuesBlock);
+ basicTable.appendChild(sliderBlock);
+
+ // create creation data
+ VpeCreationData creationData = new VpeCreationData(basicTable);
+ creationData.setElementData(elementData);
+ return creationData;
+ }
+
+ /**
+ * prepare
+ *
+ * @param sourceElement
+ */
+ private void prepareData(Element sourceElement) {
+
+ // prepare style classes
+ Set<String> styleClassesKeys = defaultStyleClasses.keySet();
+
+ styleClasses.clear();
+ for (String key : styleClassesKeys) {
+
+ if (sourceElement.hasAttribute(key + "Class")) //$NON-NLS-1$
+ styleClasses.put(key, defaultStyleClasses.get(key) + " " //$NON-NLS-1$
+ + sourceElement.getAttribute(key + "Class")); //$NON-NLS-1$
+ else
+ styleClasses.put(key, defaultStyleClasses.get(key));
+ }
+
+ }
+
+ /**
+ *
+ * @param sourceElement
+ * @param visualDocument
+ * @param elementData
+ * @return
+ */
+ private nsIDOMElement createInputBlock(Element sourceElement,
+ nsIDOMDocument visualDocument, VpeElementData elementData) {
+
+ // create input block
+ nsIDOMElement inputTd = visualDocument.createElement(HTML.TAG_TD);
+ inputTd.setAttribute(HTML.ATTR_STYLE, INPUT_FIELD_STYLE);
+ inputTd.setAttribute(HTML.ATTR_ROWSPAN, "2"); //$NON-NLS-1$
+
+ // create input field
+ nsIDOMElement inputField = visualDocument.createElement(HTML.TAG_INPUT);
+ inputField.setAttribute(HTML.ATTR_TYPE, "text"); //$NON-NLS-1$
+
+ inputField.setAttribute(HTML.ATTR_SIZE, getNumberValue(sourceElement,
+ INPUT_SIZE_ATTR, INPUT_SIZE_DEFAULT));
+
+ inputField.setAttribute(HTML.ATTR_STYLE, ComponentUtil
+ .getBackgoundImgStyle(INPUT_BACKGROUND_IMAGE_PATH)
+ + getAttribute(sourceElement, INPUT_STYLE_ATTR));
+
+ VpeAttributeData attributeData;
+
+ if (sourceElement.hasAttribute(RichFaces.ATTR_VALUE)) {
+
+ inputField.setAttribute(HTML.ATTR_VALUE, sourceElement
+ .getAttribute(RichFaces.ATTR_VALUE));
+
+ attributeData = new VpeAttributeData(sourceElement
+ .getAttributeNode(RichFaces.ATTR_VALUE), inputField);
+
+ } else {
+ inputField.setAttribute(HTML.ATTR_VALUE, ""); //$NON-NLS-1$
+
+ attributeData = new VpeAttributeData(RichFaces.ATTR_VALUE,
+ inputField);
+ }
+
+ elementData.addAttributeData(attributeData);
+
+ // get class attribute
+ String inputClass = null;
+
+ if (isRightInputPosition(sourceElement))
+ inputClass = INPUT_RIGHT_STYLE_CLASSES;
+ else
+ inputClass = INPUT_LEFT_STYLE_CLASSES;
+
+ inputClass += " " + styleClasses.get("input"); //$NON-NLS-1$ //$NON-NLS-2$
+
+ inputField.setAttribute(HTML.ATTR_CLASS, inputClass);
+
+ nsIDOMHTMLInputElement iDOMInputElement = (nsIDOMHTMLInputElement) inputField
+ .queryInterface(nsIDOMHTMLInputElement.NS_IDOMHTMLINPUTELEMENT_IID);
+ iDOMInputElement.setReadOnly(true);
+
+ inputTd.appendChild(inputField);
+
+ return inputTd;
+
+ }
+
+ /**
+ *
+ * @param sourceElement
+ * @param visualDocument
+ * @return
+ */
+ private nsIDOMElement createSliderBlock(Element sourceElement,
+ nsIDOMDocument visualDocument) {
+
+ // create slider block - tr tag
+ nsIDOMElement sliderBlock = visualDocument.createElement(HTML.TAG_TR);
+
+ // create td
+ nsIDOMElement sliderTd = visualDocument.createElement(HTML.TAG_TD);
+ sliderTd.setAttribute(HTML.ATTR_CLASS, SLIDER_STYLE_CLASSES);
+ sliderTd.setAttribute(HTML.ATTR_COLSPAN, "2"); //$NON-NLS-1$
+
+ nsIDOMElement handlerWrapper = visualDocument
+ .createElement(HTML.TAG_DIV);
+ handlerWrapper.setAttribute(HTML.ATTR_STYLE, HANDLER_WRAPPER_STYLE);
+
+ nsIDOMElement handler = visualDocument.createElement(HTML.TAG_DIV);
+ handler.setAttribute(HTML.ATTR_CLASS, styleClasses.get("handle")); //$NON-NLS-1$
+ handler.setAttribute(HTML.ATTR_STYLE, ComponentUtil
+ .getBackgoundImgStyle(HANDLER_IMAGE_PATH));
+
+ handlerWrapper.appendChild(handler);
+
+ // create bar - div tag
+ nsIDOMElement bar = visualDocument.createElement(HTML.TAG_DIV);
+ bar.setAttribute(HTML.ATTR_CLASS, styleClasses.get("bar")); //$NON-NLS-1$
+ bar.setAttribute(HTML.TAG_STYLE, ComponentUtil
+ .getBackgoundImgStyle(BAR_BACKGROUND_IMAGE_PATH)
+ + getAttribute(sourceElement, BAR_STYLE_ATTR));
+
+ // create table
+ nsIDOMElement barTable = visualDocument.createElement(HTML.TAG_TABLE);
+ barTable.setAttribute(HTML.ATTR_CLASS, TRACK_DECOR_1_CLASSES);
+ barTable.setAttribute(HTML.ATTR_CELLPADDING, "0"); //$NON-NLS-1$
+ barTable.setAttribute(HTML.ATTR_CELLSPACING, "0"); //$NON-NLS-1$
+
+ // create tr
+ nsIDOMElement barTr = visualDocument.createElement(HTML.TAG_TR);
+
+ // create td
+ nsIDOMElement barTd = visualDocument.createElement(HTML.TAG_TD);
+ barTd.setAttribute(HTML.ATTR_CLASS, TRACK_DECOR_2_CLASSES);
+
+ // create image
+ nsIDOMElement barImage = visualDocument.createElement(HTML.TAG_IMG);
+ ComponentUtil.setImg(barImage, SPACER_IMAGE_PATH);
+ barImage.setAttribute(HTML.ATTR_STYLE, SPACER_IMAGE_STYLE);
+
+ // insert image to td
+ barTd.appendChild(barImage);
+
+ // insert td to tr
+ barTr.appendChild(barTd);
+
+ // insert tr to table
+ barTable.appendChild(barTr);
+
+ // insert table to bar
+ bar.appendChild(barTable);
+
+ sliderTd.appendChild(handlerWrapper);
+ sliderTd.appendChild(bar);
+ sliderBlock.appendChild(sliderTd);
+
+ return sliderBlock;
+ }
+
+ /**
+ *
+ * @param sourceElement
+ * @param visualDocument
+ * @param elementData
+ * @return
+ */
+ private nsIDOMElement createValuesBlock(Element sourceElement,
+ nsIDOMDocument visualDocument, VpeElementData elementData) {
+
+ // create numbers block
+ nsIDOMElement valuesBlock = visualDocument.createElement(HTML.TAG_TR);
+
+ // create minValue block
+ nsIDOMElement minValueTd = visualDocument.createElement(HTML.TAG_TD);
+ minValueTd.setAttribute(HTML.ATTR_CLASS, MIN_VALUE_STYLE_CLASSES);
+
+ // create maxValue block
+ nsIDOMElement maxValueTd = visualDocument.createElement(HTML.TAG_TD);
+ maxValueTd.setAttribute(HTML.ATTR_CLASS, MAX_VALUE_STYLE_CLASSES);
+
+ if (isShowBoundaryValues(sourceElement)) {
+
+ nsIDOMText minValueText;
+ VpeAttributeData minValueData;
+ if (sourceElement.hasAttribute(MIN_VALUE_ATTR)) {
+
+ // create minValue text
+ minValueText = visualDocument.createTextNode(sourceElement
+ .getAttribute(MIN_VALUE_ATTR));
+
+ minValueData = new VpeAttributeData(sourceElement
+ .getAttributeNode(MIN_VALUE_ATTR), minValueText);
+
+ } else {
+
+ // create minValue text
+ minValueText = visualDocument.createTextNode(MIN_VALUE_DEFAULT);
+
+ minValueData = new VpeAttributeData(MIN_VALUE_ATTR,
+ minValueText);
+
+ }
+ // add text to td
+ minValueTd.appendChild(minValueText);
+ elementData.addAttributeData(minValueData);
+
+ nsIDOMText maxValueText;
+ VpeAttributeData maxValueData;
+ if (sourceElement.hasAttribute(MAX_VALUE_ATTR)) {
+
+ // create minValue text
+ maxValueText = visualDocument.createTextNode(sourceElement
+ .getAttribute(MAX_VALUE_ATTR));
+
+ maxValueData = new VpeAttributeData(sourceElement
+ .getAttributeNode(MAX_VALUE_ATTR), maxValueText);
+
+ } else {
+
+ // create minValue text
+ maxValueText = visualDocument.createTextNode(MAX_VALUE_DEFAULT);
+
+ maxValueData = new VpeAttributeData(MAX_VALUE_ATTR,
+ maxValueText);
+
+ }
+ // add text to td
+ maxValueTd.appendChild(maxValueText);
+ elementData.addAttributeData(maxValueData);
+ }
+
+ valuesBlock.appendChild(minValueTd);
+ valuesBlock.appendChild(maxValueTd);
+
+ // if input field is showed
+ if (isShowInput(sourceElement)) {
+
+ nsIDOMElement inputTd = createInputBlock(sourceElement,
+ visualDocument, elementData);
+
+ if (isRightInputPosition(sourceElement))
+ valuesBlock.appendChild(inputTd);
+ else
+ valuesBlock.insertBefore(inputTd, minValueTd);
+ }
+
+ return valuesBlock;
+ }
+
+ /**
+ *
+ * @param sourceElement
+ * @param attributeName
+ * @param defaultValue
+ * @return
+ */
+ private String getNumberValue(Element sourceElement, String attributeName,
+ String defaultValue) {
+
+ // if source element has attribute
+ if (sourceElement.hasAttribute(attributeName)) {
+ // getAttribute
+ String stringValue = sourceElement.getAttribute(attributeName);
+
+ try {
+ // decode attribute's value
+ Integer.decode(stringValue);
+ // if it is number (there is not exception) return attribute's
+ // value
+ return stringValue;
+ } catch (NumberFormatException e) {
+ // if attribute's value is not number do nothing and then return
+ // default value
+ }
+
+ }
+
+ return defaultValue;
+
+ }
+
+ /**
+ * if input field must represent return true
+ *
+ * @param sourceElement
+ * @return
+ */
+ private boolean isShowInput(Element sourceElement) {
+
+ // if source element has "showInput" attribute
+ if (sourceElement.hasAttribute(SHOW_INPUT_ATTR)) {
+
+ // get this attribute
+ String showInput = sourceElement.getAttribute(SHOW_INPUT_ATTR);
+
+ // if this attribute equals "true"
+ if ("true".equalsIgnoreCase(showInput)) //$NON-NLS-1$
+ return true;
+ // in other cases return false
+ return false;
+
+ }
+
+ // default value is true
+ return true;
+
+ }
+
+ /**
+ * Return true if input position is right. Return false if input position is
+ * left
+ *
+ * @param sourceElement
+ * @return
+ */
+ private boolean isRightInputPosition(Element sourceElement) {
+
+ if (sourceElement.hasAttribute(INPUT_POSITION_ATTR)
+ && ("left".equalsIgnoreCase(sourceElement //$NON-NLS-1$
+ .getAttribute(INPUT_POSITION_ATTR))))
+ return false;
+
+ return true;
+
+ }
+
+ /**
+ *
+ * @param sourceElement
+ * @return
+ */
+ private boolean isShowBoundaryValues(Element sourceElement) {
+ if ((sourceElement.hasAttribute(SHOW_BOUNDARY_VALUES) && "false" //$NON-NLS-1$
+ .equalsIgnoreCase(sourceElement.getAttribute(SHOW_BOUNDARY_VALUES))))
+ return false;
+ return true;
+ }
+
+ @Override
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement visualNode, Object data, String name, String value) {
+ return true;
+ }
+
+ @Override
+ protected boolean handleCharacter(VpePageContext pageContext,
+ nsIDOMKeyEvent keyEvent) {
+
+ // get selection
+ nsISelection selection = getCurrentSelection(pageContext);
+
+ // get visual node which is focused
+ nsIDOMNode visualNode = selection.getFocusNode();
+
+ VpeElementMapping elementMapping = getElmentMapping(pageContext,
+ visualNode);
+
+ if (elementMapping != null) {
+
+ VpeAttributeData attributeData = getAttributeData(pageContext,
+ visualNode, elementMapping.getElementData());
+
+ if ((attributeData != null) && attributeData.isEditable()) {
+
+ if ((attributeData.getSourceAttr() == null)
+ && (attributeData.getAttributeName() != null)) {
+
+ // get inserted string
+ long charCode = keyEvent.getCharCode();
+ char[] s = new char[1];
+ s[0] = (char) charCode;
+ String str = new String(s);
+ if (TextUtil.containsKey(s[0])) {
+ str = TextUtil.getValue(s[0]);
+ }
+
+ Node node = createAttribute((Element) elementMapping
+ .getSourceNode(), attributeData.getAttributeName(),
+ str);
+
+ setSourceSelection(pageContext, node, 0, 0);
+ return true;
+ } else
+ return super.handleCharacter(pageContext, keyEvent);
+
+ }
+
+ }
+ return false;
+
+ }
+
+ @Override
+ protected boolean handleLeftDelete(VpePageContext pageContext,
+ nsIDOMKeyEvent keyEvent) {
+
+ // get selection
+
+ nsISelection selection = getCurrentSelection(pageContext);
+
+ // get visual node which is focused
+ nsIDOMNode visualNode = selection.getFocusNode();
+
+ VpeElementMapping elementMapping = getElmentMapping(pageContext,
+ visualNode);
+
+ if (elementMapping != null) {
+
+ VpeAttributeData attributeData = getAttributeData(pageContext,
+ visualNode, elementMapping.getElementData());
+
+ if ((attributeData != null) && attributeData.isEditable()) {
+
+ if ((attributeData.getSourceAttr() == null)
+ && (attributeData.getAttributeName() != null)) {
+
+ Node node = createAttribute((Element) elementMapping
+ .getSourceNode(), attributeData.getAttributeName(),
+ ""); //$NON-NLS-1$
+
+ setSourceSelection(pageContext, node, 0, 0);
+ return true;
+ } else
+ return super.handleLeftDelete(pageContext, keyEvent);
+
+ }
+
+ }
+ return false;
+
+ }
+
+ @Override
+ protected boolean handleRightDelete(VpePageContext pageContext,
+ nsIDOMKeyEvent keyEvent) {
+ // get selection
+ nsISelection selection = getCurrentSelection(pageContext);
+
+ // get visual node which is focused
+ nsIDOMNode visualNode = selection.getFocusNode();
+
+ VpeElementMapping elementMapping = getElmentMapping(pageContext,
+ visualNode);
+
+ if (elementMapping != null) {
+
+ VpeAttributeData attributeData = getAttributeData(pageContext,
+ visualNode, elementMapping.getElementData());
+
+ if ((attributeData != null) && attributeData.isEditable()) {
+
+ if ((attributeData.getSourceAttr() == null)
+ && (attributeData.getAttributeName() != null)) {
+
+ Node node = createAttribute((Element) elementMapping
+ .getSourceNode(), attributeData.getAttributeName(),
+ ""); //$NON-NLS-1$
+ setSourceSelection(pageContext, node, 0, 0);
+
+ return true;
+
+ } else
+ return super.handleRightDelete(pageContext, keyEvent);
+
+ }
+
+ }
+ return false;
+
+ }
+
+ /**
+ *
+ * @param sourceElement
+ * @param attributeName
+ * @param value
+ */
+ private Node createAttribute(Element sourceElement, String attributeName,
+ String value) {
+
+ if ((sourceElement != null) && (attributeName != null)) {
+ sourceElement.setAttribute(attributeName, value != null ? value
+ : ""); //$NON-NLS-1$
+
+ return sourceElement.getAttributeNode(attributeName);
+ }
+ return null;
+
+ }
+}
\ No newline at end of file
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/util/RichFaces.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/util/RichFaces.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/util/RichFaces.java 2008-03-18 08:43:44 UTC (rev 6973)
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * 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.jsf.vpe.richfaces.template.util;
+
+/**
+ * contain rich faces tags and general attributes
+ *
+ * @author Sergey Dzmitrovich
+ *
+ */
+public class RichFaces {
+
+ private RichFaces() {
+ }
+
+ public static final String ATTR_STYLE = "style"; //$NON-NLS-1$
+ public static final String ATTR_WIDTH = "width"; //$NON-NLS-1$
+ public static final String ATTR_VALUE = "value"; //$NON-NLS-1$
+
+}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml 2008-03-17 16:47:48 UTC (rev 6972)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml 2008-03-18 08:43:44 UTC (rev 6973)
@@ -124,7 +124,7 @@
<vpe:tag name="rich:inputNumberSlider" case-sensitive="yes">
<vpe:template children="no" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesInputNumberSliderTemplate">
+ class="org.jboss.tools.jsf.vpe.richfaces.template.InputNumberSliderTemplate">
<vpe:resize>
<vpe:width width-attr="width" />
</vpe:resize>
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSelectionBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSelectionBuilder.java 2008-03-17 16:47:48 UTC (rev 6972)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSelectionBuilder.java 2008-03-18 08:43:44 UTC (rev 6973)
@@ -74,7 +74,8 @@
public void setSelection(nsISelection selection) {
VpeTemplate vpeTemplate = TemplateManagingUtil
- .getTemplateByVisualSelection(visualBuilder.getPageContext());
+ .getTemplateByVisualSelection(visualBuilder.getPageContext(),
+ selection.getFocusNode());
if (vpeTemplate instanceof ITemplateSelectionManager) {
((ITemplateSelectionManager) vpeTemplate).setSelection(
visualBuilder.getPageContext(), selection);
@@ -1341,7 +1342,7 @@
}
selection.collapse(visualNode, offset);
} else {
- selection.removeAllRanges();
+ //selection.removeAllRanges();
}
visualSelectionController.setCaretEnabled(true);
setSelection(selection);
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualKeyHandler.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualKeyHandler.java 2008-03-17 16:47:48 UTC (rev 6972)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualKeyHandler.java 2008-03-18 08:43:44 UTC (rev 6973)
@@ -170,7 +170,7 @@
// get template of selected element
VpeTemplate template = TemplateManagingUtil
- .getTemplateByVisualSelection(pageContext);
+ .getTemplateByVisualSelection(pageContext,getSelectedNode());
// if template сan handle keyEvent than pass control to him. And if
// template handled event return true
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mapping/VpeAttributeData.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mapping/VpeAttributeData.java 2008-03-17 16:47:48 UTC (rev 6972)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mapping/VpeAttributeData.java 2008-03-18 08:43:44 UTC (rev 6973)
@@ -39,6 +39,12 @@
*/
private boolean isEditable;
+ /**
+ * name of attribute. add for cases when attribute has default value and
+ * attribute has not source presentation but has visual presentation
+ */
+ private String attributeName;
+
public VpeAttributeData(Attr sourceAttr, nsIDOMNode visualAttr,
boolean isEditable) {
this.sourceAttr = sourceAttr;
@@ -54,6 +60,21 @@
}
+ public VpeAttributeData(String attributeName, nsIDOMNode visualAttr,
+ boolean isEditable) {
+ this.attributeName = attributeName;
+ this.visualAttr = visualAttr;
+ this.isEditable = isEditable;
+
+ }
+
+ public VpeAttributeData(String attributeName, nsIDOMNode visualAttr) {
+ this.attributeName = attributeName;
+ this.visualAttr = visualAttr;
+ this.isEditable = true;
+
+ }
+
/**
* get source
*
@@ -108,4 +129,12 @@
this.isEditable = isEditable;
}
+ public String getAttributeName() {
+ return attributeName;
+ }
+
+ public void setAttributeName(String attributeName) {
+ this.attributeName = attributeName;
+ }
+
}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java 2008-03-17 16:47:48 UTC (rev 6972)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java 2008-03-18 08:43:44 UTC (rev 6973)
@@ -17,6 +17,7 @@
import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
import org.jboss.tools.vpe.editor.template.VpeTemplate;
import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMNode;
import org.w3c.dom.Node;
public class TemplateManagingUtil {
@@ -28,10 +29,12 @@
* @return
*/
public static VpeTemplate getTemplateByVisualSelection(
- VpePageContext pageContext) {
+ VpePageContext pageContext, nsIDOMNode selectedNode) {
// get element mapping
+// VpeElementMapping elementMapping = pageContext.getDomMapping()
+// .getNearElementMapping(getVisualSelectedNode(pageContext));
VpeElementMapping elementMapping = pageContext.getDomMapping()
- .getNearElementMapping(getVisualSelectedNode(pageContext));
+ .getNearElementMapping(selectedNode);
if (elementMapping != null)
return elementMapping.getTemplate();
16 years, 7 months
JBoss Tools SVN: r6972 - in trunk: jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: dsakovich
Date: 2008-03-17 12:47:48 -0400 (Mon, 17 Mar 2008)
New Revision: 6972
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/1730/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/1730/JBIDE-1730.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pictures/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pictures/pic1.jpg
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1730Test.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
Log:
Add JUnit test for http://jira.jboss.org/jira/browse/JBIDE-1730
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/1730/JBIDE-1730.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/1730/JBIDE-1730.jsp (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/1730/JBIDE-1730.jsp 2008-03-17 16:47:48 UTC (rev 6972)
@@ -0,0 +1,75 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+
+<f:loadBundle var="mgs" basename="demo.Messages" />
+
+<html>
+ <head>
+ <title> Test h:pannelGrid and h:pannelGroup in VPE </title>
+ <style type="text/css">
+ .myStyle0 {background: aqua;}
+ .myStyle1 {background: yellow;}
+ .myStyle2 {background: lime;}
+ </style>
+ </head>
+ <body>
+ <f:view>
+ <h:form>
+ <h:panelGrid
+ id="gridId1"
+ dir="RTL"
+ columns="2" border="5" width="250"
+ rules="all" frame="above"
+ cellpadding="4" cellspacing="6"
+ bgcolor="silver"
+ style=""
+ styleClass=""
+ captionStyle="color : red;" captionClass="myStyle0"
+ columnClasses="" rowClasses=""
+ headerClass="" footerClass="" >
+ <f:facet name="caption">
+ <h:outputText value="Caption"/>
+ </f:facet>
+ <f:facet name="header">
+ <h:panelGroup
+ id="groupId1_1"
+ layout="block"
+ style=""
+ styleClass="" >
+ <h:outputText value="Header"/>
+ <br/>
+ <h:graphicImage value="/pictures/pic1.jpg" />
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGroup
+ id="groupId1_2"
+ layout="block"
+ style=""
+ styleClass="" >
+ <h:outputLabel for="username1" value="name" />
+ </h:panelGroup>
+ <h:panelGroup
+ id="groupId1_3"
+ layout="block"
+ style=""
+ styleClass="" >
+ <h:inputText id="username1" value="#{user.name}" />
+ </h:panelGroup>
+ <h:outputLabel for="surname1" value="surname" />
+ <h:inputText id="surname1" value="#{user.surname}" />
+ <f:facet name="footer">
+ <h:panelGroup
+ id="groupId1_4"
+ layout="block"
+ style=""
+ styleClass="" >
+ <h:outputText value="Footer"/>
+ <br/>
+ <h:graphicImage value="/pictures/pic1.jpg"/>
+ </h:panelGroup>
+ </f:facet>
+ </h:panelGrid>
+ </h:form>
+ </f:view>
+ </body>
+</html>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pictures/pic1.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pictures/pic1.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2008-03-17 16:43:01 UTC (rev 6971)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2008-03-17 16:47:48 UTC (rev 6972)
@@ -22,6 +22,7 @@
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1484Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1615Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1720Test;
+import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1730Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1744Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE675Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE788Test;
@@ -43,7 +44,7 @@
public static Test suite() {
- TestSuite suite = new TestSuite("Tests for Vpe Jsf components"); // $NON-NLS-1$
+ TestSuite suite = new TestSuite("Tests for Vpe Jsf components"); // $NON-NLS-1$ //$NON-NLS-1$
// $JUnit-BEGIN$
suite.addTestSuite(JsfComponentTest.class);
suite.addTestSuite(JsfJbide1467Test.class);
@@ -54,30 +55,31 @@
suite.addTestSuite(JBIDE1479Test.class);
suite.addTestSuite(JBIDE788Test.class);
suite.addTestSuite(JBIDE1105Test.class);
- suite.addTestSuite(JBIDE1744Test.class);
+ suite.addTestSuite(JBIDE1744Test.class);
suite.addTestSuite(JBIDE675Test.class);
suite.addTestSuite(JBIDE1460Test.class);
suite.addTestSuite(JBIDE1720Test.class);
- suite.addTestSuite(JsfJbide1718Test.class) ;
+ suite.addTestSuite(JsfJbide1718Test.class);
+ suite.addTestSuite(JBIDE1730Test.class);
// $JUnit-END$
- //added by Max Areshkau
- //add here projects which should be imported for junit tests
+ // added by Max Areshkau
+ // add here projects which should be imported for junit tests
List<ImportBean> projectToImport = new ArrayList<ImportBean>();
ImportBean importBean = new ImportBean();
importBean.setImportProjectName(JsfComponentTest.IMPORT_PROJECT_NAME);
- importBean.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
- projectToImport.add(importBean);
-
- // Perfomance Tests
- //TODO dsakovich adjust perfomance tests
-// suite.addTestSuite(PerfomanceTest.class);
-// ImportBean importPerfomanceBean = new ImportBean();
-// importPerfomanceBean.setImportProjectName(PerfomanceTest.IMPORT_PROJECT_NAME);
-// importPerfomanceBean.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
-// projectToImport.add(importPerfomanceBean);
-
- return new VpeTestSetup(suite,projectToImport);
+ importBean.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
+ projectToImport.add(importBean);
+ // Perfomance Tests
+ // TODO dsakovich adjust perfomance tests
+ // suite.addTestSuite(PerfomanceTest.class);
+ // ImportBean importPerfomanceBean = new ImportBean();
+ // importPerfomanceBean.setImportProjectName(PerfomanceTest.IMPORT_PROJECT_NAME);
+ // importPerfomanceBean.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
+ // projectToImport.add(importPerfomanceBean);
+
+ return new VpeTestSetup(suite, projectToImport);
+
}
}
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1730Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1730Test.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1730Test.java 2008-03-17 16:47:48 UTC (rev 6972)
@@ -0,0 +1,136 @@
+/*******************************************************************************
+ * 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.jsf.vpe.jsf.test.jbide;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.part.FileEditorInput;
+import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.ui.test.TestUtil;
+import org.jboss.tools.vpe.ui.test.VpeTest;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMNode;
+
+/**
+ * Test JBIDE-1730
+ *
+ * @author Dzmitry Sakovich (dsakovich(a)exadel.com)
+ *
+ */
+public class JBIDE1730Test extends VpeTest {
+
+ public static final String IMPORT_PROJECT_NAME = "jsfTest"; //$NON-NLS-1$
+
+ private static final String TEST_PAGE_NAME1 = "JBIDE/1730/JBIDE-1730.jsp"; //$NON-NLS-1$
+
+ public JBIDE1730Test(String name) {
+ super(name);
+ }
+
+ // test method for JBIDE 1730 selectOneRadio component
+ public void testJBIDE_1730() throws Throwable {
+ // wait
+ TestUtil.waitForJobs();
+ // set exception
+ setException(null);
+
+ // get test page path
+ IFile file = (IFile) TestUtil.getComponentPath(TEST_PAGE_NAME1,
+ IMPORT_PROJECT_NAME);
+
+ assertNotNull("Could not open specified file " + file.getFullPath(), //$NON-NLS-1$
+ file);
+
+ IEditorInput input = new FileEditorInput(file);
+
+ assertNotNull("Editor input is null", input); //$NON-NLS-1$
+ // open and get editor
+ JSPMultiPageEditor part = openEditor(input);
+
+ // get dom document
+ nsIDOMDocument document = getVpeVisualDocument(part);
+ nsIDOMElement element = document.getDocumentElement();
+
+ // check that element is not null
+ assertNotNull(element);
+
+ // get root node
+ nsIDOMNode node = (nsIDOMNode) element
+ .queryInterface(nsIDOMNode.NS_IDOMNODE_IID);
+
+ List<nsIDOMNode> elements = new ArrayList<nsIDOMNode>();
+
+ // find "table" elements
+ TestUtil.findAllElementsByName(node, elements, HTML.TAG_TABLE);
+
+ assertEquals(3, elements.size());
+
+ nsIDOMElement table = (nsIDOMElement) elements.get(2).queryInterface(
+ nsIDOMElement.NS_IDOMELEMENT_IID);
+
+ // test border attribute
+ String border = table.getAttribute(HTML.ATTR_BORDER);
+
+ assertNotNull(border);
+ assertEquals("5", border.trim()); //$NON-NLS-1$
+
+ // test dir attribute
+ String dir = table.getAttribute(HTML.ATTR_DIR);
+
+ assertNotNull(dir);
+ assertEquals("rtl", dir.trim().toLowerCase()); //$NON-NLS-1$
+
+ // test cellspacing attribute
+ String cellspacing = table.getAttribute(HTML.ATTR_CELLSPACING);
+
+ assertNotNull(cellspacing);
+ assertEquals("6", cellspacing.trim()); //$NON-NLS-1$
+
+ // test frame attribute
+ String frame = table.getAttribute(HTML.ATTR_FRAME);
+
+ assertNotNull(frame);
+ assertEquals("above", frame.trim().toLowerCase()); //$NON-NLS-1$
+
+ elements.clear();
+
+ // find "caption" elements
+ TestUtil.findAllElementsByName(node, elements, HTML.TAG_CAPTION);
+
+ assertEquals(1, elements.size());
+
+ // Test captionClass
+ nsIDOMElement caption = (nsIDOMElement) elements.get(0).queryInterface(
+ nsIDOMElement.NS_IDOMELEMENT_IID);
+
+ String captionClass = caption.getAttribute(HTML.ATTR_CLASS);
+
+ assertNotNull(captionClass);
+ assertEquals("myStyle0", captionClass.trim()); //$NON-NLS-1$
+
+ // Test captionStyle
+
+ String captionStyle = caption.getAttribute(HTML.ATTR_STYLE);
+
+ assertNotNull(captionStyle);
+ assertEquals("color: red;", captionStyle.trim()); //$NON-NLS-1$
+
+ if (getException() != null) {
+ throw getException();
+ }
+ }
+
+}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2008-03-17 16:43:01 UTC (rev 6971)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2008-03-17 16:47:48 UTC (rev 6972)
@@ -56,9 +56,9 @@
public static final String TAG_B = "B"; //$NON-NLS-1$
public static final String TAG_I = "I"; //$NON-NLS-1$
public static final String TAG_U = "U"; //$NON-NLS-1$
- public static final String TAG_LABEL = "LABEL";
- public static final String TAG_A = "A";
- public static final String TAG_H1 = "H1";
+ public static final String TAG_LABEL = "LABEL"; //$NON-NLS-1$
+ public static final String TAG_A = "A"; //$NON-NLS-1$
+ public static final String TAG_H1 = "H1"; //$NON-NLS-1$
public static final String ATTR_ID = "ID"; //$NON-NLS-1$
public static final String ATTR_TYPE = "TYPE"; //$NON-NLS-1$
@@ -76,8 +76,8 @@
public static final String ATTR_WIDTH = "WIDTH"; //$NON-NLS-1$
public static final String ATTR_HEIGHT = "HEIGHT"; //$NON-NLS-1$
public static final String ATTR_BORDER = "border"; //$NON-NLS-1$
- public static final String ATTR_FOR = "FOR";
- public static final String ATTR_DIR = "dir";
- public static final String ATTR_DISABLED = "disabled";
-
+ public static final String ATTR_FOR = "FOR"; //$NON-NLS-1$
+ public static final String ATTR_DIR = "dir"; //$NON-NLS-1$
+ public static final String ATTR_DISABLED = "disabled"; //$NON-NLS-1$
+ public static final String ATTR_FRAME = "frame"; //$NON-NLS-1$
}
\ No newline at end of file
16 years, 7 months
JBoss Tools SVN: r6971 - trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2008-03-17 12:43:01 -0400 (Mon, 17 Mar 2008)
New Revision: 6971
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1878
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java 2008-03-17 15:22:29 UTC (rev 6970)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java 2008-03-17 16:43:01 UTC (rev 6971)
@@ -40,8 +40,8 @@
@Override
protected void tearDown() throws Exception {
- ResourcesUtils.deleteProject("TestComponentView");
- EditorTestHelper.joinBackgroundActivities();
+ //ResourcesUtils.deleteProject("TestComponentView");
+ //EditorTestHelper.joinBackgroundActivities();
}
public void testOpenSeamComponentDialogSearch() {
@@ -70,7 +70,7 @@
dialog.beginTest();
if(wait){
try{
- Thread.sleep(30000);
+ EditorTestHelper.joinBackgroundActivities();
}catch(Exception ex){
ex.printStackTrace();
}
@@ -78,7 +78,6 @@
dialog.endTest();
Object[] objects = dialog.getResult();
-
assertNotNull("Search dialog returned null when searching for " + pattern, objects);
assertTrue("Component "+componentName+" not found", objects.length != 0);
16 years, 7 months
JBoss Tools SVN: r6970 - in trunk/jsf/docs/userguide/en/images: struts and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2008-03-17 11:22:29 -0400 (Mon, 17 Mar 2008)
New Revision: 6970
Modified:
trunk/jsf/docs/userguide/en/images/preferences/preferences_1.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_10.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_11.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_12.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_13.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_14.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_15.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_16.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_17.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_18.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_19.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_2.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_20.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_21.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_22.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_23.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_24.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_25.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_26.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_27.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_28.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_29.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_3.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_30.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_31.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_32.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_33.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_34.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_35.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_36.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_37.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_38.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_39.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_4.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_5.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_6.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_7.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_8.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_9.png
trunk/jsf/docs/userguide/en/images/struts/struts_10.png
trunk/jsf/docs/userguide/en/images/struts/struts_11.png
trunk/jsf/docs/userguide/en/images/struts/struts_12.png
trunk/jsf/docs/userguide/en/images/struts/struts_13.png
trunk/jsf/docs/userguide/en/images/struts/struts_14.png
trunk/jsf/docs/userguide/en/images/struts/struts_15.png
trunk/jsf/docs/userguide/en/images/struts/struts_16.png
trunk/jsf/docs/userguide/en/images/struts/struts_17.png
trunk/jsf/docs/userguide/en/images/struts/struts_18.png
trunk/jsf/docs/userguide/en/images/struts/struts_19.png
trunk/jsf/docs/userguide/en/images/struts/struts_2.png
trunk/jsf/docs/userguide/en/images/struts/struts_20.png
trunk/jsf/docs/userguide/en/images/struts/struts_21.png
trunk/jsf/docs/userguide/en/images/struts/struts_22.png
trunk/jsf/docs/userguide/en/images/struts/struts_23.png
trunk/jsf/docs/userguide/en/images/struts/struts_24.png
trunk/jsf/docs/userguide/en/images/struts/struts_25.png
trunk/jsf/docs/userguide/en/images/struts/struts_26.png
trunk/jsf/docs/userguide/en/images/struts/struts_27.png
trunk/jsf/docs/userguide/en/images/struts/struts_28.png
trunk/jsf/docs/userguide/en/images/struts/struts_29.png
trunk/jsf/docs/userguide/en/images/struts/struts_3.png
trunk/jsf/docs/userguide/en/images/struts/struts_30.png
trunk/jsf/docs/userguide/en/images/struts/struts_31.png
trunk/jsf/docs/userguide/en/images/struts/struts_32.png
trunk/jsf/docs/userguide/en/images/struts/struts_33.png
trunk/jsf/docs/userguide/en/images/struts/struts_34.png
trunk/jsf/docs/userguide/en/images/struts/struts_35.png
trunk/jsf/docs/userguide/en/images/struts/struts_36.png
trunk/jsf/docs/userguide/en/images/struts/struts_37.png
trunk/jsf/docs/userguide/en/images/struts/struts_38.png
trunk/jsf/docs/userguide/en/images/struts/struts_39.png
trunk/jsf/docs/userguide/en/images/struts/struts_3_1.png
trunk/jsf/docs/userguide/en/images/struts/struts_4.png
trunk/jsf/docs/userguide/en/images/struts/struts_40.png
trunk/jsf/docs/userguide/en/images/struts/struts_41.png
trunk/jsf/docs/userguide/en/images/struts/struts_42.png
trunk/jsf/docs/userguide/en/images/struts/struts_43.png
trunk/jsf/docs/userguide/en/images/struts/struts_44.png
trunk/jsf/docs/userguide/en/images/struts/struts_45.png
trunk/jsf/docs/userguide/en/images/struts/struts_46.png
trunk/jsf/docs/userguide/en/images/struts/struts_47.png
trunk/jsf/docs/userguide/en/images/struts/struts_48.png
trunk/jsf/docs/userguide/en/images/struts/struts_49.png
trunk/jsf/docs/userguide/en/images/struts/struts_5.png
trunk/jsf/docs/userguide/en/images/struts/struts_50.png
trunk/jsf/docs/userguide/en/images/struts/struts_51.png
trunk/jsf/docs/userguide/en/images/struts/struts_6.png
trunk/jsf/docs/userguide/en/images/struts/struts_7.png
trunk/jsf/docs/userguide/en/images/struts/struts_8.png
trunk/jsf/docs/userguide/en/images/struts/struts_9.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_1.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_10.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_11.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_12.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_13.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_14.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_2.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_3.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_4.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_5.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_6.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_7.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_8.png
trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_9.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_1.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_10.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_11.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_2.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_3.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_4.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_5.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_6.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_7.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_8.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_9.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_1.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_10.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_11.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_12.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_13.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_14.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_15.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_16.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_2.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_3.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_4.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_5.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_6.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_7.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_8.png
trunk/jsf/docs/userguide/en/images/web_projects/web_projects_9.png
Log:
http://jira.jboss.com/jira/browse/JBDS-262 screens are in Indexed mode with 256 colors
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_10.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_11.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_12.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_13.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_14.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_15.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_16.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_17.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_18.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_19.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_20.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_21.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_22.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_23.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_24.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_25.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_26.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_27.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_28.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_29.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_3.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_30.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_31.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_32.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_33.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_34.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_35.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_36.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_37.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_38.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_39.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_4.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_5.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_6.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_7.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_9.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_10.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_11.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_12.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_13.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_14.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_15.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_16.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_17.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_18.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_19.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_20.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_21.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_22.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_23.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_24.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_25.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_26.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_27.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_28.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_29.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_3.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_30.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_31.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_32.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_33.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_34.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_35.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_36.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_37.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_38.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_39.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_3_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_4.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_40.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_41.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_42.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_43.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_44.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_45.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_46.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_47.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_48.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_49.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_5.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_50.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_51.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_6.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_7.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_9.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_10.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_11.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_12.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_13.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_14.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_3.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_4.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_5.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_6.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_7.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/verif_valid/verif_valid_9.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_10.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_11.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_3.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_4.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_5.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_6.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_7.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_9.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_10.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_11.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_12.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_13.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_14.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_15.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_16.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_3.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_4.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_5.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_6.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_7.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/web_projects/web_projects_9.png
===================================================================
(Binary files differ)
16 years, 7 months
JBoss Tools SVN: r6969 - trunk/jsf/docs/userguide/en/images/more_editors.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2008-03-17 11:16:41 -0400 (Mon, 17 Mar 2008)
New Revision: 6969
Modified:
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_1.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_10.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_11.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_12.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_13.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_14.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_2.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_3.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_4.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_41.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_43.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_44.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_45.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_46.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_47.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_48.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_49.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_5.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_50.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_51.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_52.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_53.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_6.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_7.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_8.png
trunk/jsf/docs/userguide/en/images/more_editors/more_editors_9.png
Log:
http://jira.jboss.com/jira/browse/JBDS-262 screens are in Indexed mode with 256 colors
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_10.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_11.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_12.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_13.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_14.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_3.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_4.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_41.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_43.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_44.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_45.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_46.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_47.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_48.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_49.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_5.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_50.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_51.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_52.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_53.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_6.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_7.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_9.png
===================================================================
(Binary files differ)
16 years, 7 months
JBoss Tools SVN: r6968 - trunk/jsf/docs/userguide/en/images/jsf_support.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2008-03-17 11:12:51 -0400 (Mon, 17 Mar 2008)
New Revision: 6968
Modified:
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_1.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_10.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_11.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_12.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_14.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_15.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_16.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_17.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_18.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_19.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_2.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20_1.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20_2.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_21.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_22.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_23.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_24.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_25.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_26.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_27.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_28.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_29.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_3.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_30.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_31.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_32.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_33.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_34.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_35.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_36.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_37.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_38.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_39.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_4.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_40.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_42.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_43.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_44.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_45.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_46.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_47.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_48.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_49.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_5.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_50.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_51.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_52.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_53.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_54.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_55.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_56.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_57.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_58.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_59.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_6.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_7.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_8.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_9.png
Log:
http://jira.jboss.com/jira/browse/JBDS-262 screens are in Indexed mode with 256 colors
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_10.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_11.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_12.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_14.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_15.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_16.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_17.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_18.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_19.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_21.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_22.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_23.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_24.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_25.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_26.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_27.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_28.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_29.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_3.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_30.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_31.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_32.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_33.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_34.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_35.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_36.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_37.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_38.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_39.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_4.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_40.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_42.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_43.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_44.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_45.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_46.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_47.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_48.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_49.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_5.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_50.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_51.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_52.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_53.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_54.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_55.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_56.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_57.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_58.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_59.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_6.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_7.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_9.png
===================================================================
(Binary files differ)
16 years, 7 months