JBoss Tools SVN: r14281 - in trunk/seam/plugins/org.jboss.tools.seam.pages.xml: META-INF and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-03-20 09:58:12 -0400 (Fri, 20 Mar 2009)
New Revision: 14281
Added:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/refactoring/
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/refactoring/SeamPagesRenamePageConfigChange.java
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/refactoring/SeamPagesRenamePageParticipant.java
Modified:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/META-INF/MANIFEST.MF
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/SeamPagesXMLMessages.java
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/messages.properties
Log:
JBIDE-3808
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/META-INF/MANIFEST.MF 2009-03-20 12:24:37 UTC (rev 14280)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/META-INF/MANIFEST.MF 2009-03-20 13:58:12 UTC (rev 14281)
@@ -11,6 +11,7 @@
org.jboss.tools.seam.pages.xml.model,
org.jboss.tools.seam.pages.xml.model.helpers,
org.jboss.tools.seam.pages.xml.model.handlers,
+ org.jboss.tools.seam.pages.xml.model.refactoring,
org.jboss.tools.seam.pages.xml.model.impl
Require-Bundle: org.jboss.tools.jst.web;visibility:=reexport,
org.eclipse.ui.ide,
@@ -23,6 +24,7 @@
org.eclipse.ui,
org.eclipse.jface,
org.eclipse.wst.sse.core,
+ org.eclipse.wst.common.modulecore,
org.eclipse.ltk.core.refactoring,
org.eclipse.ltk.ui.refactoring,
org.eclipse.wst.xml.core,
@@ -35,5 +37,6 @@
org.jboss.tools.seam.pages.xml.model.handlers,
org.jboss.tools.seam.pages.xml.model.helpers,
org.jboss.tools.seam.pages.xml.model.helpers.autolayout,
+ org.jboss.tools.seam.pages.xml.model.refactoring,
org.jboss.tools.seam.pages.xml.model.impl
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml 2009-03-20 12:24:37 UTC (rev 14280)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml 2009-03-20 13:58:12 UTC (rev 14281)
@@ -115,4 +115,29 @@
</catalogContribution>
</extension>
+
+ <extension
+ point="org.eclipse.ltk.core.refactoring.renameParticipants">
+
+ <renameParticipant
+ class="org.jboss.tools.seam.pages.xml.model.refactoring.SeamPagesRenamePageParticipant"
+ id="org.jboss.tools.seam.pages.xml.model.refactoring.SeamPagesRenamePageParticipant"
+ name="seampages-RenamePageParticipant">
+ <enablement>
+ <with variable="affectedNatures">
+ <iterate operator="or">
+ <equals value="org.jboss.tools.seam.core.seamnature"/>
+ </iterate>
+ </with>
+ <with variable="element">
+ <or>
+ <instanceof value="org.eclipse.core.resources.IFile"/>
+ <instanceof value="org.jboss.tools.common.model.filesystems.impl.FileAnyImpl"/>
+ </or>
+ </with>
+ </enablement>
+ </renameParticipant>
+
+ </extension>
+
</plugin>
\ No newline at end of file
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/SeamPagesXMLMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/SeamPagesXMLMessages.java 2009-03-20 12:24:37 UTC (rev 14280)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/SeamPagesXMLMessages.java 2009-03-20 13:58:12 UTC (rev 14281)
@@ -18,6 +18,9 @@
public static String THE_VIEW_WITH_PATH_IS_ALREADY_CREATED;
public static String TEMPLATE_IS_NOT_FOUND;
+ public static String PAGES_CONFIG_CHANGES;
+ public static String UPDATE_REFERENCE_TO_PAGE;
+
private SeamPagesXMLMessages() {
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/messages.properties 2009-03-20 12:24:37 UTC (rev 14280)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/messages.properties 2009-03-20 13:58:12 UTC (rev 14281)
@@ -5,3 +5,5 @@
TEMPLATE_DOES_NOT_EXIST = Template does not exist.
THE_VIEW_WITH_PATH_IS_ALREADY_CREATED = The View with 'view id' '{0}' is already created.\n
TEMPLATE_IS_NOT_FOUND = Template {0} is not found.
+PAGES_CONFIG_CHANGES = Pages Config Changes
+UPDATE_REFERENCE_TO_PAGE = Update reference to page
Added: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/refactoring/SeamPagesRenamePageConfigChange.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/refactoring/SeamPagesRenamePageConfigChange.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/refactoring/SeamPagesRenamePageConfigChange.java 2009-03-20 13:58:12 UTC (rev 14281)
@@ -0,0 +1,194 @@
+package org.jboss.tools.seam.pages.xml.model.refactoring;
+
+import java.util.ArrayList;
+import java.util.Properties;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.OperationCanceledException;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.ltk.core.refactoring.Change;
+import org.eclipse.ltk.core.refactoring.CompositeChange;
+import org.eclipse.ltk.core.refactoring.RefactoringStatus;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
+import org.jboss.tools.common.meta.action.XActionInvoker;
+import org.jboss.tools.common.model.XModelException;
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.filesystems.FileSystemsHelper;
+import org.jboss.tools.common.model.filesystems.impl.FolderImpl;
+import org.jboss.tools.common.model.refactoring.RefactoringHelper;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.common.model.util.XModelObjectLoaderUtil;
+import org.jboss.tools.jst.web.model.ReferenceObject;
+import org.jboss.tools.seam.pages.xml.SeamPagesXMLMessages;
+import org.jboss.tools.seam.pages.xml.model.SeamPagesConstants;
+import org.jboss.tools.seam.pages.xml.model.handlers.RenameViewSupport;
+import org.jboss.tools.seam.pages.xml.model.helpers.SeamPagesDiagramHelper;
+import org.jboss.tools.seam.pages.xml.model.helpers.SeamPagesDiagramStructureHelper;
+
+public class SeamPagesRenamePageConfigChange extends CompositeChange {
+ XModelObject object;
+ String newName;
+
+ String oldText;
+ String newText;
+ XModelObject[] fs = new XModelObject[0];
+
+ Properties replacements = new Properties();
+
+ public SeamPagesRenamePageConfigChange(XModelObject object, String newName) {
+ super(SeamPagesXMLMessages.PAGES_CONFIG_CHANGES);
+ this.object = object;
+ this.newName = newName;
+ replacements.clear();
+ oldText = XModelObjectLoaderUtil.getResourcePath(object);
+ if(!EclipseResourceUtil.hasNature(object.getModel(), "org.jboss.tools.jsf.jsfnature")) {
+ IFile file = (IFile)object.getAdapter(IFile.class);
+ if(file != null) {
+ IPath root = getRootPath(file.getProject());
+ if(root.isPrefixOf(file.getFullPath())) {
+ oldText = file.getFullPath().removeFirstSegments(root.segmentCount()).toString();
+ if(!oldText.startsWith("/")) oldText = "/" + oldText;
+ }
+
+ }
+ }
+ int i = oldText.lastIndexOf("/");
+ newText = oldText.substring(0, i + 1) + newName;
+ replacements.setProperty(oldText, newText);
+ addChanges();
+ }
+
+ IPath getRootPath(IProject project) {
+ IVirtualComponent component = ComponentCore.createComponent(project);
+ if(component == null) return null;
+ return component.getRootFolder().getWorkspaceRelativePath();
+ }
+
+ private void addChanges() {
+ if(object == null) return;
+ XModelObject fso = FileSystemsHelper.getFileSystems(object.getModel());
+ if(fso == null) return;
+ ArrayList<XModelObject> list = new ArrayList<XModelObject>();
+ collectFiles(list, fso);
+ fs = list.toArray(new XModelObject[0]);
+ addChanges(fs);
+ }
+
+ private void addChanges(XModelObject[] objects) {
+ for (int i = 0; i < objects.length; i++) {
+ int c = getChildren().length;
+ RefactoringHelper.addChanges(objects[i], replacements, this);
+ if(c == getChildren().length) {
+ final XModelObject gs = findGroup(objects[i]);
+ if(gs != null) {
+ add(new Change() {
+ public String getName() {
+ return SeamPagesXMLMessages.UPDATE_REFERENCE_TO_PAGE + gs.getAttributeValue(SeamPagesConstants.ATTR_PATH);
+ }
+ public void initializeValidationData(IProgressMonitor pm) {
+ }
+ public RefactoringStatus isValid(IProgressMonitor pm) throws CoreException, OperationCanceledException {
+ return null;
+ }
+ public Change perform(IProgressMonitor pm) throws CoreException {
+ return null;
+ }
+ public Object getModifiedElement() {
+ return null;
+ }
+ });
+ }
+ }
+ }
+ }
+
+ XModelObject findGroup(XModelObject f) {
+ XModelObject diagram = SeamPagesDiagramStructureHelper.instance.getDiagram(f);
+ if(diagram == null) return null;
+ XModelObject[] is = SeamPagesDiagramStructureHelper.instance.getItems(diagram);
+ for (int i = 0; i < is.length; i++) {
+ String path = is[i].getAttributeValue(SeamPagesConstants.ATTR_PATH);
+ if(path != null && path.equals(oldText)) return is[i];
+ }
+ return null;
+ }
+
+ private void collectFiles(ArrayList<XModelObject> list, XModelObject object) {
+ if(object.getFileType() == XModelObject.SYSTEM) {
+ if(object.getModelEntity().getName().equals("FileSystemJar")) {
+ return;
+ }
+ }
+ if(object.getFileType() == XModelObject.FILE) {
+ if(object.getModelEntity().getName().startsWith(SeamPagesConstants.ENT_FILE_SEAM_PAGE)) {
+ if(!isOverlapped(object)) list.add(object);
+ }
+ } else {
+ if("true".equals(object.get("overlapped"))) return;
+ XModelObject[] cs = object.getChildren();
+ for (XModelObject o: cs) {
+ collectFiles(list, o);
+ }
+ }
+ }
+ protected boolean isOverlapped(XModelObject object) {
+ XModelObject p = object.getParent();
+ while(p != null && !"true".equals(p.get("overlapped"))) p = p.getParent();
+ return (p != null);
+ }
+
+ public Change perform(IProgressMonitor pm) throws CoreException {
+ XModelObject parent = object.getParent();
+ if(parent instanceof FolderImpl) {
+ ((FolderImpl)parent).update();
+ }
+ for (int i = 0; i < fs.length; i++) {
+ performChangeInFile(fs[i]);
+ }
+ for (int i = 0; i < fs.length; i++) {
+ if(fs[i].isModified()) {
+ XActionInvoker.invoke("SaveActions.Save", fs[i], null);
+ }
+ }
+ return null;
+ }
+
+ private void performChangeInFile(XModelObject f) throws XModelException {
+ replaceViewIDs(f, oldText, newText);
+ XModelObject g = findGroup(f);
+ if(g != null) {
+ SeamPagesDiagramHelper h = SeamPagesDiagramHelper.getHelper(SeamPagesDiagramStructureHelper.instance.getDiagram(f));
+ h.addUpdateLock(this);
+ try {
+ RenameViewSupport.replace((ReferenceObject)g, oldText, newText);
+ } finally {
+ h.removeUpdateLock(this);
+ h.updateDiagram();
+ }
+ }
+ }
+
+ static String[] ATTRIBUTES = {"no conversation view id", "login view id"};
+
+ static void replaceViewIDs(XModelObject f, String oldText, String newText) throws XModelException {
+ if(oldText == null || oldText.length() == 0) return;
+ for (int i = 0; i < ATTRIBUTES.length; i++) {
+ if(f.getModelEntity().getAttribute(ATTRIBUTES[i]) != null) {
+ String v = f.getAttributeValue(ATTRIBUTES[i]);
+ if(oldText.equals(v)) f.getModel().editObjectAttribute(f, ATTRIBUTES[i], newText);
+ }
+ }
+ if(f.getModelEntity().getName().startsWith(SeamPagesConstants.ENT_FILE_SEAM_PAGES)) {
+ XModelObject[] cs = f.getChildrenForSave();
+ for (int i = 0; i < cs.length; i++) replaceViewIDs(cs[i], oldText, newText);
+ }
+
+ }
+
+}
Added: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/refactoring/SeamPagesRenamePageParticipant.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/refactoring/SeamPagesRenamePageParticipant.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/refactoring/SeamPagesRenamePageParticipant.java 2009-03-20 13:58:12 UTC (rev 14281)
@@ -0,0 +1,49 @@
+package org.jboss.tools.seam.pages.xml.model.refactoring;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.OperationCanceledException;
+import org.eclipse.ltk.core.refactoring.Change;
+import org.eclipse.ltk.core.refactoring.RefactoringStatus;
+import org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext;
+import org.eclipse.ltk.core.refactoring.participants.RenameParticipant;
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
+
+public class SeamPagesRenamePageParticipant extends RenameParticipant {
+ public static final String PARTICIPANT_NAME="seampages-RenamePageParticipant";
+ XModelObject object;
+
+ public SeamPagesRenamePageParticipant() {}
+
+ protected boolean initialize(Object element) {
+ if(!(element instanceof IFile)) return false;
+ IFile f = (IFile)element;
+ object = EclipseResourceUtil.getObjectByResource(f);
+ if(object == null) object = EclipseResourceUtil.createObjectForResource(f);
+ if(object == null) return false;
+ String entity = object.getModelEntity().getName();
+ if(".FileJSP.FileHTML.FileXHTML.FileGIF.FileCSS.FileAny.FileAnyLong.".indexOf("." + entity + ".") < 0) return false;
+ return true;
+ }
+
+ public String getName() {
+ return PARTICIPANT_NAME;
+ }
+
+ public RefactoringStatus checkConditions(IProgressMonitor pm, CheckConditionsContext context) throws OperationCanceledException {
+ return null;
+ }
+
+ public Change createChange(IProgressMonitor pm) throws CoreException, OperationCanceledException {
+ if (!pm.isCanceled()) {
+ String newName = getArguments().getNewName();
+ SeamPagesRenamePageConfigChange change = new SeamPagesRenamePageConfigChange(object, newName);
+ if(change.getChildren() == null || change.getChildren().length == 0) change = null;
+ return change;
+ }
+ return null;
+ }
+
+}
15 years, 3 months
JBoss Tools SVN: r14280 - in trunk/seam/plugins/org.jboss.tools.seam.text.ext: META-INF and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-03-20 08:24:37 -0400 (Fri, 20 Mar 2009)
New Revision: 14280
Added:
trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/ComponentsHyperlink.java
trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/ComponentsHyperlinkPartitioner.java
Modified:
trunk/seam/plugins/org.jboss.tools.seam.text.ext/META-INF/MANIFEST.MF
trunk/seam/plugins/org.jboss.tools.seam.text.ext/plugin.xml
Log:
JBIDE-3901, JBIDE-4002
Modified: trunk/seam/plugins/org.jboss.tools.seam.text.ext/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.text.ext/META-INF/MANIFEST.MF 2009-03-20 04:30:29 UTC (rev 14279)
+++ trunk/seam/plugins/org.jboss.tools.seam.text.ext/META-INF/MANIFEST.MF 2009-03-20 12:24:37 UTC (rev 14280)
@@ -27,7 +27,8 @@
org.jboss.tools.jsf,
org.jboss.tools.seam.core,
org.eclipse.jdt.ui,
- org.jboss.tools.jsf.text.ext
+ org.jboss.tools.jsf.text.ext,
+ org.eclipse.jst.j2ee;bundle-version="1.1.200"
Export-Package: org.jboss.tools.seam.text.ext,
org.jboss.tools.seam.text.ext.hyperlink
Bundle-Version: 2.0.0
Modified: trunk/seam/plugins/org.jboss.tools.seam.text.ext/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.text.ext/plugin.xml 2009-03-20 04:30:29 UTC (rev 14279)
+++ trunk/seam/plugins/org.jboss.tools.seam.text.ext/plugin.xml 2009-03-20 12:24:37 UTC (rev 14280)
@@ -202,6 +202,23 @@
</contentType>
</hyperlinkPartitioner>
+ <!-- JBIDE-4002 <bpm:process-definitions> and <bpm:pageflow-definitions> in components.xml -->
+ <!-- JBIDE-3901 <drools:rule-files> in components.xml -->
+ <hyperlinkPartitioner
+ id="org.jboss.tools.seam.text.ext.hyperlink.ComponentsHyperlinkPartitioner"
+ class="org.jboss.tools.seam.text.ext.hyperlink.ComponentsHyperlinkPartitioner">
+
+ <contentType id="org.jboss.tools.common.model.ui.xml">
+ <partitionType id="org.jboss.tools.common.text.ext.xml.XML_TEXT">
+ <!-- TODO replace bpm with [http://jboss.com/products/seam/bpm] -->
+ <axis path="*/bpm:process-definitions/value/" />
+ <!-- TODO replace bpm with [http://jboss.com/products/seam/bpm] -->
+ <axis path="*/bpm:pageflow-definitions/value/" />
+ <!-- TODO replace drools with [http://http://jboss.com/products/seam/drools] -->
+ <axis path="*/drools:rule-files/value/" />
+ </partitionType>
+ </contentType>
+ </hyperlinkPartitioner>
</extension>
<extension
@@ -297,6 +314,16 @@
</contenttypeidentifier>
</hyperlink>
+ <!-- JBIDE-4002 <bpm:process-definitions> and <bpm:pageflow-definitions> in components.xml -->
+ <!-- JBIDE-3901 <drools:rule-files> in components.xml -->
+ <hyperlink
+ class="org.jboss.tools.seam.text.ext.hyperlink.ComponentsHyperlink"
+ id="org.jboss.tools.seam.text.ext.hyperlink.ComponentsHyperlink">
+ <contenttypeidentifier id="org.jboss.tools.common.model.ui.xml">
+ <partitiontype id="org.jboss.tools.seam.text.ext.BPM_DEFINITION" />
+ <partitiontype id="org.jboss.tools.seam.text.ext.DROOLS_RULE_DEFINITION" />
+ </contenttypeidentifier>
+ </hyperlink>
</extension>
<extension
Added: trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/ComponentsHyperlink.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/ComponentsHyperlink.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/ComponentsHyperlink.java 2009-03-20 12:24:37 UTC (rev 14280)
@@ -0,0 +1,125 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.seam.text.ext.hyperlink;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.jface.text.BadLocationException;
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.jface.text.IRegion;
+import org.eclipse.jface.text.Region;
+import org.eclipse.jst.j2ee.componentcore.util.EARVirtualComponent;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlink;
+import org.jboss.tools.seam.text.ext.SeamExtPlugin;
+import org.w3c.dom.Node;
+
+public class ComponentsHyperlink extends AbstractHyperlink {
+ private String hyperlinkText = "";
+ private static final String folder = "EarContent/";
+
+ private String partitionType = null;
+
+ @Override
+ protected IRegion doGetHyperlinkRegion(int offset) {
+ Node node = ComponentsHyperlinkPartitioner.getNode(getDocument(),
+ offset);
+ partitionType = ComponentsHyperlinkPartitioner.getType(node);
+ if (partitionType == null)
+ return null;
+
+ IndexedRegion text = (IndexedRegion) node;
+
+ int regLength = text.getLength();
+ int regOffset = text.getStartOffset();
+
+ Region region = new Region(regOffset, regLength);
+ return region;
+ }
+
+ @Override
+ protected void doHyperlink(IRegion region) {
+ if (region == null)
+ return;
+
+ try {
+ IDocument document = getDocument();
+ hyperlinkText = document
+ .get(region.getOffset(), region.getLength());
+ } catch (BadLocationException ex) {
+ SeamExtPlugin.getPluginLog().logError(ex);
+ }
+
+ if (partitionType == ComponentsHyperlinkPartitioner.BPM_DEFINITION_PARTITION)
+ doBpmDefinitionHyperlink(region);
+ else if (partitionType == ComponentsHyperlinkPartitioner.DROOLS_RULE_PARTITION)
+ doDroolsRuleHyperlink(region);
+
+ }
+
+ private void doDroolsRuleHyperlink(IRegion region) {
+ IProject project = getProject();
+ IResource[] sources = EclipseResourceUtil.getJavaSourceRoots(project);
+
+ for (IResource resource : sources) {
+ String path = resource.getFullPath().removeFirstSegments(1)
+ + hyperlinkText;
+ IFile file = project.getFile(path);
+ if (file.exists()) {
+ openFileInEditor(file);
+ return;
+ }
+ }
+ }
+
+ private void doBpmDefinitionHyperlink(IRegion region) {
+ IProject earProject = getEarProject();
+ if (earProject == null)
+ return;
+
+ IFile file = earProject.getFile(folder + hyperlinkText);
+ if (file != null)
+ openFileInEditor(file);
+ }
+
+ private IProject getEarProject() {
+ IVirtualComponent component = ComponentCore
+ .createComponent(getProject());
+ IVirtualComponent[] vComponents = component.getReferencingComponents();
+ for (IVirtualComponent vc : vComponents) {
+ if (vc instanceof EARVirtualComponent) {
+ return ((EARVirtualComponent) vc).getProject();
+ }
+ }
+ return null;
+ }
+
+ private IProject getProject() {
+ IFile documentFile = getFile();
+ if (documentFile == null || !documentFile.isAccessible())
+ return null;
+
+ IProject project = documentFile.getProject();
+
+ return project;
+ }
+
+ @Override
+ public String getHyperlinkText() {
+ return hyperlinkText;
+ }
+
+}
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/ComponentsHyperlink.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/ComponentsHyperlinkPartitioner.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/ComponentsHyperlinkPartitioner.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/ComponentsHyperlinkPartitioner.java 2009-03-20 12:24:37 UTC (rev 14280)
@@ -0,0 +1,101 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.seam.text.ext.hyperlink;
+
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
+import org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlinkPartitioner;
+import org.jboss.tools.common.text.ext.hyperlink.HyperlinkRegion;
+import org.jboss.tools.common.text.ext.hyperlink.IHyperlinkRegion;
+import org.jboss.tools.common.text.ext.util.StructuredModelWrapper;
+import org.jboss.tools.common.text.ext.util.Utils;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+
+@SuppressWarnings("restriction")
+public class ComponentsHyperlinkPartitioner extends
+ AbstractHyperlinkPartitioner {
+ public static final String BPM_DEFINITION_PARTITION = "org.jboss.tools.seam.text.ext.BPM_DEFINITION";
+ public static final String DROOLS_RULE_PARTITION = "org.jboss.tools.seam.text.ext.DROOLS_RULE_DEFINITION";
+
+ static final String textNodeName = "#text";
+ static final String valueNodeName = "value";
+
+ static final String processDefinitionsNodeName = "bpm:process-definitions";
+ static final String pageflowDefinitionsNodeName = "bpm:pageflow-definitions";
+
+ static final String droolsRuleFileNodeName = "drools:rule-files";
+
+ public static Node getNode(IDocument document, int superOffset) {
+ StructuredModelWrapper smw = new StructuredModelWrapper();
+ try {
+ smw.init(document);
+ Document xmlDocument = smw.getDocument();
+ if (xmlDocument == null)
+ return null;
+
+ Node node = Utils.findNodeForOffset(xmlDocument, superOffset); // #
+ // text
+
+ return node;
+ } finally {
+ smw.dispose();
+ }
+ }
+
+ public static String getType(Node node) {
+ Node valueNode = node.getParentNode(); // value node
+ if (valueNode == null)
+ return null;
+
+ Node parentNode = valueNode.getParentNode(); // parent node
+ if (parentNode == null)
+ return null;
+
+ if (node.getNodeName().equalsIgnoreCase(textNodeName)
+ && valueNode.getNodeName().equalsIgnoreCase(valueNodeName)) {
+ if (parentNode.getNodeName().equalsIgnoreCase(
+ processDefinitionsNodeName)
+ || parentNode.getNodeName().equalsIgnoreCase(
+ pageflowDefinitionsNodeName)) {
+ return BPM_DEFINITION_PARTITION;
+ } else if (parentNode.getNodeName().equalsIgnoreCase(
+ droolsRuleFileNodeName)) {
+ return DROOLS_RULE_PARTITION;
+ }
+ }
+
+ return null;
+ }
+
+ @Override
+ protected IHyperlinkRegion parse(IDocument document,
+ IHyperlinkRegion superRegion) {
+ Node node = getNode(document, superRegion.getOffset());
+ String type = getType(node);
+ if (type == null)
+ return null;
+
+ IndexedRegion text = (IndexedRegion) node;
+
+ int length = text.getLength();
+ int offset = text.getStartOffset();
+
+ String contentType = superRegion.getContentType();
+ String axis = getAxis(document, superRegion);
+
+ IHyperlinkRegion hyperRegion = new HyperlinkRegion(offset, length,
+ axis, contentType, type);
+ return hyperRegion;
+ }
+
+}
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/ComponentsHyperlinkPartitioner.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 3 months
JBoss Tools SVN: r14279 - trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-03-20 00:30:29 -0400 (Fri, 20 Mar 2009)
New Revision: 14279
Modified:
trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties
Log:
JBIDE-3557 Externalise English strings - removed CR character which causes difficulties with gettext tools
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties 2009-03-20 03:11:36 UTC (rev 14278)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties 2009-03-20 04:30:29 UTC (rev 14279)
@@ -32,7 +32,7 @@
Error_Create_Client_Sample=When create a client sample, a error comes up. Please check the generated files.
WebEndpoint=WebEndpoint
-Error_WS_Chose_runtime=Select an JBoss Web Service runtime. If a server supplied JBoss Web Service runtime is chosen ,\r\n the chosen server adapter must be capable of providing the JBoss Web Service runtime
+Error_WS_Chose_runtime=Select an JBoss Web Service runtime. If a server supplied JBoss Web Service runtime is chosen ,\n the chosen server adapter must be capable of providing the JBoss Web Service runtime
Error_WS_No_Runtime_Specifed=A JBossWS runtime has not been chosen
JBossWSFacetInstallPage_Title=JBossWS Facet
JBossWSFacetInstallPage_Description=Select JBossWS Web Service runtime
15 years, 3 months
JBoss Tools SVN: r14278 - trunk/ws/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2009-03-19 23:11:36 -0400 (Thu, 19 Mar 2009)
New Revision: 14278
Modified:
trunk/ws/docs/reference/en/modules/client.xml
Log:
JBIDE-4059: remove a print error from WS client page
Modified: trunk/ws/docs/reference/en/modules/client.xml
===================================================================
--- trunk/ws/docs/reference/en/modules/client.xml 2009-03-20 03:01:56 UTC (rev 14277)
+++ trunk/ws/docs/reference/en/modules/client.xml 2009-03-20 03:11:36 UTC (rev 14278)
@@ -11,9 +11,6 @@
<para>Switch to the Java EE perspective <emphasis><property>Window > Open Perspective > Java EE</property></emphasis>.</para>
</listitem>
<listitem>
- <para>In the Project Explorer view, select the bean that you created or imported into the source folder of your Web project.</para>
- </listitem>
- <listitem>
<para>Click <emphasis><property>File > New > Other</property></emphasis>.Select Web Services in order to display the various Web service wizards. Select the Web Service Client wizard. Click <property>Next</property> button.</para>
<figure>
<title>New Web Service Client</title>
15 years, 3 months
JBoss Tools SVN: r14277 - in trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage: .settings and 11 other directories.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2009-03-19 23:01:56 -0400 (Thu, 19 Mar 2009)
New Revision: 14277
Added:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.classpath
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.project
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.settings/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.settings/org.eclipse.jdt.core.prefs
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/META-INF/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/build.properties
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/icons/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/icons/layoutH.gif
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/icons/layoutV.gif
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/icons/process.gif
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.properties
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.xml
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/MultiPageEditorPlugin.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/InnerJpdlEditor.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/MultiPageEditor.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/MultiPageEditorContributor.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/message/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/message/MultiPage.properties
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/message/MultiPageMessages.java
Log:
GPD290: add a multipage editor for gpd
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.classpath
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.classpath (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.classpath 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.project
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.project (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.project 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.flow.jpdl4.multipage</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/.settings/org.eclipse.jdt.core.prefs 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,7 @@
+#Wed Mar 11 13:52:50 CST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,21 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.jboss.tools.flow.jpdl4.multipageeditor;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.tools.flow.jpdl4.multipage.MultiPageEditorPlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.jface.text,
+ org.eclipse.core.resources,
+ org.eclipse.ui.editors,
+ org.eclipse.ui.ide,
+ org.jboss.tools.flow.jpdl4;bundle-version="1.0.0",
+ org.eclipse.wst.sse.ui;bundle-version="1.1.3",
+ org.eclipse.ui.views.properties.tabbed;bundle-version="3.4.1",
+ org.jboss.tools.flow.common;bundle-version="1.0.0",
+ org.eclipse.gef;bundle-version="3.4.1"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/build.properties
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/build.properties (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/build.properties 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ .,\
+ icons/
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/icons/layoutH.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/icons/layoutH.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/icons/layoutV.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/icons/layoutV.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/icons/process.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/icons/process.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.properties
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.properties (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.properties 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,2 @@
+pluginName=Jpdl4 Multipage Editor Plug-in
+providerName=JBoss, a Division of Red Hat
\ No newline at end of file
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.xml
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.xml (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.xml 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+
+
+ <extension
+ point="org.eclipse.ui.editors">
+ <editor
+ class="org.jboss.tools.flow.jpdl4.multipage.editors.MultiPageEditor"
+ contributorClass="org.jboss.tools.flow.jpdl4.multipage.editors.MultiPageEditorContributor"
+ extensions="xml"
+ icon="icons/process.gif"
+ id="org.jboss.tools.flow.jpdl4.multipage.editors.MultiPageEditor"
+ name="jBPM Graphical Process Designer">
+ </editor>
+ </extension>
+
+</plugin>
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/MultiPageEditorPlugin.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/MultiPageEditorPlugin.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/MultiPageEditorPlugin.java 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,74 @@
+/*******************************************************************************
+ * Copyright (c) 2008 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.flow.jpdl4.multipage;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ *
+ * @author Grid Qian
+ */
+public class MultiPageEditorPlugin extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.flow.jpdl4.multipageeditor";
+
+ // The shared instance
+ private static MultiPageEditorPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public MultiPageEditorPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static MultiPageEditorPlugin getDefault() {
+ return plugin;
+ }
+
+ /**
+ * Returns an image descriptor for the image file at the given
+ * plug-in relative path
+ *
+ * @param path the path
+ * @return the image descriptor
+ */
+ public static ImageDescriptor getImageDescriptor(String path) {
+ return imageDescriptorFromPlugin(PLUGIN_ID, path);
+ }
+}
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/InnerJpdlEditor.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/InnerJpdlEditor.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/InnerJpdlEditor.java 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,53 @@
+/*******************************************************************************
+ * Copyright (c) 2008 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.flow.jpdl4.multipage.editors;
+
+import java.io.IOException;
+import java.io.OutputStream;
+
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IWorkbenchPart;
+import org.jboss.tools.flow.jpdl4.editor.JpdlEditor;
+
+/**
+ * the jpdl editor is only for the multipage editor. It extends jpdl editor and
+ * do some small changes for adapting to the multipage editor.
+ *
+ * @author Grid Qian
+ */
+public class InnerJpdlEditor extends JpdlEditor {
+
+ public String JpdlEditorID = "org.jboss.tools.flow.jpdl4.editor";
+
+ public void selectionChanged(IWorkbenchPart part, ISelection selection) {
+ IEditorPart activeEditor = getSite().getPage().getActiveEditor();
+ if (activeEditor instanceof MultiPageEditor) {
+ MultiPageEditor mulEditor = (MultiPageEditor) activeEditor;
+
+ if (mulEditor.getActiveInnerEditor() == this)
+ updateActions(super.getSelectionActions());
+ }
+ super.selectionChanged(part, selection);
+ }
+
+ public void writeModel(OutputStream os) throws IOException {
+ super.writeModel(os);
+ }
+ public void setModel(Object model) {
+ super.setModel(model);
+ }
+
+ public String getContributorId() {
+ return JpdlEditorID;
+ }
+}
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/MultiPageEditor.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/MultiPageEditor.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/MultiPageEditor.java 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,161 @@
+/*******************************************************************************
+ * Copyright (c) 2008 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.flow.jpdl4.multipage.editors;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+
+import org.eclipse.core.resources.IResourceChangeEvent;
+import org.eclipse.core.resources.IResourceChangeListener;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.gef.GraphicalViewer;
+import org.eclipse.jface.dialogs.ErrorDialog;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IEditorSite;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.part.MultiPageEditorPart;
+import org.eclipse.wst.sse.ui.StructuredTextEditor;
+import org.jboss.tools.flow.common.wrapper.Wrapper;
+import org.jboss.tools.flow.jpdl4.editor.JpdlDeserializer;
+import org.jboss.tools.flow.jpdl4.multipage.message.MultiPageMessages;
+
+/**
+ * @author Grid Qian
+ */
+public class MultiPageEditor extends MultiPageEditorPart implements
+ IResourceChangeListener{
+
+ private InnerJpdlEditor jpdlEditor;
+
+ private StructuredTextEditor xmlEditor;
+
+ /**
+ * Creates a multi-page editor.
+ */
+ public MultiPageEditor() {
+ super();
+ ResourcesPlugin.getWorkspace().addResourceChangeListener(this);
+ }
+
+ public void init(IEditorSite site, IEditorInput input)throws PartInitException{
+ super.init(site, input);
+ }
+
+ void createJpdl4EditorPage() {
+ try {
+ jpdlEditor = new InnerJpdlEditor();
+ int pageNum = addPage((IEditorPart) jpdlEditor, getEditorInput());
+ super.setPageText(pageNum, MultiPageMessages.Jpdl_Page_Name);
+ } catch (PartInitException e) {
+ ErrorDialog.openError(getSite().getShell(),
+ "Error creating Jpdl editor", null, e.getStatus());
+ }
+ }
+
+ void createXmlEditorPage() {
+ try {
+ xmlEditor = new StructuredTextEditor();
+ int pageNum = addPage((IEditorPart) xmlEditor, getEditorInput());
+ super.setPageText(pageNum, MultiPageMessages.Xml_Page_Name);
+ } catch (PartInitException e) {
+ ErrorDialog.openError(getSite().getShell(),
+ "Error creating xml editor", null, e.getStatus());
+ }
+ }
+
+ protected void createPages() {
+ createJpdl4EditorPage();
+ createXmlEditorPage();
+ super.setPartName(jpdlEditor.getPartName());
+ }
+
+ public void pageChange(int newPageIndex) {
+ if(this.isDirty()){
+ if(this.getActiveEditor() instanceof StructuredTextEditor){
+ doPageChangeFromJpdlToXml();
+ } else {
+ doPageChangeFromXmlToJpdl();
+ }
+ }
+ super.pageChange(newPageIndex);
+ }
+
+ private void doPageChangeFromXmlToJpdl() {
+ String xmlText = xmlEditor.getDocumentProvider().getDocument(xmlEditor.getEditorInput()).get();
+ ByteArrayInputStream in = new ByteArrayInputStream(xmlText.getBytes());
+ Wrapper model = new JpdlDeserializer().deserialize(in);
+ if(model != null && model.getElement() != null) {
+ jpdlEditor.setModel(model);
+ ((GraphicalViewer) jpdlEditor.getAdapter(GraphicalViewer.class)).setContents(model);
+ } else {
+ System.out.println("Ha!");
+ }
+
+ try {
+ in.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+
+ }
+
+ private void doPageChangeFromJpdlToXml() {
+ ByteArrayOutputStream out = new ByteArrayOutputStream();
+ try {
+ jpdlEditor.writeModel(out);
+ xmlEditor.getDocumentProvider().getDocument(xmlEditor.getEditorInput()).set(out.toString());
+ out.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+
+ /*
+ * return the active editor of the multipage editor
+ */
+ public IEditorPart getActiveInnerEditor(){
+ return getActiveEditor();
+ }
+
+ @Override
+ public void doSave(IProgressMonitor monitor) {
+ if(this.getActiveEditor() instanceof StructuredTextEditor){
+ doPageChangeFromXmlToJpdl();
+ }
+ jpdlEditor.doSave(monitor);
+ xmlEditor.doSave(monitor);
+ }
+
+ @Override
+ public void doSaveAs() {
+ if(this.getActiveEditor() instanceof StructuredTextEditor){
+ doPageChangeFromXmlToJpdl();
+ }
+ jpdlEditor.doSaveAs();
+ xmlEditor.doSave(null);
+
+ }
+
+ @Override
+ public boolean isSaveAsAllowed() {
+ return jpdlEditor.isSaveAsAllowed();
+ }
+
+ public void resourceChanged(IResourceChangeEvent event) {
+ // TODO Auto-generated method stub
+
+ }
+
+}
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/MultiPageEditorContributor.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/MultiPageEditorContributor.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/editors/MultiPageEditorContributor.java 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,244 @@
+/*******************************************************************************
+ * Copyright (c) 2008 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.flow.jpdl4.multipage.editors;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.gef.ui.actions.ActionRegistry;
+import org.eclipse.gef.ui.actions.AlignmentRetargetAction;
+import org.eclipse.gef.ui.actions.DeleteRetargetAction;
+import org.eclipse.gef.ui.actions.GEFActionConstants;
+import org.eclipse.gef.ui.actions.RedoRetargetAction;
+import org.eclipse.gef.ui.actions.UndoRetargetAction;
+import org.eclipse.gef.ui.actions.ZoomComboContributionItem;
+import org.eclipse.gef.ui.actions.ZoomInRetargetAction;
+import org.eclipse.gef.ui.actions.ZoomOutRetargetAction;
+import org.eclipse.jface.action.IToolBarManager;
+import org.eclipse.jface.action.Separator;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.IActionBars;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.actions.ActionFactory;
+import org.eclipse.ui.actions.RetargetAction;
+import org.eclipse.ui.ide.IDEActionFactory;
+import org.eclipse.ui.part.MultiPageEditorActionBarContributor;
+import org.eclipse.ui.texteditor.ITextEditorActionConstants;
+import org.eclipse.wst.sse.ui.StructuredTextEditor;
+import org.jboss.tools.flow.common.Activator;
+import org.jboss.tools.flow.common.action.HorizontalAutoLayoutAction;
+import org.jboss.tools.flow.common.action.VerticalAutoLayoutAction;
+import org.jboss.tools.flow.common.editor.DropDownMenuWithDefaultAction;
+
+/**
+ * The contributor is for build actions for two editors of the multipage editor
+ *
+ * @author Grid Qian
+ */
+public class MultiPageEditorContributor extends
+ MultiPageEditorActionBarContributor {
+
+ // zoom combo button for jpdl editor
+ private ZoomComboContributionItem zoomCombo = null;
+ // a map to contain the id of a retarget action to the retarget action
+ // instance
+ private Map<String, RetargetAction> actionMap = new HashMap<String, RetargetAction>();
+
+ private static final String[] WORKBENCH_ACTION_IDS = {
+ ActionFactory.PRINT.getId(), ActionFactory.DELETE.getId(),
+ ActionFactory.SAVE.getId(), ActionFactory.UNDO.getId(),
+ ActionFactory.REDO.getId(), ActionFactory.CUT.getId(),
+ ActionFactory.COPY.getId(), ActionFactory.PASTE.getId(),
+ ActionFactory.SELECT_ALL.getId(), ActionFactory.FIND.getId(),
+ IDEActionFactory.BOOKMARK.getId() };
+ private static final String[] TEXTEDITOR_ACTION_IDS = {
+ ITextEditorActionConstants.PRINT,
+ ITextEditorActionConstants.DELETE, ITextEditorActionConstants.SAVE,
+ ITextEditorActionConstants.UNDO, ITextEditorActionConstants.REDO,
+ ITextEditorActionConstants.CUT, ITextEditorActionConstants.COPY,
+ ITextEditorActionConstants.PASTE,
+ ITextEditorActionConstants.SELECT_ALL,
+ ITextEditorActionConstants.FIND, IDEActionFactory.BOOKMARK.getId() };
+
+ /*
+ * Creates a multi-page contributor.
+ */
+ public MultiPageEditorContributor() {
+ super();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @seeorg.eclipse.ui.part.EditorActionBarContributor#init(org.eclipse.ui.
+ * IActionBars)
+ */
+ public void init(IActionBars bars) {
+ buildActions(bars);
+ contributeJpdlEditorToolBarAction(bars.getToolBarManager());
+ super.init(bars);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.ui.part.MultiPageEditorActionBarContributor#setActivePage
+ * (org.eclipse.ui.IEditorPart)
+ */
+ public void setActivePage(IEditorPart activeEditor) {
+ IActionBars actionBars = getActionBars();
+ if (actionBars == null)
+ return;
+ actionBars.clearGlobalActionHandlers();
+ if (activeEditor instanceof InnerJpdlEditor) {
+ addJpdlEditorActions((InnerJpdlEditor) activeEditor, actionBars);
+ } else if (activeEditor instanceof StructuredTextEditor) {
+ addXmlEditorActions((StructuredTextEditor) activeEditor, actionBars);
+ }
+ actionBars.updateActionBars();
+ }
+
+ /*
+ * set the global actions for jpdl editor
+ */
+ private void addJpdlEditorActions(InnerJpdlEditor activeEditor,
+ IActionBars actionBars) {
+ // get the registry of actions from jpdl editor
+ ActionRegistry registry = (ActionRegistry) activeEditor
+ .getAdapter(ActionRegistry.class);
+
+ // set jpdl global action to workbench global action
+ for (int i = 0; i < WORKBENCH_ACTION_IDS.length; i++) {
+ actionBars.setGlobalActionHandler(WORKBENCH_ACTION_IDS[i], registry
+ .getAction(WORKBENCH_ACTION_IDS[i]));
+ }
+
+ // set the retarget action of jpdl editor to jpdl golbal action
+ String[] keys = actionMap.keySet().toArray(
+ new String[actionMap.keySet().size()]);
+ for (int i = 0; i < keys.length; i++) {
+ actionBars.setGlobalActionHandler(keys[i], registry
+ .getAction(keys[i]));
+ }
+
+ // make zoomCombo visible
+ zoomCombo.setVisible(true);
+ actionBars.getToolBarManager().update(true);
+
+ }
+
+ /*
+ * set the global actions for xml editor
+ */
+ private void addXmlEditorActions(StructuredTextEditor activeEditor,
+ IActionBars actionBars) {
+ // set the global actions of jpdl editor are unable.
+ String[] keys = actionMap.keySet().toArray(
+ new String[actionMap.keySet().size()]);
+ for (int i = 0; i < keys.length; i++) {
+ actionBars.setGlobalActionHandler(keys[i], null);
+ }
+
+ //set the global actions to xml editor global action
+ for (int i = 0; i < WORKBENCH_ACTION_IDS.length; i++) {
+ actionBars.setGlobalActionHandler(WORKBENCH_ACTION_IDS[i],
+ activeEditor.getAction(TEXTEDITOR_ACTION_IDS[i]));
+ }
+ zoomCombo.setVisible(false);
+ }
+
+ /*
+ * create retarget actions for jpdl editor
+ */
+ private void buildActions(IActionBars actionBars) {
+ addRetargetAction(new UndoRetargetAction());
+ addRetargetAction(new RedoRetargetAction());
+ addRetargetAction(new DeleteRetargetAction());
+ addRetargetAction(new ZoomInRetargetAction());
+ addRetargetAction(new ZoomOutRetargetAction());
+ addRetargetAction(new AlignmentRetargetAction(PositionConstants.LEFT));
+ addRetargetAction(new AlignmentRetargetAction(PositionConstants.CENTER));
+ addRetargetAction(new AlignmentRetargetAction(PositionConstants.RIGHT));
+ addRetargetAction(new AlignmentRetargetAction(PositionConstants.TOP));
+ addRetargetAction(new AlignmentRetargetAction(PositionConstants.MIDDLE));
+ addRetargetAction(new AlignmentRetargetAction(PositionConstants.BOTTOM));
+ addRetargetAction(new RetargetAction(
+ GEFActionConstants.TOGGLE_GRID_VISIBILITY, "Grid"));
+ RetargetAction verticalAutoLayoutAction = new RetargetAction(
+ VerticalAutoLayoutAction.ID, null);
+ verticalAutoLayoutAction.setImageDescriptor(ImageDescriptor
+ .createFromURL(Activator.getDefault().getBundle().getEntry(
+ "icons/layoutV.gif")));
+ addRetargetAction(verticalAutoLayoutAction);
+ RetargetAction horizontalAutoLayoutAction = new RetargetAction(
+ HorizontalAutoLayoutAction.ID, null);
+ horizontalAutoLayoutAction.setImageDescriptor(ImageDescriptor
+ .createFromURL(Activator.getDefault().getBundle().getEntry(
+ "icons/layoutH.gif")));
+ addRetargetAction(horizontalAutoLayoutAction);
+ }
+
+ /*
+ * add the retargetaction to the map
+ */
+ protected void addRetargetAction(RetargetAction action) {
+ actionMap.put(action.getId(), action);
+ getPage().addPartListener(action);
+ }
+
+ /*
+ * add the retarget actions to jpdl tool bar
+ */
+ public void contributeJpdlEditorToolBarAction(IToolBarManager toolBarManager) {
+ toolBarManager.add(actionMap.get(ActionFactory.UNDO.getId()));
+ toolBarManager.add(actionMap.get(ActionFactory.REDO.getId()));
+ toolBarManager.add(new Separator());
+ zoomCombo = new ZoomComboContributionItem(getPage());
+ toolBarManager.add(zoomCombo);
+ toolBarManager.add(new Separator());
+
+ DropDownMenuWithDefaultAction alignMenu = new DropDownMenuWithDefaultAction(
+ actionMap.get(GEFActionConstants.ALIGN_LEFT));
+ alignMenu.add(actionMap.get(GEFActionConstants.ALIGN_LEFT));
+ alignMenu.add(actionMap.get(GEFActionConstants.ALIGN_CENTER));
+ alignMenu.add(actionMap.get(GEFActionConstants.ALIGN_RIGHT));
+ alignMenu.add(new Separator());
+ alignMenu.add(actionMap.get(GEFActionConstants.ALIGN_TOP));
+ alignMenu.add(actionMap.get(GEFActionConstants.ALIGN_MIDDLE));
+ alignMenu.add(actionMap.get(GEFActionConstants.ALIGN_BOTTOM));
+ toolBarManager.add(alignMenu);
+
+ toolBarManager.add(new Separator());
+ toolBarManager.add(actionMap
+ .get(GEFActionConstants.TOGGLE_GRID_VISIBILITY));
+
+ toolBarManager.add(new Separator());
+ toolBarManager.add(actionMap.get(VerticalAutoLayoutAction.ID));
+ toolBarManager.add(actionMap.get(HorizontalAutoLayoutAction.ID));
+ }
+
+ public void dispose() {
+ String[] keys = actionMap.keySet().toArray(
+ new String[actionMap.keySet().size()]);
+ for (int i = 0; i < keys.length; i++) {
+ RetargetAction action = (RetargetAction) actionMap.get(keys[i]);
+ getPage().removePartListener(action);
+ action.dispose();
+ }
+ actionMap.clear();
+ actionMap = null;
+
+ zoomCombo.dispose();
+ }
+}
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/message/MultiPage.properties
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/message/MultiPage.properties (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/message/MultiPage.properties 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,2 @@
+Jpdl_Page_Name=Diagram
+Xml_Page_Name=Source
\ No newline at end of file
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/message/MultiPageMessages.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/message/MultiPageMessages.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/message/MultiPageMessages.java 2009-03-20 03:01:56 UTC (rev 14277)
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2008 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.flow.jpdl4.multipage.message;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * @author Grid Qian
+ */
+public class MultiPageMessages {
+
+ private static final String BUNDLE_NAME = "org.jboss.tools.flow.jpdl4.multipage.message.MultiPage"; //$NON-NLS-1$
+
+ public static String Jpdl_Page_Name;
+ public static String Xml_Page_Name;
+
+ static {
+ NLS.initializeMessages(BUNDLE_NAME, MultiPageMessages.class);
+ }
+}
\ No newline at end of file
15 years, 3 months
JBoss Tools SVN: r14276 - trunk/hibernatetools/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-03-19 19:44:16 -0400 (Thu, 19 Mar 2009)
New Revision: 14276
Modified:
trunk/hibernatetools/docs/reference/en/modules/codegen.xml
trunk/hibernatetools/docs/reference/en/modules/plugins.xml
trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-359 - spelling and validation is checked
Modified: trunk/hibernatetools/docs/reference/en/modules/codegen.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/codegen.xml 2009-03-19 23:44:07 UTC (rev 14275)
+++ trunk/hibernatetools/docs/reference/en/modules/codegen.xml 2009-03-19 23:44:16 UTC (rev 14276)
@@ -353,7 +353,7 @@
</emphasis> attributes, unless you are defining a class without bi-directional
associations.</para>
- <para>We recomend instead to add the <emphasis>
+ <para>We recommend instead to add the <emphasis>
<property>meta</property>
</emphasis> attributes at the property level:</para>
Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2009-03-19 23:44:07 UTC (rev 14275)
+++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2009-03-19 23:44:16 UTC (rev 14276)
@@ -806,7 +806,7 @@
</entry>
<entry>
- <para>A table that has a multi-colum primary key a <composite-id>
+ <para>A table that has a multi-column primary key a <composite-id>
mapping will always be created. If this option is enabled and there are matching
foreign-keys each key column is still considered a 'basic' scalar (string, long,
etc.) instead of a reference to an entity. If you disable this option a
Modified: trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml 2009-03-19 23:44:07 UTC (rev 14275)
+++ trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml 2009-03-19 23:44:16 UTC (rev 14276)
@@ -61,13 +61,13 @@
<hibernate-reverse-engineering>
<type-mapping>
- <!-- jdbc-type is name fom java.sql.Types -->
+ <!-- jdbc-type is name for java.sql.Types -->
<sql-type jdbc-type="VARCHAR" length='20' hibernate-type="SomeUserType" />
<sql-type jdbc-type="VARCHAR" length='1' hibernate-type="yes_no" />
- <!-- length, scale and precision can be used to specify the mapping precisly -->
+ <!-- length, scale and precision can be used to specify the mapping precisely -->
<sql-type jdbc-type="NUMERIC" precision='1' hibernate-type="boolean" />
<!-- the type-mappings are ordered. This mapping will be consulted last,
- thus overriden by the previous one if precision=1 for the column -->
+ thus overridden by the previous one if precision=1 for the column -->
<sql-type jdbc-type="NUMERIC" hibernate-type="long" />
</type-mapping>
15 years, 3 months
JBoss Tools SVN: r14275 - trunk/esb/docs/esb_ref_guide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-03-19 19:44:07 -0400 (Thu, 19 Mar 2009)
New Revision: 14275
Modified:
trunk/esb/docs/esb_ref_guide/en/modules/esb_support.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-359 - spelling and validation is checked
Modified: trunk/esb/docs/esb_ref_guide/en/modules/esb_support.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/en/modules/esb_support.xml 2009-03-19 23:44:01 UTC (rev 14274)
+++ trunk/esb/docs/esb_ref_guide/en/modules/esb_support.xml 2009-03-19 23:44:07 UTC (rev 14275)
@@ -143,7 +143,7 @@
<listitem><para><emphasis role="bold">JBoss ESB Web Service consumer1 Example</emphasis> - demonstrates how to consume a 181 Web Service in an ESB action.</para></listitem>
<listitem><para><emphasis role="bold">JBoss ESB Web Service producer Example</emphasis> - demonstrates how to deploy a JSR181 Webservice endpoint on JBossESB using the SOAPProcessor action.</para></listitem>
<listitem><para><emphasis role="bold">JBoss ESB Smooks CSV -> XML Example</emphasis> - demonstrates how to transform a comma separated value (CSV) file to an XML.</para></listitem>
- <listitem><para><emphasis role="bold">JBoss ESB Smooks XML -> POJO Example</emphasis> - demonstrates the use of Smooks performing a simpe transformation by converting an XML file into Java POJOs.</para></listitem>
+ <listitem><para><emphasis role="bold">JBoss ESB Smooks XML -> POJO Example</emphasis> - demonstrates the use of Smooks performing a simple transformation by converting an XML file into Java POJOs.</para></listitem>
<listitem><para><emphasis role="bold">JBoss ESB Smooks XML -> XML date-manipulation Example</emphasis> - demonstrates how to manually define and apply a Message Transformation within JBoss ESB.</para></listitem>
<listitem><para><emphasis role="bold">JBoss ESB Smooks XML -> XML Example</emphasis> - a very basic example of how to manually define and apply a Message Transformation within JBoss ESB. It applies a very simple XSLT to a SampleOrder.xml message and prints the before and after XML to the console. </para></listitem>
@@ -180,7 +180,7 @@
<section>
<title>Deploying a ESB Project</title>
- <para>In this chapter youwill see how to deploy a ESB project using the WTP deployment framework.</para>
+ <para>In this chapter you will see how to deploy a ESB project using the WTP deployment framework.</para>
<para>Before deploying the project, open the JBoss Server View by selecting <emphasis><property>Window > Show View > Other >
Server > JBoss Server View</property></emphasis>,
@@ -396,7 +396,7 @@
<para>You can find out what is SOA here: <ulink url="http://www.jboss.org/jbossesb/resources/SOABasics.html">Basics of SOA</ulink> and <ulink url="http://www.jboss.org/jbossesb/resources/SOAEOA.html">SOA and EOA</ulink>.</para>
<para>To configure the JBoss Enterprise SOA platform select <emphasis>
- <property>Window > Preferences > Server > Runtime Enironments</property></emphasis>, that will open the Server Runtime Environments Preferences page where you can add, remove and edit a Server Runtime Environment.</para>
+ <property>Window > Preferences > Server > Runtime Environments</property></emphasis>, that will open the Server Runtime Environments Preferences page where you can add, remove and edit a Server Runtime Environment.</para>
<figure>
<title>Configure new Server Runtime Environment</title>
@@ -417,7 +417,7 @@
</mediaobject>
</figure>
- <para>On the next step you can specify a name of the server runtime environement and browse to its location. Click <emphasis><property>Finish</property></emphasis> to add the server runtime environment.</para>
+ <para>On the next step you can specify a name of the server runtime environment and browse to its location. Click <emphasis><property>Finish</property></emphasis> to add the server runtime environment.</para>
<figure>
15 years, 3 months
JBoss Tools SVN: r14274 - trunk/jbpm/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-03-19 19:44:01 -0400 (Thu, 19 Mar 2009)
New Revision: 14274
Modified:
trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml
trunk/jbpm/docs/reference/en/modules/guided_tour_jboss_jbpmgpd.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-359 - spelling and validation is checked
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 2009-03-19 23:04:13 UTC (rev 14273)
+++ trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml 2009-03-19 23:44:01 UTC (rev 14274)
@@ -223,7 +223,7 @@
</mediaobject>
</figure>
- <para>Tere we are. The above objective has been achieved.</para>
+ <para>There 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 2009-03-19 23:04:13 UTC (rev 14273)
+++ trunk/jbpm/docs/reference/en/modules/guided_tour_jboss_jbpmgpd.xml 2009-03-19 23:44:01 UTC (rev 14274)
@@ -1,221 +1,221 @@
<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="GuidedTourJBossjBPMGPD" xreflabel="GuidedTourJBossjBPMGPD">
- <?dbhtml filename="GuidedTourJBossjBPMGPD.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>jBPM</keyword>
- <keyword>JBoss</keyword>
- <keyword>Process</keyword>
- <keyword>Definition</keyword>
- </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 configuring your
- own simple process. Let's try to organize 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
- we will ignore for this section. In the future we will elaborate this wizard and offer the
- possibility to create an empty jBPM project as well as projects based on templates taken
- from the jBPM tutorial.</para>
- <section id="CreatingjBPMProject">
- <?dbhtml filename="CreatingjBPMProject.html"?>
- <title>Creating a jBPM Project</title>
- <para>This section will show you how to use the Creation wizard for creating a new jBPM
- project with already included source folders.</para>
- <para>At first you should select <emphasis>
- <property>File >New Project...</property>
- </emphasis> and then <emphasis>
- <property>JBoss jBPM > Process Project</property>
- </emphasis> in the New Project dialog:</para>
- <figure>
- <title>New Project Dialog</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_1.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para> Clicking <emphasis>
- <property>Next</property>
- </emphasis> brings us to the wizard page where it's necessary to specify the
- name and location for the project. We choose, for example, <emphasis>
- <property>HellojBPM</property>
- </emphasis> as the name and accept the default location. </para>
- <figure>
- <title>Process Name and Location</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_2.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Thus, our project will be created in the workspace root directory by default. If you
- want to change the directory for your future project, deselect <emphasis>
- <property>Use default location</property>
- </emphasis> and click <emphasis>
- <property>Browse...</property>
- </emphasis> button to set needed location or simply type it.</para>
- <para>On the next screen you'll be prompted to select the core jBPM location that
- we have defined in the previous chapter.</para>
- <figure>
- <title>Core jBPM Location Specifying</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_9.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Clicking on <emphasis>
- <property>Finish</property>
- </emphasis> results in the project being generated. The wizard creates four source
- folders: one for the processes (<emphasis>
- <property>src/main/jpdl</property>
- </emphasis>), one for the java sources (<emphasis>
- <property>src/main/java</property>
- </emphasis>), one for the unit tests (<emphasis>
- <property>src/test/java</property>
- </emphasis>) and one for the resources such as the jbpm.properties and the
- hibernate.properties files (<emphasis>
- <property>src/main/config</property>
- </emphasis>). In addition a classpath container with all the core jBPM libraries is
- added to the project</para>
- <figure>
- <title>Layout of the Process Project</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_3.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Looking inside the different source folders will reveal a number of other artifacts
- that were generated, but we will leave these untouched for the moment. Instead, we will
- look at another wizard that enables us to create an empty process definition.</para>
- </section>
- <section id="creating_an_empty_process_definition">
- <?dbhtml filename="creating_an_empty_process_definition.html"?>
- <title>Creating an Empty Process Definition</title>
- <para>Now when the project is set up, we can use a Creation wizard to create an empty
- process definition. Bring up the <emphasis>
- <property>New</property>
- </emphasis> wizard by clicking the <emphasis>
- <property>File > New > Other...</property>
- </emphasis> menu item. The wizard opens on the <emphasis>
- <property>Select Wizard</property>
- </emphasis> page.</para>
- <figure>
- <title>The Select Wizard Page</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_4.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Selecting the <emphasis>
- <property>JBoss jBPM</property>
- </emphasis> category, then the <emphasis>
- <property>Process Definition</property>
- </emphasis> item and clicking on the <emphasis>
- <property>Next</property>
- </emphasis> button brings us to the <emphasis>
- <property>Create Process Definition</property>
- </emphasis> page.</para>
- <figure>
- <title>The Create New Process Definion Page</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_5.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>We choose <emphasis>
- <property>hello</property>
- </emphasis> as the name of the process archive file. Click on the <emphasis>
- <property>Finish</property>
- </emphasis> button to end the wizard and open the process definition editor.</para>
- <figure>
- <title>The Process Definition Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_6.png"
- scale="60"/>
- </imageobject>
- </mediaobject>
- </figure>
-
-
- <para>You can see in the Package Explorer that creating a process definition involves
- creating a folder with the name of the process definition and populating this folder
- with two .xml files : <emphasis>
- <property>gpd.xml</property>
- </emphasis> and <emphasis>
- <property>processdefinition.xml</property>. </emphasis></para>
- <para>The <emphasis>
- <property>gpd.xml</property>
- </emphasis> contains the graphical information used by the process definition editor.
- The <emphasis>
- <property>processdefinition.xml</property>
- </emphasis> file contains the actual process definition info without the graphical
- rendering info. At present, the GPD assumes that these two files are siblings. More
- sophisticated configuration will be supported later.</para>
-
- <section id="minimal_process_definition">
- <?dbhtml filename="minimal_process_definition.html"?>
- <title>A Minimal Process Definition</title>
- <para>Now we are ready to create a very simple process definition consisting of a begin
- state, an intermediate state and an end state.</para>
- <para>To make the configuration of actions much easier it's better to use the
- jPDL perspective. It provides the tabbed Properties Editor which allows to configure
- all the relevant properties of the current selected item. </para>
-
- <section id="adding_the_nodes">
- <?dbhtml filename="adding_the_nodes.html"?>
- <title>Adding the Nodes</title>
- <para>At first select respectively <emphasis>
- <property>Start</property>, </emphasis>
- <emphasis>
- <property>State</property>
- </emphasis> and <emphasis>
- <property>End</property>
- </emphasis> on the tools palette and click on the canvas to add these nodes to
- the process definition. The result should look similar to this:</para>
- <figure>
- <title>A Simple Process With Three Nodes</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_7.png"
- scale="60"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
- <section id="adding_transitions">
- <?dbhtml filename="adding_transitions.html"?>
- <title>Adding Transitions</title>
- <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>
- </emphasis> node, then move to the <emphasis>
- <property>State</property>
- </emphasis> node and click again to see the transition being drawn. Perform the
- same steps to create a transition from the <emphasis>
- <property>State</property>
- </emphasis> node to the <emphasis>
- <property>End</property>
- </emphasis> node. The result will look like:</para>
- <figure>
- <title>A Simple Process With Transitions</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_8.png"
- scale="60"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Now, when you've got background knowledge of simple project creation,
- let's move to more advanced tools.</para>
- </section>
- </section>
- </section>
-
-</chapter>
+<chapter id="GuidedTourJBossjBPMGPD" xreflabel="GuidedTourJBossjBPMGPD">
+ <?dbhtml filename="GuidedTourJBossjBPMGPD.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>jBPM</keyword>
+ <keyword>JBoss</keyword>
+ <keyword>Process</keyword>
+ <keyword>Definition</keyword>
+ </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 configuring your
+ own simple process. Let's try to organize 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
+ we will ignore for this section. In the future we will elaborate this wizard and offer the
+ possibility to create an empty jBPM project as well as projects based on templates taken
+ from the jBPM tutorial.</para>
+ <section id="CreatingjBPMProject">
+ <?dbhtml filename="CreatingjBPMProject.html"?>
+ <title>Creating a jBPM Project</title>
+ <para>This section will show you how to use the Creation wizard for creating a new jBPM
+ project with already included source folders.</para>
+ <para>At first you should select <emphasis>
+ <property>File >New Project...</property>
+ </emphasis> and then <emphasis>
+ <property>JBoss jBPM > Process Project</property>
+ </emphasis> in the New Project dialog:</para>
+ <figure>
+ <title>New Project Dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_1.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para> Clicking <emphasis>
+ <property>Next</property>
+ </emphasis> brings us to the wizard page where it's necessary to specify the
+ name and location for the project. We choose, for example, <emphasis>
+ <property>HellojBPM</property>
+ </emphasis> as the name and accept the default location. </para>
+ <figure>
+ <title>Process Name and Location</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Thus, our project will be created in the workspace root directory by default. If you
+ want to change the directory for your future project, deselect <emphasis>
+ <property>Use default location</property>
+ </emphasis> and click <emphasis>
+ <property>Browse...</property>
+ </emphasis> button to set needed location or simply type it.</para>
+ <para>On the next screen you'll be prompted to select the core jBPM location that
+ we have defined in the previous chapter.</para>
+ <figure>
+ <title>Core jBPM Location Specifying</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_9.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Clicking on <emphasis>
+ <property>Finish</property>
+ </emphasis> results in the project being generated. The wizard creates four source
+ folders: one for the processes (<emphasis>
+ <property>src/main/jpdl</property>
+ </emphasis>), one for the java sources (<emphasis>
+ <property>src/main/java</property>
+ </emphasis>), one for the unit tests (<emphasis>
+ <property>src/test/java</property>
+ </emphasis>) and one for the resources such as the jbpm.properties and the
+ hibernate.properties files (<emphasis>
+ <property>src/main/config</property>
+ </emphasis>). In addition a classpath container with all the core jBPM libraries is
+ added to the project</para>
+ <figure>
+ <title>Layout of the Process Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_3.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Looking inside the different source folders will reveal a number of other artifacts
+ that were generated, but we will leave these untouched for the moment. Instead, we will
+ look at another wizard that enables us to create an empty process definition.</para>
+ </section>
+ <section id="creating_an_empty_process_definition">
+ <?dbhtml filename="creating_an_empty_process_definition.html"?>
+ <title>Creating an Empty Process Definition</title>
+ <para>Now when the project is set up, we can use a Creation wizard to create an empty
+ process definition. Bring up the <emphasis>
+ <property>New</property>
+ </emphasis> wizard by clicking the <emphasis>
+ <property>File > New > Other...</property>
+ </emphasis> menu item. The wizard opens on the <emphasis>
+ <property>Select Wizard</property>
+ </emphasis> page.</para>
+ <figure>
+ <title>The Select Wizard Page</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_4.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Selecting the <emphasis>
+ <property>JBoss jBPM</property>
+ </emphasis> category, then the <emphasis>
+ <property>Process Definition</property>
+ </emphasis> item and clicking on the <emphasis>
+ <property>Next</property>
+ </emphasis> button brings us to the <emphasis>
+ <property>Create Process Definition</property>
+ </emphasis> page.</para>
+ <figure>
+ <title>The Create New Process Defining Page</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_5.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>We choose <emphasis>
+ <property>hello</property>
+ </emphasis> as the name of the process archive file. Click on the <emphasis>
+ <property>Finish</property>
+ </emphasis> button to end the wizard and open the process definition editor.</para>
+ <figure>
+ <title>The Process Definition Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_6.png"
+ scale="60"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+
+ <para>You can see in the Package Explorer that creating a process definition involves
+ creating a folder with the name of the process definition and populating this folder
+ with two .xml files : <emphasis>
+ <property>gpd.xml</property>
+ </emphasis> and <emphasis>
+ <property>processdefinition.xml</property>. </emphasis></para>
+ <para>The <emphasis>
+ <property>gpd.xml</property>
+ </emphasis> contains the graphical information used by the process definition editor.
+ The <emphasis>
+ <property>processdefinition.xml</property>
+ </emphasis> file contains the actual process definition info without the graphical
+ rendering info. At present, the GPD assumes that these two files are siblings. More
+ sophisticated configuration will be supported later.</para>
+
+ <section id="minimal_process_definition">
+ <?dbhtml filename="minimal_process_definition.html"?>
+ <title>A Minimal Process Definition</title>
+ <para>Now we are ready to create a very simple process definition consisting of a begin
+ state, an intermediate state and an end state.</para>
+ <para>To make the configuration of actions much easier it's better to use the
+ jPDL perspective. It provides the tabbed Properties Editor which allows to configure
+ all the relevant properties of the current selected item. </para>
+
+ <section id="adding_the_nodes">
+ <?dbhtml filename="adding_the_nodes.html"?>
+ <title>Adding the Nodes</title>
+ <para>At first select respectively <emphasis>
+ <property>Start</property>, </emphasis>
+ <emphasis>
+ <property>State</property>
+ </emphasis> and <emphasis>
+ <property>End</property>
+ </emphasis> on the tools palette and click on the canvas to add these nodes to
+ the process definition. The result should look similar to this:</para>
+ <figure>
+ <title>A Simple Process With Three Nodes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_7.png"
+ scale="60"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </section>
+ <section id="adding_transitions">
+ <?dbhtml filename="adding_transitions.html"?>
+ <title>Adding Transitions</title>
+ <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>
+ </emphasis> node, then move to the <emphasis>
+ <property>State</property>
+ </emphasis> node and click again to see the transition being drawn. Perform the
+ same steps to create a transition from the <emphasis>
+ <property>State</property>
+ </emphasis> node to the <emphasis>
+ <property>End</property>
+ </emphasis> node. The result will look like:</para>
+ <figure>
+ <title>A Simple Process With Transitions</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/guided_tour_jboss_jbpmgpd/guided_tour_8.png"
+ scale="60"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Now, when you've got background knowledge of simple project creation,
+ let's move to more advanced tools.</para>
+ </section>
+ </section>
+ </section>
+
+</chapter>
15 years, 3 months
JBoss Tools SVN: r14273 - trunk/as/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-03-19 19:04:13 -0400 (Thu, 19 Mar 2009)
New Revision: 14273
Modified:
trunk/as/docs/reference/en/modules/perspective.xml
trunk/as/docs/reference/en/modules/runtimes_servers.xml
trunk/as/docs/reference/en/modules/webtools.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-359 - spelling and validation is checked
Modified: trunk/as/docs/reference/en/modules/perspective.xml
===================================================================
--- trunk/as/docs/reference/en/modules/perspective.xml 2009-03-19 23:03:47 UTC (rev 14272)
+++ trunk/as/docs/reference/en/modules/perspective.xml 2009-03-19 23:04:13 UTC (rev 14273)
@@ -249,7 +249,7 @@
<para>Publish</para>
</entry>
<entry>
- <para>The action for synching the publish information between the
+ <para>The action for synchronizing the publish information between the
server and workspace</para>
</entry>
</row>
@@ -405,7 +405,7 @@
</emphasis> category allows you to quickly browse to descriptor files in your
server's deploy directory and check or change the values. Basically, <emphasis>
<property>XML Configuration</property>
- </emphasis> includes XML XPaths where a xpath is a path used to access some
+ </emphasis> includes XML XPaths where an xpath is a path used to access some
specific part of an xml document. </para>
<note>
@@ -704,7 +704,7 @@
<tip>
<title>Tip:</title>
<para>On the figure you can see that a username/password is available in the UI when
- configuring the server. If you get an SecurityException when trying to launch
+ configuring the server. If you get a SecurityException when trying to launch
the server, it is most likely because your server is protected and hence you
need to fill the username/password fields with appropriate values.</para>
</tip>
@@ -997,11 +997,11 @@
pattern. As you type in either of these fields, the preview viewer should update
itself with which files are matched.</para>
- <para>You can create a Fileset with flattenning or without it. Look at the
+ <para>You can create a Fileset with flattening or without it. Look at the
difference on the figure below.</para>
<figure>
- <title>The FileSet with flattenning and without it</title>
+ <title>The FileSet with flattening and without it</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/perspective/perspective_24a.png"/>
Modified: trunk/as/docs/reference/en/modules/runtimes_servers.xml
===================================================================
--- trunk/as/docs/reference/en/modules/runtimes_servers.xml 2009-03-19 23:03:47 UTC (rev 14272)
+++ trunk/as/docs/reference/en/modules/runtimes_servers.xml 2009-03-19 23:04:13 UTC (rev 14273)
@@ -150,7 +150,7 @@
<row>
<entry>
- <para>jRE</para>
+ <para>JRE</para>
</entry>
<entry>
<para>The proper Java Runtime Environment. Because of the open-source nature of
Modified: trunk/as/docs/reference/en/modules/webtools.xml
===================================================================
--- trunk/as/docs/reference/en/modules/webtools.xml 2009-03-19 23:03:47 UTC (rev 14272)
+++ trunk/as/docs/reference/en/modules/webtools.xml 2009-03-19 23:04:13 UTC (rev 14273)
@@ -57,7 +57,7 @@
<para> The first page of most WTP projects allows you to target a specific runtime,
representing a server's library location. It will also provide you the ability to add
- this project to an EAR project, and select a pre-selected default set of facets, called
+ this project to an EAR project, and select a preselected default set of facets, called
a configuration, rather than manually select each facet you might want.</para>
<para> Selecting the runtime, again, allows the project to install the proper classpaths to
the project so it knows what code to compile against.</para>
15 years, 3 months
JBoss Tools SVN: r14272 - trunk/birt/docs/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-03-19 19:03:47 -0400 (Thu, 19 Mar 2009)
New Revision: 14272
Modified:
trunk/birt/docs/en/modules/birt_designer.xml
trunk/birt/docs/en/modules/birt_integration.xml
trunk/birt/docs/en/modules/birt_support.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-359 - spelling and validation is checked
Modified: trunk/birt/docs/en/modules/birt_designer.xml
===================================================================
--- trunk/birt/docs/en/modules/birt_designer.xml 2009-03-19 19:05:23 UTC (rev 14271)
+++ trunk/birt/docs/en/modules/birt_designer.xml 2009-03-19 23:03:47 UTC (rev 14272)
@@ -142,7 +142,7 @@
etc.</para>
</listitem>
<listitem>
- <para><emphasis role="bold">Cheat Sheets</emphasis> - Cheat sheets are small pices
+ <para><emphasis role="bold">Cheat Sheets</emphasis> - Cheat sheets are small peaces
of useful documentation that lead you through a report creation process. Just
select what you need and then follow the instructions.</para>
</listitem>
Modified: trunk/birt/docs/en/modules/birt_integration.xml
===================================================================
--- trunk/birt/docs/en/modules/birt_integration.xml 2009-03-19 19:05:23 UTC (rev 14271)
+++ trunk/birt/docs/en/modules/birt_integration.xml 2009-03-19 23:03:47 UTC (rev 14272)
@@ -288,7 +288,7 @@
]]></programlisting>
<figure>
- <title>Embeding BIRT Report in Seam xhtml Page. First Page</title>
+ <title>Embedding BIRT Report in Seam xhtml Page. First Page</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/BirtIntegration/BirtReportInSeamPage1.png"/>
@@ -297,7 +297,7 @@
</figure>
<figure>
- <title>Embeding BIRT Report in Seam xhtml Page. Second Page</title>
+ <title>Embedding BIRT Report in Seam xhtml Page. Second Page</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/BirtIntegration/BirtReportInSeamPage2.png"/>
@@ -306,7 +306,7 @@
</figure>
<figure>
- <title>Embeding BIRT Report in Seam xhtml Page. Third Page</title>
+ <title>Embedding BIRT Report in Seam xhtml Page. Third Page</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/BirtIntegration/BirtReportInSeamPage3.png"/>
Modified: trunk/birt/docs/en/modules/birt_support.xml
===================================================================
--- trunk/birt/docs/en/modules/birt_support.xml 2009-03-19 19:05:23 UTC (rev 14271)
+++ trunk/birt/docs/en/modules/birt_support.xml 2009-03-19 23:03:47 UTC (rev 14272)
@@ -1,64 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="esb_support">
- <?dbhtml filename="esb_support.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>JBoss Developer Studio</keyword>
- <keyword>Eclipse</keyword>
- <keyword>BIRT</keyword>
- <keyword>Java</keyword>
- <keyword>JBoss</keyword>
- </keywordset>
- </chapterinfo>
+<?dbhtml filename="esb_support.html"?>
+<chapterinfo>
+<keywordset>
+<keyword>JBoss Developer Studio</keyword>
+<keyword>Eclipse</keyword>
+<keyword>BIRT</keyword>
+<keyword>Java</keyword>
+<keyword>JBoss</keyword>
+</keywordset>
+</chapterinfo>
<title>BIRT Support</title>
-
+
<para>In this section we will focus more on all concepts that JBoss Tools integrates for
- working with BIRT.</para>
-
- <section>
- <title>BIRT Plugin Installation</title>
+ working with BIRT.</para>
+
+ <section>
+ <title>BIRT Plugin Installation</title>
+
+ <para>This chapter will provide you with detailed information on how to install BIRT plugin into JBoss Developer Studio.</para>
+
+ <para>Since BIRT plugin is one of the modules of JBoss Tools project it has a dependence on other modules and will require their pre-installation. </para>
+
+ <para>These are the prerequisites to create a web project including Seam and BIRT capabilities:</para>
+ <itemizedlist>
+ <listitem><para>Eclipse Version 3.4 SDK</para></listitem>
+ <listitem><para>DTP Version 1.6 Release</para></listitem>
+ <listitem><para>EMF Version 2.4 Release EMF+XSD</para></listitem>
+ <listitem><para>GEF Version 3.4 Release runtime</para></listitem>
+ <listitem><para>WTP Version 3.0 Release</para></listitem>
+ <listitem><para><ulink url="http://repository.jboss.org/eclipse/birt/2.3.0/birt-report-framework-2_3_...">BIRT Report Designer SDK 2.3.0 Release</ulink> or BIRT Report Designer 2.3.0 Release</para></listitem>
+ <listitem><para>JBoss Application Server 4.2.2 GA</para></listitem>
+ <listitem><para>JBoss Seam 2.0.1 GA</para></listitem>
+ <listitem><para><ulink url="http://repository.jboss.org/eclipse/birt/2.3.0/birt-wtp-integration-sdk-2...">BIRT Web Tools Integration</ulink></para></listitem>
+ <listitem><para>JBoss Tools nightly build</para></listitem>
- <para>This chapter will provide you with detailed information on how to install BIRT plugin into JBoss Developer Studio.</para>
-
- <para>Since BIRT plugin is one of the modules of JBoss Tools project it has a dependence on other modules and will require their pre-installation. </para>
-
- <para>These are the prerequisites to create a web project including Seam and BIRT capabilities:</para>
- <itemizedlist>
- <listitem><para>Eclipse Version 3.4 SDK</para></listitem>
- <listitem><para>DTP Version 1.6 Release</para></listitem>
- <listitem><para>EMF Version 2.4 Release EMF+XSD</para></listitem>
- <listitem><para>GEF Version 3.4 Release runtime</para></listitem>
- <listitem><para>WTP Version 3.0 Release</para></listitem>
- <listitem><para><ulink url="http://repository.jboss.org/eclipse/birt/2.3.0/birt-report-framework-2_3_...">BIRT Report Designer SDK 2.3.0 Release</ulink> or BIRT Report Designer 2.3.0 Release</para></listitem>
- <listitem><para>JBoss Application Server 4.2.2 GA</para></listitem>
- <listitem><para>JBoss Seam 2.0.1 GA</para></listitem>
- <listitem><para><ulink url="http://repository.jboss.org/eclipse/birt/2.3.0/birt-wtp-integration-sdk-2...">BIRT Web Tools Integration</ulink></para></listitem>
- <listitem><para>JBoss Tools nightly build</para></listitem>
-
- </itemizedlist>
-
-
-
- </section>
-
-<section>
+ </itemizedlist>
+
+
+
+ </section>
- <title>JBoss BIRT Integration</title>
- <para>To understand Hibernate configuration, integration with Seam, and deployment see <ulink url="http://docs.jboss.org/tools/whatsnew/birt/birt-news-1.0.0.Alpha1.html">JBoss BIRT Integration 1.0.0.alpha1 - New and Noteworthy</ulink>.</para>
+ <section>
+
+ <title>JBoss BIRT Integration</title>
+ <para>To understand Hibernate configuration, integration with Seam, and deployment see <ulink url="http://docs.jboss.org/tools/whatsnew/birt/birt-news-1.0.0.Alpha1.html">JBoss BIRT Integration 1.0.0.alpha1 - New and Noteworthy</ulink>.</para>
+
+ </section>
-</section>
-
- <section>
- <title>Creating a BIRT Report</title>
- <para>In this chapter we suggest a step-by-step walk-through of creating your own BIRT report.</para>
+ <section>
+ <title>Creating a BIRT Report</title>
+ <para>In this chapter we suggest a step-by-step walk-through of creating your own BIRT report.</para>
+
+ <section><title>Create a Report Project</title>
+
+ <para>First create a Report project. Select <emphasis><property>File > New > Project...</property>
+ </emphasis> in the main menu bar or context menu. The new project dialog appears. Choose <emphasis><property>Business Intelligence and Reporting Tools > Report Project</property></emphasis>:
- <section><title>Create a Report Project</title>
-
- <para>First create a Report project. Select <emphasis><property>File > New > Project...</property>
- </emphasis> in the main menu bar or context menu. The new project dialog appears. Choose <emphasis><property>Business Intelligence and Reporting Tools > Report Project</property></emphasis>:
-
- <figure>
+ <figure>
<title>New Report Project Creation</title>
<mediaobject>
<imageobject>
@@ -66,9 +66,9 @@
</imageobject>
</mediaobject>
</figure>
-
- Click on the <emphasis><property>Next</property></emphasis> button. Specify a name for the project and change location if necessary:</para>
+ Click on the <emphasis><property>Next</property></emphasis> button. Specify a name for the project and change location if necessary:</para>
+
<figure>
<title>Specify a Name for the Report Project</title>
<mediaobject>
@@ -77,10 +77,10 @@
</imageobject>
</mediaobject>
</figure>
-
+
<para>Click on the <emphasis><property>Finish</property></emphasis> button. Click <emphasis><property>Ok</property></emphasis> to switch to the Report Design perspective. Your Report Project is now created:</para>
-
-
+
+
<figure>
<title>New Report Project Created</title>
<mediaobject>
@@ -89,11 +89,11 @@
</imageobject>
</mediaobject>
</figure>
- </section>
-
- <section> <title>Create a Report</title>
+ </section>
+
+ <section> <title>Create a Report</title>
<para>Now you can create a Report. Go to <emphasis><property>File > New > Report...</property></emphasis>:</para>
-
+
<figure>
<title>Create a New Report</title>
<mediaobject>
@@ -102,7 +102,7 @@
</imageobject>
</mediaobject>
</figure>
-
+
<para>The new report dialog appears. Select the created project as a parent folder in the tree view:</para>
<figure>
@@ -113,153 +113,153 @@
</imageobject>
</mediaobject>
</figure>
-
- <para>Click on the <emphasis><property>Next</property></emphasis> button. Then select the type of the template to use for your report. Each template is shown in the Preview window and is described below. Tick off the "Show Report Creation Cheat Sheet" checkbox if you don't need the Cheat Sheets view to be displayed. The Cheat Sheets view can walk you though the process of creating a report based on the template you selected.
-
- <figure>
- <title>Choose a Report Template</title>
+
+ <para>Click on the <emphasis><property>Next</property></emphasis> button. Then select the type of the template to use for your report. Each template is shown in the Preview window and is described below. Tick off the "Show Report Creation Cheat Sheet" checkbox if you don't need the Cheat Sheets view to be displayed. The Cheat Sheets view can walk you though the process of creating a report based on the template you selected.
+
+ <figure>
+ <title>Choose a Report Template</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/BirtSupport/06ReportTemplate.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+
+ Click on the <emphasis><property>Finish</property></emphasis> button to open the newly created report in the workspace:</para>
+
+ <figure>
+ <title>Report Opened in the Workspace</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/BirtSupport/06ReportTemplate.png"/>
+ <imagedata fileref="images/BirtSupport/07SimpleListingReport.png"/>
</imageobject>
</mediaobject>
</figure>
-
-
- Click on the <emphasis><property>Finish</property></emphasis> button to open the newly created report in the workspace:</para>
-
- <figure>
- <title>Report Opened in the Workspace</title>
+
+ </section>
+
+ <section>
+ <title>Build a Data Source</title>
+
+ <para>Data source is used to connect to the database. In order to create a data source for your report follow these steps:</para>
+ <para>Open the Data Explorer View. Select Data Sources, right-click on it and choose New Data Source:</para>
+
+
+ <figure>
+ <title>Create a Data Source</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/BirtSupport/07SimpleListingReport.png"/>
+ <imagedata fileref="images/BirtSupport/08DataSource.png"/>
</imageobject>
</mediaobject>
</figure>
-
- </section>
- <section>
- <title>Build a Data Source</title>
-
- <para>Data source is used to connect to the database. In order to create a data source for your report follow these steps:</para>
- <para>Open the Data Explorer View. Select Data Sources, right-click on it and choose New Data Source:</para>
-
-
- <figure>
- <title>Create a Data Source</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/BirtSupport/08DataSource.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>The New Data Source dialog appears. Choose the "Create from a data source type in the following list" radio button and then "Classic Models Inc. Sample Database". Click on the <emphasis><property>Next</property></emphasis> button:</para>
-
-
- <figure>
- <title>New Data Source</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/BirtSupport/09NewDataSource.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>The newly created data source details wll be displayed: Driver Class, Database URL and Database User:</para>
-
- <figure>
- <title>New Data Source Details</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/BirtSupport/10NewSampleDateSource.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Click on the <emphasis><property>Finish</property></emphasis> button to add the data source to the data source for your report.</para>
-
+ <para>The New Data Source dialog appears. Choose the "Create from a data source type in the following list" radio button and then "Classic Models Inc. Sample Database". Click on the <emphasis><property>Next</property></emphasis> button:</para>
+
+
+ <figure>
+ <title>New Data Source</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/BirtSupport/09NewDataSource.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>The newly created data source details will be displayed: Driver Class, Database URL and Database User:</para>
+
+ <figure>
+ <title>New Data Source Details</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/BirtSupport/10NewSampleDateSource.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Click on the <emphasis><property>Finish</property></emphasis> button to add the data source to the data source for your report.</para>
+
<para>If you need to edit the data source, right-click on it and select the corresponding option.</para>
- </section>
+ </section>
+
+
+ <section><title>Build a Data Set</title>
+ <para>Data Set is a query to get and represent necessary column data from the data source specified. Select Data Sets in the tree view, right-click on it and select New Data Set:</para>
- <section><title>Build a Data Set</title>
+ <figure>
+ <title>Create a Data Set</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/BirtSupport/11DataSet.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
- <para>Data Set is a query to get and represent necessary column data from the data source specified. Select Data Sets in the tree view, right-click on it and select New Data Set:</para>
-
- <figure>
- <title>Create a Data Set</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/BirtSupport/11DataSet.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
-
- <para>The New Data Set dialog will appear. Enter a name for the Data Set Name field and ensure that the Data Source field shows the data source already created and that the Data Set Type field is set to "SQL Select Query".
- Then click on the <emphasis><property>Next</property></emphasis> button:</para>
+ <para>The New Data Set dialog will appear. Enter a name for the Data Set Name field and ensure that the Data Source field shows the data source already created and that the Data Set Type field is set to "SQL Select Query".
+ Then click on the <emphasis><property>Next</property></emphasis> button:</para>
- <figure>
- <title>New Data Set Details</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/BirtSupport/12NewDataSet.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
+
+ <figure>
+ <title>New Data Set Details</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/BirtSupport/12NewDataSet.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
<para>Enter the following details into the query:</para>
- <programlisting><![CDATA[
+ <programlisting><![CDATA[
SELECT *
FROM CUSTOMERS
WHERE COUNTRY = 'USA']]></programlisting>
- <figure>
- <title>Query Details</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/BirtSupport/13SQLQuery.png"/>
- </imageobject>
- </mediaobject>
- </figure>
+ <figure>
+ <title>Query Details</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/BirtSupport/13SQLQuery.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
- <para>Click on the <emphasis><property>Finish</property></emphasis> button. The Edit Data Set window opens where you can change Data Source, Settings, Parameters and other details for the Data Set created. If switched to the Query page you can check the schemas within this database, you can expand them to see the list of tables with their columns:</para>
+ <para>Click on the <emphasis><property>Finish</property></emphasis> button. The Edit Data Set window opens where you can change Data Source, Settings, Parameters and other details for the Data Set created. If switched to the Query page you can check the schemes within this database, you can expand them to see the list of tables with their columns:</para>
- <figure>
- <title>Edit the Data Set</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/BirtSupport/14EditDataSet.png"/>
- </imageobject>
- </mediaobject>
- </figure>
+ <figure>
+ <title>Edit the Data Set</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/BirtSupport/14EditDataSet.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
- <para>Switch to the Preview page to test your query and verify whether the list of customers appears:</para>
+ <para>Switch to the Preview page to test your query and verify whether the list of customers appears:</para>
- <figure>
- <title>Test the Query</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/BirtSupport/15TestQuery.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
+ <figure>
+ <title>Test the Query</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/BirtSupport/15TestQuery.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
<para>Click on the <emphasis><property>Ok</property></emphasis> button.</para>
- </section>
+ </section>
+
+ <section><title>Create Report Layout</title>
- <section><title>Create Report Layout</title>
-
- <para>After the Data source and Data set are specified you can continue with the report layout. Please see the <xref linkend="Birt_Designer"/> chapter to learn more about BIRT Report Designer.</para>
-
- </section>
+ <para>After the Data source and Data set are specified you can continue with the report layout. Please see the <xref linkend="Birt_Designer"/> chapter to learn more about BIRT Report Designer.</para>
-
</section>
-
+
+
+ </section>
+
</chapter>
15 years, 3 months