JBoss Tools SVN: r5303 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/META-INF.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2007-12-14 07:39:40 -0500 (Fri, 14 Dec 2007)
New Revision: 5303
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/META-INF/MANIFEST.MF
Log:
http://jira.jboss.com/jira/browse/JBIDE-1449
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/META-INF/MANIFEST.MF 2007-12-14 12:39:16 UTC (rev 5302)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/META-INF/MANIFEST.MF 2007-12-14 12:39:40 UTC (rev 5303)
@@ -2,7 +2,21 @@
Bundle-ManifestVersion: 2
Bundle-Name: Seam VPE support Plug-in
Bundle-SymbolicName: org.jboss.tools.jsf.vpe.seam;singleton:=true
+Bundle-Activator: org.jboss.tools.jsf.vpe.seam.SeamTemplatesActivator
Bundle-Version: 2.1.0
Bundle-Localization: plugin
-Require-Bundle: org.jboss.tools.vpe
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.vpe,
+ org.jboss.tools.jst.jsp,
+ org.jboss.tools.common.model,
+ org.eclipse.wst.sse.ui,
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.ui.ide,
+ org.mozilla.xpcom
Bundle-Vendor: Red Hat, Inc.
+Eclipse-LazyStart: true
+Bundle-ClassPath: lib/ant-antlr.jar,
+ lib/antlr.jar,
+ lib/antlr-runtime.jar,
+ .
17 years
JBoss Tools SVN: r5302 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam: lib and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2007-12-14 07:39:16 -0500 (Fri, 14 Dec 2007)
New Revision: 5302
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/lib/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/lib/ant-antlr.jar
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/lib/antlr-runtime.jar
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/lib/antlr.jar
Log:
http://jira.jboss.com/jira/browse/JBIDE-1449
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/lib/ant-antlr.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/lib/ant-antlr.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/lib/antlr-runtime.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/lib/antlr-runtime.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/lib/antlr.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/lib/antlr.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years
JBoss Tools SVN: r5301 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2007-12-14 07:36:33 -0500 (Fri, 14 Dec 2007)
New Revision: 5301
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/ValueHelper.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-788
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/ValueHelper.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/ValueHelper.java 2007-12-14 12:35:05 UTC (rev 5300)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/ValueHelper.java 2007-12-14 12:36:33 UTC (rev 5301)
@@ -96,11 +96,8 @@
IEditorPart editor = ModelUIPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
if(!(editor instanceof JSPMultiPageEditor)) return false;
JSPTextEditor jspEditor = ((JSPMultiPageEditor)editor).getJspEditor();
- IVisualEditor v = ((JSPMultiPageEditor)editor).getVisualEditor();
- if(v == null) return false;
- IVisualController c = v.getController();
- if(c == null) return false;
- pageContext = c.getPageContext();
+ // vitali: new version - here we use original org.jboss.tools.jst.jsp this plugin page context
+ pageContext = jspEditor.getPageContext();
editorInput = jspEditor.getEditorInput();
wtpTextJspKbConnector = jspEditor.getWTPTextJspKbConnector();
17 years
JBoss Tools SVN: r5300 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2007-12-14 07:35:05 -0500 (Fri, 14 Dec 2007)
New Revision: 5300
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPPropertySourceAdapter.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-788
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPPropertySourceAdapter.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPPropertySourceAdapter.java 2007-12-14 12:34:08 UTC (rev 5299)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPPropertySourceAdapter.java 2007-12-14 12:35:05 UTC (rev 5300)
@@ -38,6 +38,7 @@
import org.jboss.tools.jst.jsp.JspEditorPlugin;
import org.jboss.tools.jst.jsp.contentassist.RedHatHtmlContentAssistProcessor;
import org.jboss.tools.jst.jsp.editor.IVisualController;
+import org.jboss.tools.jst.jsp.jspeditor.JSPTextEditorPageContext;
import org.w3c.dom.Attr;
import org.w3c.dom.DOMException;
import org.w3c.dom.Document;
@@ -77,6 +78,12 @@
public void setTarget(INodeNotifier target) {
if(fNode == target) return;
fNode = (target instanceof Node) ? (Node) target : null;
+ // BEGIN
+ JSPTextEditorPageContext pageContext = (JSPTextEditorPageContext)valueHelper.getTaglibManager();
+ if (null != pageContext) {
+ pageContext.setReferenceNode(fNode);
+ }
+ // END
if (fNode instanceof IDOMNode) {
Document ownerDocument = fNode.getOwnerDocument();
if (ownerDocument == null && fNode instanceof Document) {
17 years
JBoss Tools SVN: r5299 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2007-12-14 07:34:08 -0500 (Fri, 14 Dec 2007)
New Revision: 5299
Added:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditorPageContext.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-788
Added: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditorPageContext.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditorPageContext.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditorPageContext.java 2007-12-14 12:34:08 UTC (rev 5299)
@@ -0,0 +1,238 @@
+/*******************************************************************************
+
+* 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.jst.jsp.jspeditor;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;
+import org.jboss.tools.common.kb.KbConnectorFactory;
+import org.jboss.tools.common.kb.KbConnectorType;
+import org.jboss.tools.common.kb.wtp.WtpKbConnector;
+import org.jboss.tools.jst.jsp.JspEditorPlugin;
+import org.jboss.tools.jst.jsp.editor.IVisualContext;
+import org.jboss.tools.jst.web.tld.TaglibData;
+import org.jboss.tools.jst.web.tld.VpeTaglibListener;
+import org.w3c.dom.Attr;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * @author Vitali (vyemialyanchyk(a)exadel.com)
+ *
+ * Class responsible to register TagLib data suitable for the current context
+ */
+public class JSPTextEditorPageContext implements IVisualContext {
+
+ protected ArrayList<TaglibData> taglibs = new ArrayList<TaglibData>();
+ protected WtpKbConnector connector = null;
+ //protected IDocument document = null;
+ protected IDOMDocument document = null;
+ protected Node referenceNode = null;
+ protected int freeID = 0;
+ protected ArrayList<VpeTaglibListener> taglibListeners = new ArrayList<VpeTaglibListener>();
+
+ public JSPTextEditorPageContext() {
+ //addTaglib(123, "vitaliNewUri", "vitaliNewPrefix", true);
+ //addTaglib(123, "http://java.sun.com/jsf/facelets", "1xmlns:ui11", true);
+ //addTaglib(234, "http://java.sun.com/jsf/html", "2xmlns:ui22", true);
+ //addTaglib(345, "http://richfaces.org/rich", "3xmlns:ui33", true);
+ }
+
+ public void setReferenceNode(Node refNode) {
+ if (referenceNode == refNode) {
+ return;
+ }
+ referenceNode = refNode;
+ updateTagLibs();
+ }
+
+ //public void setDocument(IDocument doc) {
+ public void setDocument(IDOMDocument doc) {
+ if (document == doc) {
+ return;
+ }
+ document = doc;
+ setReferenceNode(document);
+ try {
+ connector = (WtpKbConnector)KbConnectorFactory.getIntstance().createConnector(KbConnectorType.JSP_WTP_KB_CONNECTOR, document);
+ } catch (InstantiationException e) {
+ JspEditorPlugin.getPluginLog().logError(e);
+ } catch (IllegalAccessException e) {
+ JspEditorPlugin.getPluginLog().logError(e);
+ } catch (ClassNotFoundException e) {
+ JspEditorPlugin.getPluginLog().logError(e);
+ }
+ updateTagLibs();
+ }
+
+ public boolean processAttribute(Attr attr, boolean bScopePrefix) {
+ if (null == attr) {
+ return false;
+ }
+ String startStr = "xmlns:";
+ String name = attr.getName();
+ if (!name.startsWith(startStr)) {
+ return false;
+ }
+ name = name.substring(startStr.length());
+ addTaglib(freeID++, attr.getValue(), name, true, bScopePrefix);
+ return true;
+ }
+
+ public boolean processNode(Node node) {
+ if (null == node) {
+ return false;
+ }
+ String nodeName = node.getNodeName();
+ // example: add some filter here
+ //if (!"ui:composition".equalsIgnoreCase(nodeName)) {
+ // return false;
+ //}
+ boolean bTestRes = false;
+ NamedNodeMap attribList = node.getAttributes();
+ if (null != attribList) {
+ for (int i = 0; i < attribList.getLength(); i++) {
+ Node tmp = attribList.item(i);
+ bTestRes = processAttribute((Attr)tmp, false);
+ }
+ }
+ NodeList nodeList = node.getChildNodes();
+ for (int i = 0; i < nodeList.getLength(); i++) {
+ Node tmp = nodeList.item(i);
+ bTestRes = processNode(tmp);
+ }
+ return true;
+ }
+
+ public void collectDocumentTagLibs() {
+ if (null == document) {
+ return;
+ }
+ NodeList nodeList = document.getChildNodes();
+ for (int i = 0; i < nodeList.getLength(); i++) {
+ Node node = nodeList.item(i);
+ processNode(node);
+ }
+ }
+
+ public boolean processNodeUp(Node node) {
+ if (null == node) {
+ return false;
+ }
+ boolean bTestRes = false;
+ NamedNodeMap attribList = node.getAttributes();
+ if (null != attribList) {
+ for (int i = 0; i < attribList.getLength(); i++) {
+ Node tmp = attribList.item(i);
+ bTestRes = processAttribute((Attr)tmp, true);
+ }
+ }
+ bTestRes = processNodeUp(node.getParentNode());
+ return true;
+ }
+
+ public void collectRefNodeTagLibs() {
+ processNodeUp(referenceNode);
+ }
+
+ public void updateTagLibs() {
+ taglibs.clear();
+ freeID = 0;
+ // collect all taglibs for the document - from top tree node to leafs
+ //collectDocumentTagLibs();
+ // collect all taglibs starting from reference node through its parents to the top node
+ // parent's taglibs has lower priority then child taglibs
+ collectRefNodeTagLibs();
+ //
+ for (Iterator<VpeTaglibListener> it = taglibListeners.iterator(); it.hasNext(); ) {
+ it.next().taglibPrefixChanged(null);
+ }
+ }
+
+ // adds new tag library
+ // removes tag library with id - if newUri or newPrefix is null
+ public void addTaglib(int id, String newUri, String newPrefix, boolean ns, boolean bScopePrefix) {
+ if (newUri == null || newPrefix == null) {
+ for (int i = 0; i < taglibs.size(); i++) {
+ TaglibData taglib = (TaglibData)taglibs.get(i);
+ if (taglib.getId() == id) {
+ taglibs.remove(i);
+ break;
+ }
+ }
+ return;
+ }
+ boolean bHasSame = false;
+ for (int i = 0; i < taglibs.size(); i++) {
+ TaglibData taglib = (TaglibData)taglibs.get(i);
+ if (taglib.getId() == id) {
+ if (!newUri.equals(taglib.getUri()) || !newPrefix.equals(taglib.getPrefix())) {
+ taglibs.set(i, new TaglibData(id, newUri, newPrefix, ns));
+ }
+ return;
+ }
+ if (bScopePrefix && newPrefix.equals(taglib.getPrefix())) {
+ return;
+ }
+ if (newUri.equals(taglib.getUri()) && newPrefix.equals(taglib.getPrefix()) && ns == taglib.isNs()) {
+ bHasSame = true;
+ break;
+ }
+ }
+ if (!bHasSame) {
+ taglibs.add(new TaglibData(id, newUri, newPrefix, ns));
+ }
+ }
+
+ // implements IVisualContext
+ public WtpKbConnector getConnector() {
+ return connector;
+ }
+
+ // implements IVisualContext
+ public void refreshBundleValues() {
+ updateTagLibs();
+ }
+
+ // implements IVisualContext
+ public List<TaglibData> getTagLibs() {
+ List<TaglibData> clone = new ArrayList<TaglibData>();
+ Iterator<TaglibData> iter = taglibs.iterator();
+ while (iter.hasNext()) {
+ TaglibData taglib = (TaglibData)iter.next();
+ if (!taglib.inList(clone)) {
+ clone.add(taglib);
+ }
+ }
+ return clone;
+ }
+
+ // implements IVisualContext
+ public void addTaglibListener(VpeTaglibListener listener) {
+ if (taglibListeners.contains(listener)) {
+ return;
+ }
+ taglibListeners.add(listener);
+ }
+
+ // implements IVisualContext
+ public void removeTaglibListener(VpeTaglibListener listener) {
+ taglibListeners.remove(listener);
+ }
+
+}
17 years
JBoss Tools SVN: r5298 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2007-12-14 07:33:25 -0500 (Fri, 14 Dec 2007)
New Revision: 5298
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-788
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java 2007-12-14 12:31:45 UTC (rev 5297)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java 2007-12-14 12:33:25 UTC (rev 5298)
@@ -78,7 +78,9 @@
import org.eclipse.wst.sse.ui.internal.provisional.extensions.ConfigurationPointCalculator;
import org.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration;
import org.eclipse.wst.xml.core.internal.document.AttrImpl;
+import org.eclipse.wst.xml.core.internal.document.DOMModelImpl;
import org.eclipse.wst.xml.core.internal.document.ElementImpl;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;
import org.jboss.tools.common.core.resources.XModelObjectEditorInput;
import org.jboss.tools.common.meta.action.XActionInvoker;
import org.jboss.tools.common.model.XModelBuffer;
@@ -109,6 +111,7 @@
import org.jboss.tools.jst.jsp.JspEditorPlugin;
import org.jboss.tools.jst.jsp.editor.IJSPTextEditor;
import org.jboss.tools.jst.jsp.editor.ITextFormatter;
+import org.jboss.tools.jst.jsp.editor.IVisualContext;
import org.jboss.tools.jst.jsp.editor.IVisualController;
import org.jboss.tools.jst.jsp.outline.JSPContentOutlineConfiguration;
import org.jboss.tools.jst.jsp.outline.JSPPropertySheetConfiguration;
@@ -123,6 +126,7 @@
import org.w3c.dom.DocumentType;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
import org.w3c.dom.Text;
/**
@@ -409,6 +413,9 @@
}
public void updateModification() {
+ //
+ getPageContext().refreshBundleValues();
+ //
XModelObject object = getModelObject();
if (object != null && !object.isModified() && isModified()) {
setModified(false);
@@ -601,8 +608,8 @@
}
public VpeTaglibManager getTaglibManager() {
- if (provider != null) {
- return provider.getTaglibManager();
+ if (editor != null) {
+ return editor.getPageContext();
}
return null;
}
@@ -1130,4 +1137,17 @@
}
return false;
}
+
+ protected JSPTextEditorPageContext pageContext = null;
+
+ public IVisualContext getPageContext() {
+ if (null == pageContext) {
+ pageContext = new JSPTextEditorPageContext();
+ }
+ //IDocument document = getTextViewer().getDocument();
+ //pageContext.setDocument(document);
+ IDOMDocument document = ((DOMModelImpl)getModel()).getDocument();
+ pageContext.setDocument(document);
+ return pageContext;
+ }
}
17 years
JBoss Tools SVN: r5297 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2007-12-14 07:31:45 -0500 (Fri, 14 Dec 2007)
New Revision: 5297
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-788
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java 2007-12-14 12:03:37 UTC (rev 5296)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java 2007-12-14 12:31:45 UTC (rev 5297)
@@ -616,14 +616,9 @@
}
public VpeTaglibManager getTaglibManager() {
- if (visualEditor != null) {
- IVisualController controller = visualEditor.getController();
- if (controller != null) {
- IVisualContext context = controller.getPageContext();
- if (context != null) {
- return context;
- }
- }
+ sourceEditor.getPageContext();
+ if (null != sourceEditor) {
+ return sourceEditor.getPageContext();
}
return null;
}
17 years
JBoss Tools SVN: r5296 - trunk/jbpm/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2007-12-14 07:03:37 -0500 (Fri, 14 Dec 2007)
New Revision: 5296
Modified:
trunk/jbpm/docs/reference/en/modules/Introduction.xml
trunk/jbpm/docs/reference/en/modules/Quick_Howto_Guide.xml
trunk/jbpm/docs/reference/en/modules/Test_Drive_Proc.xml
trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml
trunk/jbpm/docs/reference/en/modules/guided_tour_jboss_jbpmgpd.xml
trunk/jbpm/docs/reference/en/modules/jboss_jbpm_runtime_installation.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-143 - adding transition sentences
Modified: trunk/jbpm/docs/reference/en/modules/Introduction.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/Introduction.xml 2007-12-14 12:03:17 UTC (rev 5295)
+++ trunk/jbpm/docs/reference/en/modules/Introduction.xml 2007-12-14 12:03:37 UTC (rev 5296)
@@ -33,8 +33,7 @@
- <para> JBoss jBPM is a workflow that enable creating and
- automatization business processes. Look at the list of features below.
+ <para> JBoss jBPM is a workflow that enables creating and automatization business processes. Look at the list of features below.
</para>
<table>
<title>Key Functionality for JBoss jBPM</title>
@@ -48,48 +47,45 @@
<tbody>
<row>
- <entry>jBDL support</entry>
- <entry>Enable managing workflow processes as well as human tasks and interactions between them.
- jBDL combines the best both Java and declarative process techniques. Look <link linkend="minimal_process_definition">here.</link></entry>
+ <entry><link linkend="minimal_process_definition">jBDL support</link></entry>
+ <entry>Enables managing workflow processes as well as human tasks and interactions between them.
+ jBDL combines the best both Java and declarative process techniques.</entry>
</row>
<row>
- <entry>Support of Graphical Process Designer (GPD)</entry>
- <entry>For simplifying declarative process development and visualizations of all actions. Look <link linkend="GuidedTourJBossjBPMGPD">here.</link></entry>
+ <entry><link linkend="GuidedTourJBossjBPMGPD">Support of Graphical Process Designer (GPD)</link></entry>
+ <entry>For simplifying declarative process development and visualizations of all actions.</entry>
</row>
<row>
- <entry>Project Creation wizard</entry>
- <entry>Allows to create a new jBPM template project that already includes all advanced artifacts and core jBPM libraries.
- Look <link linkend="CreatingjBPMProject">here.</link></entry>
+ <entry><link linkend="CreatingjBPMProject">Project Creation wizard</link></entry>
+ <entry>Allows to create a new jBPM template project that already includes all advanced artifacts and core jBPM libraries.</entry>
</row>
<row>
- <entry>Rich palette of pre-build process nodes</entry>
- <entry>Provides process-building functionality and gives opportunity even non-programmers to develop processes.
- Look <link linkend="minimal_process_definition">here.</link></entry>
+ <entry><link linkend="minimal_process_definition">Rich palette of pre-build process nodes</link></entry>
+ <entry>Provides process-building functionality and gives opportunity even non-programmers to develop processes.</entry>
</row>
<row>
- <entry>Support of XML code view</entry>
- <entry>Corresponding XML is generated automatically in the Source view of the process definition editor
- when developing the process. Look <link linkend="the_source_view">here.</link></entry>
+ <entry><link linkend="the_source_view">Support of XML code view</link></entry>
+ <entry>Corresponding XML is generated automatically in the Source view of the process definition editor when developing the process.</entry>
</row>
<row>
- <entry>Properties view</entry>
- <entry>Facilitates configuring and editing of all nodes properties. Look <link linkend="the_properties_view">here.</link></entry>
+ <entry><link linkend="the_properties_view">Properties view</link></entry>
+ <entry>Facilitates configuring and editing of all nodes properties.</entry>
</row>
<row>
<entry>Interaction with all of the J2EE based integration technologies including Web Services, Java Messaging,
J2EE Connectors, JBDC, EJBs.</entry>
- <entry>Enables implementation, provides better functionality and flexibility</entry>
+ <entry>Enables implementation, provides better functionality and flexibility.</entry>
</row>
<row>
<entry>Integration with jBoss Seam</entry>
- <entry>Allows to write applications with complex workflows and provides easier interactions between them</entry>
+ <entry>Allows to write applications with complex workflows and provides easier interactions between them.</entry>
</row>
</tbody>
Modified: trunk/jbpm/docs/reference/en/modules/Quick_Howto_Guide.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/Quick_Howto_Guide.xml 2007-12-14 12:03:17 UTC (rev 5295)
+++ trunk/jbpm/docs/reference/en/modules/Quick_Howto_Guide.xml 2007-12-14 12:03:37 UTC (rev 5296)
@@ -12,6 +12,7 @@
</chapterinfo>
<title>Quick Howto Guide</title>
+ <para>This chapter contains additional information related to the <property>JBoss jBPM</property>.</para>
<section>
<title>Change the Default Core jBPM Installation</title>
Modified: trunk/jbpm/docs/reference/en/modules/Test_Drive_Proc.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/Test_Drive_Proc.xml 2007-12-14 12:03:17 UTC (rev 5295)
+++ trunk/jbpm/docs/reference/en/modules/Test_Drive_Proc.xml 2007-12-14 12:03:37 UTC (rev 5296)
@@ -11,11 +11,12 @@
</keywordset>
</chapterinfo>
<title>Test Driven Process Development</title>
-
+
<para> One of the most important advantages of JBoss jBPM's lightweight approach to BPM
and workflow management is that developers can easily leverage their usual programming
- skills and techniques. One of these well-known techniques is unit testing and test driven
- development. In this chapter we will show how developers, making use of the JBoss jBPM GPD
+ skills and techniques. One of these well-known techniques is Unit Testing and Test Driven
+ Development. </para>
+ <para>In this chapter we will show how developers, making use of the JBoss jBPM GPD,
can use a technique we have baptized <property>Test Driven Process Development</property> to
create process definitions and test their correctness. </para>
Modified: trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml 2007-12-14 12:03:17 UTC (rev 5295)
+++ trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml 2007-12-14 12:03:37 UTC (rev 5296)
@@ -16,12 +16,12 @@
jBPM</property>. The standard mechanism to realize this is to wrap the functionality you
want to integrate in a class that implements the <emphasis>
<property>ActionHandler</property>
- </emphasis> interface. </para>
+ </emphasis> interface. In order to demonstrate it let's specify Hello World action for our process.</para>
<section>
<title>Creating a Hello World Action</title>
-
- <para> Each hello process should integrate one or more hello actions, so this is what we
+
+ <para>Each Hello World process should integrate one or more Hello World actions, so this is what we
will be doing. We can integrate custom code at different points in the process
definition. To do this we have to specify an action handler, represented by an
implementation of the <emphasis>
@@ -65,13 +65,17 @@
<section>
<title>Integrating the Hello World Action</title>
+
+ <para>The main purpose of this chapter is to provide you with the steps to associate
+ our Hello World action with a particular event and test the correctness of our actions as well.</para>
- <para> As good Testcity citizens we will first create a unit test that proves the behaviour
+ <para> As good Testcity citizens we will first create a Unit Test that proves the behaviour
we want to achieve by adding the <emphasis>
<property>ActionHandler</property>
</emphasis> to the process. So we implement another test. Creating the process instance
is code we already saw in the previous chapter. We assert that no variable called
- greeting exist. Then we give the process a signal to move it to the first state. We want
+ <emphasis>
+ <property>greeting</property></emphasis> exist. Then we give the process a signal to move it to the first state. We want
to associate the execution of the action with the event of going over the transition
from the start state to the first state. So after the signal, the process should be in
the first state as in the previous scenario. But moreover, the <emphasis>
@@ -179,7 +183,7 @@
</mediaobject>
</figure>
-
+ <para>Tere we are. The above objective has been achieved.</para>
</section>
<section>
Modified: trunk/jbpm/docs/reference/en/modules/guided_tour_jboss_jbpmgpd.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/guided_tour_jboss_jbpmgpd.xml 2007-12-14 12:03:17 UTC (rev 5295)
+++ trunk/jbpm/docs/reference/en/modules/guided_tour_jboss_jbpmgpd.xml 2007-12-14 12:03:37 UTC (rev 5296)
@@ -10,7 +10,7 @@
</keywordset>
</chapterinfo>
<title>A Guided Tour of JBoss jBPM GPD</title>
- <para>In this chapter we suggest a step-by-step walk-through of creating and editing your own
+ <para>In this chapter we suggest a step-by-step walk-through of creating and configuring your own
simple process. Let’s start with organizing a new jBPM project.</para>
<para>A wizard for creating a jBPM project is included in the GPD plugin. We have opted to
create a project based on a template already containing a number of advanced artifacts that
@@ -174,7 +174,7 @@
<section id="adding_transitions">
<?dbhtml filename="adding_transitions.html"?>
<title>Adding Transitions</title>
- <para>Then we will connect the nodes with transitions. For that select the <emphasis>
+ <para>Then, we will connect the nodes with transitions. To do that select the <emphasis>
<property>Transition</property>
</emphasis> tool in the tools palette and click on the <emphasis>
<property>Start</property>
@@ -197,128 +197,8 @@
</figure>
</section>
</section>
- <para>Now the simple process is already defined and we can examine it more carefully. For
+ <para>As the simple process is already defined, we can examine it more carefully. For
that JBDS provides a number of multiple editors and viewes.</para>
</section>
- <section id="the_outline_view">
- <?dbhtml filename="the_outline_view.html"?>
- <title>The Outline View</title>
- <para>To have a way to quickly see an outline of the process use the JBDS Outline view. If it is not
- visible select <emphasis>
- <property>Window > Show view > Outline</property>
- </emphasis>. It is presented as the classical tree view. Also you can use <emphasis>
- <property>Overview</property>
- </emphasis> that comes as a scrollable thumbnail.</para>
- <figure>
- <title>The Outline and Overview Views</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour9.png"
- scale="75"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
- <section id="the_properties_view">
- <?dbhtml filename="the_properties_view.html"?>
- <title>The Properties View</title>
- <para>If the JBDS Properties view is visible (if not select <emphasis>
- <property>Window > Show view > Properties</property>
- </emphasis>), the relevant properties of the selected item are shown. Some of these
- properties may be directly editable in the properties view. An example of a directly
- editable property is the name property of the process definition. As you can see in the
- next figure, the name property of the process definition can be changed to <emphasis>
- <property>jbay</property>
- </emphasis>. You can also write a description for this property.</para>
- <figure>
- <title>The Properties of a Process Definition</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour10.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Let's change the name of the first transition to <emphasis>
- <property>to_auction</property>
- </emphasis>. We repeat this name change for the second transition and name it <emphasis>
- <property>to_end</property>
- </emphasis>.</para>
- <figure>
- <title>Transitions Names</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour11.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
-
-
- <section id="direct_editing">
- <?dbhtml filename="direct_editing.html"?>
- <title>Direct Editing</title>
- <para>Some properties can be directly edited in the graphical editor. One example of this is
- the <emphasis>
- <property>Name</property>
- </emphasis> property of nodes. You can edit this directly by selecting the node of which
- you want to change the name and then click once inside this node. This enables an editor
- in the node. We change the name of the node to <emphasis>
- <property>auction</property>
- </emphasis>.</para>
- <figure>
- <title>Directly Editing the Node Name</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour12.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
- <section id="the_source_view">
- <?dbhtml filename="the_source_view.html"?>
- <title>The Source View</title>
- <para>Now that we have defined a simple process definition, we can have a look at the xml
- that is being generated under the covers. To see this xml, click on the source tab of
- the process definition editor.</para>
- <figure>
- <title>The Source View</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour13.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>This source tab is editable, so if you know your way around in jpdl, you can create or
- tweak your process definitions directly in the xml source.</para>
- </section>
- <section id="the_design_view">
- <?dbhtml filename="the_design_view.html"?>
- <title>The Design View</title>
- <para>The file is also editable in <emphasis>
- <property>Design</property>
- </emphasis> view as you can see in the next picture:</para>
- <figure>
- <title>The Design View</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour14.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
- <section id="the_deployment_view">
- <?dbhtml filename="the_deployment_view.html"?>
- <title>The Deployment View</title>
- <para>The deployment settings of the project you can configure in <emphasis>
- <property>Deployment</property>
- </emphasis> view.</para>
- <figure>
- <title>The Deployment View</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour15.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
+
</chapter>
Modified: trunk/jbpm/docs/reference/en/modules/jboss_jbpm_runtime_installation.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/jboss_jbpm_runtime_installation.xml 2007-12-14 12:03:17 UTC (rev 5295)
+++ trunk/jbpm/docs/reference/en/modules/jboss_jbpm_runtime_installation.xml 2007-12-14 12:03:37 UTC (rev 5296)
@@ -1,28 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="jboss_jbpm_runtime_installation" xreflabel="jboss_jbpm_runtime_installation">
<?dbhtml filename="jboss_jbpm_runtime_installation.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>jBPM</keyword>
- <keyword>designer</keyword>
- <keyword>process</keyword>
- <keyword>JBoss Developer Studio</keyword>
- <keyword>jBPM runtime</keyword>
- </keywordset>
- </chapterinfo>
+ <chapterinfo>
+ <keywordset>
+ <keyword>jBPM</keyword>
+ <keyword>designer</keyword>
+ <keyword>process</keyword>
+ <keyword>JBoss Developer Studio</keyword>
+ <keyword>jBPM runtime</keyword>
+ </keywordset>
+ </chapterinfo>
<title>JBoss jBPM Runtime Installation</title>
- <para>The jBPM plugin (jBPM Designer) is already included in JBDS. To make it work, you should only download the jBPM runtime (jbpm-jpdl-3.2.2 currently) from <ulink url="http://labs.jboss.com/jbossjbpm/downloads/">here</ulink> and specify the
-directory where you extracted the runtime either when you create a jBPM project or by using the jBPM preference pages.</para>
- <para>Navigate to <emphasis><property>Window > Preferences > JBoss jBPM > Runtime Locations</property></emphasis>. Here you can add, edit and remove JBoss jBPM installation locations.</para>
- <para>Click <emphasis><property>Add</property></emphasis> button. In the diallog that appeared enter a name for a newly added jBPM runtime and point to the correct location of this package on your harddrive. Click <emphasis><property>OK</property></emphasis> then click <emphasis><property>OK</property></emphasis> again.</para>
-
+ <para>The main purpose of this chapter is to let you know how to launch the <property>JBoss
+ jBPM</property>.</para>
+ <para>The jBPM plugin (jBPM Designer) is already included in JBDS. To make it work, you should only
+ download the jBPM runtime (jbpm-jpdl-3.2.2 currently) from <ulink
+ url="http://labs.jboss.com/jbossjbpm/downloads/">here</ulink> and specify the directory where you
+ extracted the runtime either when you create a jBPM project or by using the jBPM preference pages.</para>
+ <para>Navigate to <emphasis>
+ <property>Window > Preferences > JBoss jBPM > Runtime Locations</property>
+ </emphasis>. Here you can add, edit and remove JBoss jBPM installation locations. Click <emphasis>
+ <property>Add</property>
+ </emphasis> button. In the diallog that appeared enter a name for a newly added jBPM runtime and
+ point to the correct location of this package on your harddrive. Click <emphasis>
+ <property>OK</property>
+ </emphasis> then click <emphasis>
+ <property>OK</property>
+ </emphasis> again.</para>
+
<figure>
-<title>Adding jBPM Location</title>
-<mediaobject>
- <imageobject>
- <imagedata fileref="images/runtime_installation/runtime_installation1.png"/>
- </imageobject>
-</mediaobject>
-</figure>
+ <title>Adding jBPM Location</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/runtime_installation/runtime_installation1.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
</chapter>
-
17 years
JBoss Tools SVN: r5295 - trunk/jsf/docs/userguide/en/images/jsf_support.
by jbosstools-commits@lists.jboss.org
Author: sabrashevich
Date: 2007-12-14 07:03:17 -0500 (Fri, 14 Dec 2007)
New Revision: 5295
Added:
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_59.png
Modified:
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_12.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_13.png
Log:
http://jira.jboss.com/jira/browse/JBDS-162 screenshots are retaken in jsf-support chapter
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_13.png
===================================================================
(Binary files differ)
Added: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_59.png
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_59.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years
JBoss Tools SVN: r5294 - trunk/jbpm/docs/reference/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2007-12-14 07:03:02 -0500 (Fri, 14 Dec 2007)
New Revision: 5294
Modified:
trunk/jbpm/docs/reference/en/master.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-143 - the third chapter is devided into two chapters. So "the_views" is new one
Modified: trunk/jbpm/docs/reference/en/master.xml
===================================================================
--- trunk/jbpm/docs/reference/en/master.xml 2007-12-14 12:00:58 UTC (rev 5293)
+++ trunk/jbpm/docs/reference/en/master.xml 2007-12-14 12:03:02 UTC (rev 5294)
@@ -6,6 +6,7 @@
[<!ENTITY introduction SYSTEM "modules/Introduction.xml">
<!ENTITY jboss_jbpm_runtime_installation SYSTEM "modules/jboss_jbpm_runtime_installation.xml">
<!ENTITY guided_tour_jboss_jbpmgpd SYSTEM "modules/guided_tour_jboss_jbpmgpd.xml">
+<!ENTITY the_views SYSTEM "modules/the_views.xml">
<!ENTITY Test_Drive_Proc SYSTEM "modules/Test_Drive_Proc.xml">
<!ENTITY The_JBoss_jBPM_Int_Mech SYSTEM "modules/The_JBoss_jBPM_Int_Mech.xml">
<!ENTITY Quick_Howto_Guide SYSTEM "modules/Quick_Howto_Guide.xml">
@@ -30,6 +31,7 @@
&introduction;
&jboss_jbpm_runtime_installation;
&guided_tour_jboss_jbpmgpd;
+&the_views;
&Test_Drive_Proc;
&The_JBoss_jBPM_Int_Mech;
&Quick_Howto_Guide;
17 years