JBoss Tools SVN: r27942 - in trunk/vpe: tests/org.jboss.tools.vpe.spring.test and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2011-01-06 05:10:10 -0500 (Thu, 06 Jan 2011)
New Revision: 27942
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.spring/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF
Log:
https://issues.jboss.org/browse/JBIDE-8059
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.spring
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
target
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.spring.test
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
target
Modified: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF 2011-01-06 09:43:27 UTC (rev 27941)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF 2011-01-06 10:10:10 UTC (rev 27942)
@@ -13,7 +13,6 @@
org.jboss.tools.vpe.spring;bundle-version="3.1.0",
org.jboss.tools.vpe.jsp;bundle-version="3.1.0",
org.jboss.tools.vpe.html;bundle-version="3.1.0",
- org.jboss.tools.jsf.vpe.jstl;bundle-version="3.1.0",
org.jboss.tools.vpe.base.test;bundle-version="1.0.0"
Bundle-ActivationPolicy: lazy
Export-Package: org.jboss.tools.vpe.spring.test
13 years, 8 months
JBoss Tools SVN: r27941 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-01-06 04:43:27 -0500 (Thu, 06 Jan 2011)
New Revision: 27941
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/CloudElementCategoryItem.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/CloudItem.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/DeltaCloudViewItem.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/ImageItem.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/ImagesCategoryItem.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/InstanceItem.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/InstancesCategoryItem.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/LoadingItem.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/NumericFoldingItem.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/RootItem.java
Log:
[JBIDE-8052] reimplemented cloud view items
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/CloudElementCategoryItem.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/CloudElementCategoryItem.java 2011-01-06 09:23:46 UTC (rev 27940)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/CloudElementCategoryItem.java 2011-01-06 09:43:27 UTC (rev 27941)
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.jboss.tools.deltacloud.ui.views.cloud;
+import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import org.eclipse.jface.viewers.TreeViewer;
@@ -21,8 +22,8 @@
* @author Jeff Johnston
* @author Andre Dietisheim
*/
-public abstract class CloudElementCategoryItem<CLOUDELEMENT> extends DeltaCloudViewItem<DeltaCloud> implements
- PropertyChangeListener {
+public abstract class CloudElementCategoryItem<CLOUDELEMENT> extends DeltaCloudViewItem<DeltaCloud>
+ implements PropertyChangeListener {
protected CloudElementCategoryItem(DeltaCloud model, DeltaCloudViewItem<?> parent, TreeViewer viewer) {
super(model, parent, viewer);
@@ -30,23 +31,21 @@
}
@Override
- public boolean hasChildren() {
- return true;
- }
-
- @Override
public Object[] getChildren() {
- if (!initialized.get()) {
- asyncAddCloudElements();
+ if (!areChildrenInitialized()) {
+ asyncLoadCloudElements();
+ setChildrenInitialized(true);
}
return super.getChildren();
}
protected void setLoadingIndicator() {
- children.add(new LoadingItem(this, viewer));
+ clearChildren();
+ addChild(new LoadingItem(this, getViewer()));
+// refresh();
}
- protected abstract void asyncAddCloudElements();
+ protected abstract void asyncLoadCloudElements();
protected void addChildren(CLOUDELEMENT[] modelElements) {
if (modelElements.length > NumericFoldingItem.FOLDING_SIZE) {
@@ -61,7 +60,7 @@
int max = NumericFoldingItem.FOLDING_SIZE;
int length = modelElements.length;
while (length > NumericFoldingItem.FOLDING_SIZE) {
- NumericFoldingItem f = new NumericFoldingItem(min, max, this, viewer);
+ NumericFoldingItem f = new NumericFoldingItem(min, max, this, getViewer());
addChild(f);
f.addChildren(getElements(modelElements, min, max));
min += NumericFoldingItem.FOLDING_SIZE;
@@ -69,22 +68,17 @@
length -= NumericFoldingItem.FOLDING_SIZE;
}
if (length > 0) {
- NumericFoldingItem f = new NumericFoldingItem(min, max, this, viewer);
+ NumericFoldingItem f = new NumericFoldingItem(min, max, this, getViewer());
addChild(f);
f.addChildren(getElements(modelElements, min, min + length));
}
}
protected void onCloudElementsChanged(DeltaCloud cloud, CLOUDELEMENT[] cloudElements) throws DeltaCloudException {
- try {
- clearChildren();
- initialized.set(false);
- final CLOUDELEMENT[] filteredElements = filter(cloudElements);
- addChildren(filteredElements);
- expand();
- } finally {
- initialized.set(true);
- }
+ clearChildren();
+ addChildren(filter(cloudElements));
+ refresh();
+ expand();
}
protected abstract CLOUDELEMENT[] filter(CLOUDELEMENT[] cloudElements) throws DeltaCloudException;
@@ -98,4 +92,18 @@
}
protected abstract void addPropertyChangeListener(DeltaCloud cloud);
+
+ protected void removePropertyChangeListener(DeltaCloud cloud) {
+ if (cloud != null) {
+ cloud.removePropertyChangeListener(this);
+ }
+ }
+
+ @Override
+ public abstract void propertyChange(PropertyChangeEvent evt);
+
+ @Override
+ protected void dispose() {
+ removePropertyChangeListener(getModel());
+ }
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/CloudItem.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/CloudItem.java 2011-01-06 09:23:46 UTC (rev 27940)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/CloudItem.java 2011-01-06 09:43:27 UTC (rev 27941)
@@ -11,6 +11,7 @@
package org.jboss.tools.deltacloud.ui.views.cloud;
import java.beans.PropertyChangeEvent;
+import java.beans.PropertyChangeListener;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.ui.views.properties.IPropertySource;
@@ -21,13 +22,14 @@
* @author Jeff Johnston
* @author Andre Dietisheim
*/
-public class CloudItem extends DeltaCloudViewItem<DeltaCloud> {
+public class CloudItem extends DeltaCloudViewItem<DeltaCloud> implements PropertyChangeListener {
private TreeViewer viewer;
protected CloudItem(DeltaCloud model, DeltaCloudViewItem<?> parent, TreeViewer viewer) {
super(model, parent, viewer);
this.viewer = viewer;
+ model.addPropertyChangeListener(DeltaCloud.PROP_NAME, this);
}
public String getName() {
@@ -40,13 +42,13 @@
}
@Override
- public synchronized Object[] getChildren() {
- if (!initialized.get()) {
- DeltaCloud cloud = (DeltaCloud) getModel();
- children.add(new InstancesCategoryItem(cloud, this, viewer));
- children.add(new ImagesCategoryItem(cloud, this, viewer));
+ public Object[] getChildren() {
+ if (!areChildrenInitialized()) {
+ DeltaCloud cloud = getModel();
+ addChild(new InstancesCategoryItem(cloud, this, viewer));
+ addChild(new ImagesCategoryItem(cloud, this, viewer));
+ setChildrenInitialized(true);
}
- initialized.set(true);
return super.getChildren();
}
@@ -57,11 +59,6 @@
@Override
public void propertyChange(PropertyChangeEvent event) {
- viewer.update(this, new String[]{DeltaCloud.PROP_NAME});
+ viewer.update(this, new String[] { DeltaCloud.PROP_NAME });
}
-
- @Override
- protected void addPropertyChangeListener(DeltaCloud cloud) {
- cloud.addPropertyChangeListener(DeltaCloud.PROP_NAME, this);
- }
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/DeltaCloudViewItem.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/DeltaCloudViewItem.java 2011-01-06 09:23:46 UTC (rev 27940)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/DeltaCloudViewItem.java 2011-01-06 09:43:27 UTC (rev 27941)
@@ -10,13 +10,11 @@
*******************************************************************************/
package org.jboss.tools.deltacloud.ui.views.cloud;
-import java.beans.PropertyChangeEvent;
-import java.beans.PropertyChangeListener;
-import java.lang.reflect.Method;
import java.util.ArrayList;
-import java.util.Collections;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
+import java.util.concurrent.locks.Lock;
+import java.util.concurrent.locks.ReentrantLock;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.jface.viewers.TreeViewer;
@@ -26,47 +24,58 @@
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.views.properties.IPropertySource;
+import org.jboss.tools.deltacloud.core.DeltaCloud;
/**
* @author Jeff Johnston
* @author Andre Dietisheim
*/
-public abstract class DeltaCloudViewItem<DELTACLOUDITEM> implements IAdaptable, PropertyChangeListener {
+public abstract class DeltaCloudViewItem<DELTACLOUDITEM> implements IAdaptable {
private DELTACLOUDITEM model;
private DeltaCloudViewItem<?> parent;
- protected List<DeltaCloudViewItem<?>> children =
- Collections.synchronizedList(new ArrayList<DeltaCloudViewItem<?>>());
- protected TreeViewer viewer;
- protected AtomicBoolean initialized = new AtomicBoolean();
+ private List<DeltaCloudViewItem<?>> children = new ArrayList<DeltaCloudViewItem<?>>();
+ private TreeViewer viewer;
+ private AtomicBoolean initialized = new AtomicBoolean();
+ private Lock childrenLock = new ReentrantLock();
protected DeltaCloudViewItem(DELTACLOUDITEM model, DeltaCloudViewItem<?> parent, TreeViewer viewer) {
this.model = model;
this.parent = parent;
this.viewer = viewer;
initDisposeListener(viewer);
- addPropertyChangeListener(model);
}
public abstract String getName();
public Object[] getChildren() {
- return children.toArray();
+ try {
+ childrenLock.lock();
+ return children.toArray();
+ } finally {
+ childrenLock.unlock();
+ }
}
protected void clearChildren() {
- getDisplay().syncExec(new Runnable() {
-
- @Override
- public void run() {
- viewer.remove(children.toArray());
- children.clear();
- }
- });
+ try {
+ childrenLock.lock();
+ children.clear();
+ } finally {
+ childrenLock.unlock();
+ }
}
public boolean hasChildren() {
- return children.size() > 0;
+ try {
+ childrenLock.lock();
+ if (areChildrenInitialized()) {
+ return children.size() > 0;
+ }
+ return true;
+ } finally {
+ childrenLock.unlock();
+ }
}
public Object getParent() {
@@ -74,45 +83,65 @@
}
public void addChild(final DeltaCloudViewItem<?> element) {
- getDisplay().syncExec(new Runnable() {
- @Override
- public void run() {
- viewer.add(DeltaCloudViewItem.this, element);
+ try {
+ childrenLock.lock();
+ children.add(element);
+ } finally {
+ childrenLock.unlock();
+ }
+ }
+
+ public void addChildren(final DeltaCloudViewItem<?>[] elements) {
+ try {
+ childrenLock.lock();
+ for (DeltaCloudViewItem<?> element : elements) {
children.add(element);
}
- });
+ } finally {
+ childrenLock.unlock();
+ }
}
- public void addChildren(final DeltaCloudViewItem<?>[] elements) {
- getDisplay().syncExec(new Runnable() {
- @Override
- public void run() {
- viewer.add(DeltaCloudViewItem.this, elements);
- for (DeltaCloudViewItem<?> element : elements) {
- children.add(element);
+ public void removeChild(final DeltaCloudViewItem<?> element) {
+ try {
+ childrenLock.lock();
+ children.remove(element);
+ } finally {
+ childrenLock.unlock();
+ }
+ }
+
+ protected DeltaCloudViewItem<?> getCloudViewElement(DeltaCloud cloudToMatch) {
+ try {
+ childrenLock.lock();
+ for (DeltaCloudViewItem<?> cloudElement : children) {
+ DeltaCloud cloud = (DeltaCloud) cloudElement.getModel();
+ if (cloudToMatch.equals(cloud)) {
+ return cloudElement;
}
}
- });
+ return null;
+ } finally {
+ childrenLock.unlock();
+ }
}
- public void removeChild(final DeltaCloudViewItem<?> element) {
+ protected void expand() {
getDisplay().syncExec(new Runnable() {
+
@Override
public void run() {
- if (element != null) {
- int index = children.indexOf(element);
- viewer.remove(DeltaCloudViewItem.this, index);
- }
+ viewer.setExpandedState(DeltaCloudViewItem.this, true);
}
});
}
- protected void expand() {
+ protected void refresh() {
getDisplay().syncExec(new Runnable() {
@Override
public void run() {
- viewer.setExpandedState(DeltaCloudViewItem.this, true);
+ viewer.refresh();
}
});
}
@@ -121,6 +150,14 @@
return model;
}
+ protected void setChildrenInitialized(boolean initialized) {
+ this.initialized.set(initialized);
+ }
+
+ protected boolean areChildrenInitialized() {
+ return initialized.get();
+ }
+
@SuppressWarnings("rawtypes")
@Override
public Object getAdapter(Class adapter) {
@@ -154,27 +191,10 @@
return viewer.getControl().getDisplay();
}
- protected void dispose() {
- removePropertyChangeListener(getModel());
+ protected TreeViewer getViewer() {
+ return viewer;
}
- public void propertyChange(PropertyChangeEvent event) {
- // do nothing
+ protected void dispose() {
}
-
- protected void removePropertyChangeListener(DELTACLOUDITEM model) {
- if (model != null) {
- try {
- Method method = model.getClass()
- .getMethod("removePropertyChangeListener", PropertyChangeListener.class);
- if (method != null) {
- method.invoke(model, this);
- }
- } catch (Exception e) {
- // ignore
- }
- }
- }
-
- protected abstract void addPropertyChangeListener(DELTACLOUDITEM object);
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/ImageItem.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/ImageItem.java 2011-01-06 09:23:46 UTC (rev 27940)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/ImageItem.java 2011-01-06 09:43:27 UTC (rev 27941)
@@ -45,7 +45,8 @@
}
@Override
- protected void addPropertyChangeListener(DeltaCloudImage object) {
- // do nothing
+ public boolean hasChildren() {
+ return false;
}
+
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/ImagesCategoryItem.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/ImagesCategoryItem.java 2011-01-06 09:23:46 UTC (rev 27940)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/ImagesCategoryItem.java 2011-01-06 09:43:27 UTC (rev 27941)
@@ -43,7 +43,7 @@
}
@Override
- protected void asyncAddCloudElements() {
+ protected void asyncLoadCloudElements() {
setLoadingIndicator();
new AbstractCloudElementJob(
MessageFormat.format("Get images from cloud {0}", getModel().getName()), getModel(), CLOUDELEMENT.IMAGES) {
@@ -51,11 +51,7 @@
@Override
protected IStatus doRun(IProgressMonitor monitor) throws DeltaCloudException {
try {
- DeltaCloudImage[] images = getCloud().getImages();
- clearChildren();
- addChildren(images);
- initialized.set(true);
- expand();
+ getCloud().getImages();
return Status.OK_STATUS;
} catch(DeltaCloudException e) {
clearChildren();
@@ -69,14 +65,13 @@
protected DeltaCloudViewItem<?>[] getElements(DeltaCloudImage[] modelElements, int startIndex, int stopIndex) {
DeltaCloudViewItem<?>[] elements = new DeltaCloudViewItem[stopIndex - startIndex];
for (int i = startIndex; i < stopIndex; ++i) {
- elements[i - startIndex] = new ImageItem(modelElements[i], this, viewer);
+ elements[i - startIndex] = new ImageItem(modelElements[i], this, getViewer());
}
return elements;
}
@Override
public void propertyChange(PropertyChangeEvent event) {
- super.propertyChange(event);
DeltaCloud cloud = (DeltaCloud) event.getSource();
DeltaCloudImage[] newImages = (DeltaCloudImage[]) event.getNewValue();
try {
@@ -86,7 +81,7 @@
ErrorUtils.handleError(
"Error",
MessageFormat.format("Could not display new images from cloud \"{0}\"", cloud.getName()), e,
- viewer.getControl().getShell());
+ getViewer().getControl().getShell());
}
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/InstanceItem.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/InstanceItem.java 2011-01-06 09:23:46 UTC (rev 27940)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/InstanceItem.java 2011-01-06 09:43:27 UTC (rev 27941)
@@ -51,7 +51,7 @@
}
@Override
- protected void addPropertyChangeListener(DeltaCloudInstance object) {
- // do nothing
+ public boolean hasChildren() {
+ return false;
}
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/InstancesCategoryItem.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/InstancesCategoryItem.java 2011-01-06 09:23:46 UTC (rev 27940)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/InstancesCategoryItem.java 2011-01-06 09:43:27 UTC (rev 27941)
@@ -13,6 +13,7 @@
import java.beans.PropertyChangeEvent;
import java.text.MessageFormat;
+import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
@@ -43,7 +44,7 @@
}
@Override
- protected void asyncAddCloudElements() {
+ protected void asyncLoadCloudElements() {
setLoadingIndicator();
new AbstractCloudElementJob(
MessageFormat.format("Get instances from cloud {0}", getModel().getName()), getModel(),
@@ -52,11 +53,7 @@
@Override
protected IStatus doRun(IProgressMonitor monitor) throws DeltaCloudException {
try {
- DeltaCloudInstance[] instances = getCloud().getInstances();
- clearChildren();
- addChildren(instances);
- initialized.set(true);
- expand();
+ getCloud().getInstances();
return Status.OK_STATUS;
} catch (DeltaCloudException e) {
clearChildren();
@@ -71,7 +68,7 @@
protected DeltaCloudViewItem<?>[] getElements(DeltaCloudInstance[] modelElements, int startIndex, int stopIndex) {
DeltaCloudViewItem<?>[] elements = new DeltaCloudViewItem[stopIndex - startIndex];
for (int i = startIndex; i < stopIndex; ++i) {
- elements[i - startIndex] = new InstanceItem(modelElements[i], this, viewer);
+ elements[i - startIndex] = new InstanceItem(modelElements[i], this, getViewer());
}
return elements;
}
@@ -83,6 +80,7 @@
@Override
public void propertyChange(PropertyChangeEvent event) {
DeltaCloud cloud = (DeltaCloud) event.getSource();
+ Assert.isTrue(cloud == getModel());
DeltaCloudInstance[] newInstances = (DeltaCloudInstance[]) event.getNewValue();
try {
onCloudElementsChanged(cloud, newInstances);
@@ -91,7 +89,7 @@
ErrorUtils.handleError(
"Error",
MessageFormat.format("Could not display new instances from cloud \"{0}\"", cloud.getName()), e,
- viewer.getControl().getShell());
+ getViewer().getControl().getShell());
}
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/LoadingItem.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/LoadingItem.java 2011-01-06 09:23:46 UTC (rev 27940)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/LoadingItem.java 2011-01-06 09:43:27 UTC (rev 27941)
@@ -30,13 +30,13 @@
}
@Override
+ public boolean hasChildren() {
+ return false;
+ }
+
+ @Override
public String getName() {
// TODO: internationalize strings
return "Loading...";
}
-
- @Override
- protected void addPropertyChangeListener(Object object) {
- // do nothing
- }
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/NumericFoldingItem.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/NumericFoldingItem.java 2011-01-06 09:23:46 UTC (rev 27940)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/NumericFoldingItem.java 2011-01-06 09:43:27 UTC (rev 27941)
@@ -53,10 +53,4 @@
public IPropertySource getPropertySource() {
return null;
}
-
- @Override
- protected void addPropertyChangeListener(Object object) {
- // do nothing
- }
-
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/RootItem.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/RootItem.java 2011-01-06 09:23:46 UTC (rev 27940)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/RootItem.java 2011-01-06 09:43:27 UTC (rev 27941)
@@ -43,7 +43,7 @@
@Override
public Object[] getChildren() {
- if (!initialized.get()) {
+ if (!areChildrenInitialized()) {
DeltaCloudManager m = DeltaCloudManager.getDefault();
try {
addClouds(m.getClouds());
@@ -51,7 +51,7 @@
// TODO: internationalize strings
ErrorUtils.handleError("Error", "Could not get clouds", e, Display.getDefault().getActiveShell());
} finally {
- initialized.set(true);
+ setChildrenInitialized(true);
}
}
return super.getChildren();
@@ -59,25 +59,11 @@
private void addClouds(DeltaCloud[] clouds) {
for (DeltaCloud cloud : clouds) {
- addCloud(cloud);
+ CloudItem cloudItem = new CloudItem(cloud, this, getViewer());
+ addChild(cloudItem);
}
}
- private void addCloud(DeltaCloud cloud) {
- CloudItem e = new CloudItem(cloud, this, viewer);
- children.add(e);
- }
-
- private DeltaCloudViewItem<?> getCloudViewElement(DeltaCloud cloudToMatch) {
- for (DeltaCloudViewItem<?> cloudElement : children) {
- DeltaCloud cloud = (DeltaCloud) cloudElement.getModel();
- if (cloudToMatch.equals(cloud)) {
- return cloudElement;
- }
- }
- return null;
- }
-
@Override
public void dispose() {
DeltaCloudManager.getDefault().removeCloudManagerListener(this);
@@ -86,16 +72,11 @@
public void cloudsChanged(int type, DeltaCloud cloud) {
switch (type) {
case IDeltaCloudManagerListener.ADD_EVENT:
- addChild(new CloudItem(cloud, this, viewer));
+ addChild(new CloudItem(cloud, this, getViewer()));
break;
case IDeltaCloudManagerListener.REMOVE_EVENT:
removeChild(getCloudViewElement(cloud));
break;
}
}
-
- @Override
- protected void addPropertyChangeListener(DeltaCloudManager object) {
- // do nothing
- }
}
13 years, 8 months
JBoss Tools SVN: r27940 - trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2011-01-06 04:23:46 -0500 (Thu, 06 Jan 2011)
New Revision: 27940
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java
Log:
JBIDE-8046: add asserts to get if there are jre5 property in system on hudson machine
Modified: trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java 2011-01-06 06:21:51 UTC (rev 27939)
+++ trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java 2011-01-06 09:23:46 UTC (rev 27940)
@@ -9,6 +9,7 @@
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Path;
import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
import org.eclipse.wst.common.project.facet.core.IFacetedProject;
import org.eclipse.wst.common.project.facet.core.IProjectFacet;
@@ -46,6 +47,8 @@
public void setUp() throws Exception{
super.setUp();
+ assertNotNull(ASTest.JRE_5_HOME, "No JRE5 property in System");
+ assertTrue("The JRE5 location is not right", new Path(ASTest.JRE_5_HOME).toFile().exists());
createWSServer();
wsHomePath = getJBossWSHomeFolder().toString();
JBossWSRuntimeManager.getInstance().addRuntime(RuntimeName,wsHomePath, "", true);
13 years, 8 months
JBoss Tools SVN: r27939 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-01-06 01:21:51 -0500 (Thu, 06 Jan 2011)
New Revision: 27939
Modified:
trunk/jsf/docs/userguide/en-US/editors.xml
Log:
General editing
Modified: trunk/jsf/docs/userguide/en-US/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/editors.xml 2011-01-06 06:11:43 UTC (rev 27938)
+++ trunk/jsf/docs/userguide/en-US/editors.xml 2011-01-06 06:21:51 UTC (rev 27939)
@@ -1085,21 +1085,21 @@
</mediaobject>
</figure>
<para>The view is designed in the form of a split pane with toggle buttons for quickly
- moving between Source, Visual or Source/Visual modes as shown on the figure
+ moving between Source, Visual or Source/Visual modes, as shown on the figure
above.</para>
<para>One more way to toggle between the various states of the split pane is using the
shortcuts <emphasis>
<property>Shift + F6</property>
</emphasis> for maximizing/restoring the Source part and <emphasis>
<property>Shift + Alt + F6</property>
- </emphasis> for maximizing/restoring the Visual part.</para>
+ </emphasis> for maximizing or restoring the Visual part.</para>
<note>
<title>Tip:</title>
<para>When editing large documents hiding the Visual part will speed up the
editing.</para>
</note>
- <para>It should be pointed out that, no matter in what mode you are working, you get a
- full integration with <property>Properties</property> and <property>Outline
+ <para>It should be pointed out that, no matter what mode you are working in, you get a
+ full integration with the <property>Properties</property> and <property>Outline
views</property>:</para>
<figure>
<title>Integration with Properties and Outline Views</title>
@@ -1110,13 +1110,13 @@
</mediaobject>
</figure>
<para>The Outline view displays a specific outline of a structured file that is
- currently open in the editor area, and lists its structural elements. Right-click on
- the elements will open additional options that allow adding other specific elements
- in necessary positions.</para>
- <para>The Properties view shows property names and their values for a selected item. The
- values are editable, just select any and click on the button that appeared to choose
- a new value. Key combination <property>Ctrl+Z</property> will return the previous
- value, <property>Ctrl+Y</property> will return the new value again. The Properties
+ currently open in the editor area, and lists its structural elements. Right-clicking on
+ these elements will open additional options that allow other specific elements to be added
+ in their appropriate positions.</para>
+ <para>The Properties view shows the property names and their values for a selected item. The
+ values are editable; just select any value and click on the button that will appear to choose
+ a new value. The key combination <property>Ctrl+Z</property> will return the previous
+ value, while <property>Ctrl+Y</property> will return the new value again. The Properties
view has additional options and can be set up to display categories and advanced
properties. </para>
<para>It's also possible to use the <link linkend="palette">JBoss Tools
@@ -1130,8 +1130,8 @@
</imageobject>
</mediaobject>
</figure>
- <para> You can insert a tag/component from the palette into either the Source or the
- Visual part by calling a context menu and selecting <property>Insert
+ <para> You can insert a tag or component from the palette into either the Source or the
+ Visual part by displaying the context menu and selecting <property>Insert
around</property>, <property>Insert before</property>, <property>Insert
after</property> or <property>Replace With</property>, pointing to <property
>From Palette</property>, picking the type of the tag and finally choosing the
@@ -1154,8 +1154,8 @@
</imageobject>
</mediaobject>
</figure>
- <para>Visual Page Editor also displays custom tags correctly if they are configured
- properly. The picture below shows an example how custom tags <emphasis><property
+ <para>The Visual Page Editor also displays custom tags correctly if they are configured
+ properly. The picture below shows an example how the custom tags <emphasis><property
>"pagination"</property></emphasis> and <emphasis><property
>"echo"</property></emphasis> will be displayed in VPE. </para>
<figure>
@@ -1166,7 +1166,7 @@
</imageobject>
</mediaobject>
</figure>
- <para> The listings of the custom tags implementations will help to clear how VPE works. </para>
+ <para> The listings of the custom tag implementations will help to demonstrate how VPE works. </para>
<itemizedlist>
<listitem>
<para>echo.xhtml: </para>
@@ -1221,7 +1221,7 @@
</figure>
<section id="comments">
<title>Commenting out Code</title>
- <para><property>VPE</property> supports possibility to add comments in files you are
+ <para><property>VPE</property> supports the ability to add comments in files you are
working with (JSP, XHTML, etc.):</para>
<itemizedlist>
<listitem>
13 years, 8 months
JBoss Tools SVN: r27938 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-01-06 01:11:43 -0500 (Thu, 06 Jan 2011)
New Revision: 27938
Modified:
trunk/jsf/docs/userguide/en-US/editors.xml
trunk/jsf/docs/userguide/en-US/richfaces_support.xml
Log:
General editing
Modified: trunk/jsf/docs/userguide/en-US/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/editors.xml 2011-01-06 05:09:00 UTC (rev 27937)
+++ trunk/jsf/docs/userguide/en-US/editors.xml 2011-01-06 06:11:43 UTC (rev 27938)
@@ -9,17 +9,15 @@
</keywordset>
</chapterinfo>
<title>Editors</title>
- <para>In the JSF Tools Reference Guide and Struts Tools Reference Guide you had possibility to
- read about Graphical Editor for JSF and Struts configuration files, Graphical Editor for
- Tiles Files, Graphical Editor for Struts Validation Files. All these editors have <link
- linkend="OpenOnSelection4Hyperlinknavigation">
- <property>OpenOn</property>
- </link> and <link linkend="CodeAssistAndDynamicCodeAssist42BasedOnProjectData">
- <property>Content Assist</property>
- </link> features, which are described in more details in this document. In addition you get
- to know a <link linkend="visual_page">Visual Page Editor</link> for combined visual and
- source editing of Web pages and many <link linkend="more_editors">other editors</link> for
- different types of files.</para>
+ <para>
+ In the JSF Tools Reference Guide and Struts Tools Reference Guide you may have read about the Graphical Editors for JSF and Struts configuration files, Tiles Files, and Struts Validation Files. All these editors have
+ <link linkend="OpenOnSelection4Hyperlinknavigation"><property>OpenOn</property></link> and
+ <link linkend="CodeAssistAndDynamicCodeAssist42BasedOnProjectData"><property>Content Assist</property></link>
+ features, which are described in more details in this document. In addition this document will cover the
+ <link linkend="visual_page">Visual Page Editor</link>, which provides combined visual and
+ source editing of Web pages, as well as many <link linkend="more_editors">other editors</link> for
+ different types of files.
+ </para>
<section id="editors_features">
<title>Editors Features</title>
<para><property>JBoss Developer Studio</property> has powerful editor features that help you
@@ -78,10 +76,7 @@
</itemizedlist>
<section id="XMLFiles232">
<title>XML Files</title>
- <para>Press and hold down the <emphasis><property>Ctrl</property></emphasis> key. As
- you move the mouse cursor over different file references in the file, they
- display an underline. When you hover the name of the file you want to open,
- click and the file will open in its own editor.</para>
+ <para>Press and hold down the <emphasis><property>Ctrl</property></emphasis> key. As you move the mouse cursor over different file references in the file, they display an underline. In this state these file references effectively become links, and when they are clicked the appropriate file will open in its own editor.</para>
<para>Use the OpenOn functionality for the next entries defined in XML file:</para>
<orderedlist>
<listitem>
@@ -250,7 +245,7 @@
</section>
<section id="CodeAssistAndDynamicCodeAssist42BasedOnProjectData">
<title>Content Assist</title>
- <para><property>Content assist</property> is available when working with</para>
+ <para><property>Content assist</property> is available when working with:</para>
<itemizedlist>
<listitem>
<para>
@@ -300,7 +295,7 @@
</para>
</listitem>
</itemizedlist>
- <para>Notice, that code completion for EL variables has icons illustrating what they are
+ <para>Notice that code completion for EL variables has icons illustrating what they are
from. The most of this icons are described in the table below.</para>
<table>
<title>Content assist icons</title>
@@ -604,7 +599,7 @@
</mediaobject>
</figure>
<para>Moreover <property>Code Assist</property> is able to define <property
- >Resource Bundles</property> on template page and gives the proposals on
+ >Resource Bundles</property> on template pages and gives the proposals on
the client page. </para>
<figure>
<title>Code Assist: Message Bundles proposals from template page</title>
@@ -721,7 +716,7 @@
projects.</para>
<section id="ContentAssistForStrutsConfigurationFile75">
<title>Content Assist for Struts Configuration File</title>
- <para>Content Assist helps you in Struts Configuration file.</para>
+ <para>Content Assist helps you edit Struts Configuration files.</para>
<figure>
<title>Struts Content Assist</title>
<mediaobject>
@@ -734,7 +729,7 @@
</section>
<section id="ContentAssistForStrutsJSPFile07">
<title>Content Assist for Struts JSP File</title>
- <para>Using Code Assist in Struts JSP file is shown below.</para>
+ <para>The image below shows Code Assist being used in a Struts JSP file.</para>
<figure>
<title>Struts JSP Content Assist</title>
<mediaobject>
@@ -760,7 +755,7 @@
</imageobject>
</mediaobject>
</figure>
- <para>When the tag is selected the required attributes, if there any, are
+ <para>When the tag is selected, the required attributes, if there any, are
already inserted and the cursor is located to the first attribute. At this
point you can ask for attribute proposals.</para>
<figure>
@@ -787,8 +782,7 @@
</section>
<section id="ContentAssistForHTMLTags7454">
<title>Content Assist for HTML Tags</title>
- <para>Content assist for HTML tags has the same mechanism as for JSF
- tags:</para>
+ <para>Content assist for HTML tags works in the same manner as the JSF tags:</para>
<figure>
<title>HTML Tags Content Assist</title>
<mediaobject>
@@ -798,7 +792,7 @@
</imageobject>
</mediaobject>
</figure>
- <para>You can use as well attributes proposals for HTML tags:</para>
+ <para>Content Assist can also be used for HTML tag attributes:</para>
<figure>
<title>HTML Tags Content Assist</title>
<mediaobject>
@@ -823,7 +817,7 @@
</section>
<section id="ContentAssistForEL">
<title>Content Assist for EL expressions</title>
- <para><property>Content Assist</property> also provides an expression language
+ <para><property>Content Assist</property> also provides expression language
(JSF EL) support. It is used in web application pages to access the
<property>JavaBeans</property> components in the page bean and in other
beans associated with the web application, such as the session bean and the
@@ -858,9 +852,9 @@
</section>
<section id="ContentAssistForJavaFiles">
<title>Content Assist for Java Files</title>
- <para>Various tools tips provide you additional information about java elements
+ <para>Various tools tips provide you additional information about Java elements
(JavaDocs, source classes, return types, method names, params, and etc.) when
- working with java files</para>
+ working with java files.</para>
<figure>
<title>Content assist for JavaDoc</title>
<mediaobject>
@@ -872,8 +866,7 @@
</section>
<section id="ContentAssistForInsertTag">
<title>Content Assist for Insert Tag Wizard</title>
- <para>Content Assist is also available for any attribute value of <emphasis>Insert
- Tag wizard</emphasis>.</para>
+ <para>Content Assist is also available for any attribute value in the <emphasis>Insert Tag</emphasis> wizard.</para>
<figure>
<title>Content Assist for Insert Tag Wizard</title>
<mediaobject>
@@ -912,7 +905,7 @@
]]></programlisting>
<itemizedlist>
<listitem>
- <para>Add bundle resource (property file) <property>code
+ <para>Add a bundle resource (property file) <property>code
assist</property>:</para>
</listitem>
</itemizedlist>
@@ -922,7 +915,7 @@
]]></programlisting>
<itemizedlist>
<listitem>
- <para>Add managed bean property <property>code assist</property>:</para>
+ <para>Add a managed bean property <property>code assist</property>:</para>
</listitem>
</itemizedlist>
<programlisting role="XML"><![CDATA[<AttributeType ...>
@@ -931,7 +924,7 @@
]]></programlisting>
<itemizedlist>
<listitem>
- <para>Add managed bean property but of a specified type:</para>
+ <para>Add a managed bean property, specifying a type:</para>
</listitem>
</itemizedlist>
<programlisting role="XML"><![CDATA[<AttributeType ...>
@@ -942,7 +935,7 @@
]]></programlisting>
<itemizedlist>
<listitem>
- <para>Add managed bean method with a signature:</para>
+ <para>Add a managed bean method with a signature:</para>
</listitem>
</itemizedlist>
<programlisting role="XML"><![CDATA[<AttributeType ...>
@@ -973,10 +966,9 @@
</listitem>
</orderedlist>
<para>From <emphasis>JBoss Developer Studio 3.0.0.M1</emphasis> you should not do
- any of the steps described before,dynamic code assist to custom components is
+ any of the steps described before, as dynamic code assist to custom components is
added automatically.</para>
- <para>If you open projects that were created in older studio versions such message
- could appear:</para>
+ <para>If you open projects that were created in older studio versions you may see the following message:</para>
<figure>
<title>Missing Natures Message</title>
<mediaobject>
@@ -993,8 +985,12 @@
<para>Right click the project in Package Explorer.</para>
</listitem>
<listitem>
- <para>Select <property>Configure -> Add JSF Capabilities</property> from the
- context menu.</para>
+ <para>Select
+ <menuchoice>
+ <guimenuitem>Configure</guimenuitem>
+ <guimenuitem>Add JSF Capabilities</guimenuitem>
+ </menuchoice>
+ from the context menu.</para>
</listitem>
<listitem>
<para>Configure your project using Add JSF Capabilities wizard and press
@@ -1005,16 +1001,11 @@
</section>
<section id="FullControlOverSourceFiles-SynchronizedSourcAndVisualEditing74">
<title>Synchronized Source and Visual Editing</title>
- <para><property>JBoss Developer Studio</property> offers the flexibility to edit any
- files in either source or extra visual modes at the same time.</para>
- <para>The project is yours and so is the source. <property>JBoss Developer
- Studio</property> provides you many different graphical editors to speed your
- application development. At the same time, you always have a full control over all
- project source files. Any changes you make in the source view immediately appear in
- the graphical view.</para>
+ <para><property>JBoss Developer Studio</property> offers the ability to edit the source code of a file, as well as providing visual editors for many file types. The source code and visual editors can be viewed and edited at the same time in a split screen view, and any changes you make in the source code editor will immediately appear in the visual editor.</para>
+
<para>The JSF configuration file editor has three views: <property>Diagram</property>,
<property>Tree</property> and <property>Source</property>. All views are
- synchronized, you can edit the file in any view.</para>
+ synchronized, and you can edit the file in any view.</para>
<figure>
<title>Three Views are Synchronized</title>
<mediaobject>
@@ -1024,7 +1015,7 @@
</imageobject>
</mediaobject>
</figure>
- <para>The same is relevant to all other <property>JBoss Developer Studio</property>
+ <para>The same is true of all other <property>JBoss Developer Studio</property>
editors.</para>
<para>Web XML editor is shown. Web XML editor has a graphical view (Tree) and source
(Source).</para>
@@ -1037,8 +1028,8 @@
</imageobject>
</mediaobject>
</figure>
- <para><property>JBoss Developer Studio</property> TLD file editor is shown in Tree view.
- At any point you can edit the source by switching to Source view.</para>
+ <para>The <property>JBoss Developer Studio</property> TLD file editor is shown below in Tree view.
+ At any point you can edit the source by switching to the Source view.</para>
<figure>
<title>Two Views are Synchronized</title>
<mediaobject>
@@ -1054,24 +1045,23 @@
<title>Visual Page Editor</title>
<para><property>JBoss Developer Studio</property> comes with a powerful and customizable
<property>Visual Page Editor</property> (VPE). You can use the Visual Page Editor to
- develop an application using any technology: JSF, Struts, JSP, HTML and others.
- Double-click on the necessary file in the Package Explorer view to open it in the Visual
- Editor or just drag-and-drop it into perspective (the drag-and-drop feature can be also
+ develop an application using any technology such as JSF, Struts, JSP, HTML and more.
+ Double-click on a file in the Package Explorer view to open it in the Visual
+ Editor, or just drag-and-drop it into perspective (the drag-and-drop feature can be also
applied to JSP, XHTML or HTML files created locally).</para>
<para>As a new JSF 2.0 specification has been released, support of new features is now
implemented in the <property>Visual Page Editor</property>. The JSF 2.0 tags like
<literal><h:body></literal>, <literal><h:head></literal>, <literal
><h:outputscript></literal>, <literal><h:outputstyle></literal> are
- supported in the editor as well as the composite components and the resource handling
- from the expression language. (See the <ulink
+ supported in the editor as well as the composite components and expression language resource handling. (See the <ulink
url="http://www.ibm.com/developerworks/java/library/j-jsf2fu2/index.html">following
link</ulink> on how to use composite components and <ulink
url="http://blogs.sun.com/rlubke/entry/jsf_2_0_new_feature3">following blog
- post</ulink> on how to handle the resources form the EL). </para>
- <para>Current VPE version has three tabs: <property>Visual/Source</property>, <property
+ post</ulink> on how to handle EL resources). </para>
+ <para>The current VPE version has three tabs: <property>Visual/Source</property>, <property
>Source</property> and <property>Preview</property>. To switch between the views you
- can use tabs at the bottom of the VPE or the shortcuts <emphasis>
- <property>Ctrl + PageUp/Ctrl + PageDown</property>
+ can use tabs at the bottom of the VPE or the shortcut keys <emphasis>
+ <property>Ctrl + PageUp</property> and <property>Ctrl + PageDown</property>
</emphasis>.</para>
<figure>
<title>Visual Page Editor</title>
@@ -1084,7 +1074,7 @@
<section id="visual_source">
<title>Visual/Source View</title>
<para>Using the <property>Visual/Source view</property> you can edit your pages in the
- Source and Visual modes simultaneously having an instant synchronization between
+ Source and Visual modes simultaneously, with instant synchronization between
them:</para>
<figure>
<title>Visual/Source View</title>
Modified: trunk/jsf/docs/userguide/en-US/richfaces_support.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/richfaces_support.xml 2011-01-06 05:09:00 UTC (rev 27937)
+++ trunk/jsf/docs/userguide/en-US/richfaces_support.xml 2011-01-06 06:11:43 UTC (rev 27938)
@@ -72,7 +72,7 @@
<para>For example, <property>Richfaces</property> tags
<code><rich:insert></code>
and <code>
- <a4j:include>></code>
+ <a4j:include></code>
has <property>OpenOn</property> support.</para>
<figure>
13 years, 8 months
JBoss Tools SVN: r27937 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-01-06 00:09:00 -0500 (Thu, 06 Jan 2011)
New Revision: 27937
Modified:
trunk/jsf/docs/userguide/en-US/editors.xml
trunk/jsf/docs/userguide/en-US/palette.xml
trunk/jsf/docs/userguide/en-US/preferences.xml
trunk/jsf/docs/userguide/en-US/richfaces_support.xml
Log:
Changed tip tags to note
Modified: trunk/jsf/docs/userguide/en-US/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/editors.xml 2011-01-06 04:44:49 UTC (rev 27936)
+++ trunk/jsf/docs/userguide/en-US/editors.xml 2011-01-06 05:09:00 UTC (rev 27937)
@@ -1103,11 +1103,11 @@
</emphasis> for maximizing/restoring the Source part and <emphasis>
<property>Shift + Alt + F6</property>
</emphasis> for maximizing/restoring the Visual part.</para>
- <tip>
+ <note>
<title>Tip:</title>
<para>When editing large documents hiding the Visual part will speed up the
editing.</para>
- </tip>
+ </note>
<para>It should be pointed out that, no matter in what mode you are working, you get a
full integration with <property>Properties</property> and <property>Outline
views</property>:</para>
@@ -2050,12 +2050,12 @@
declared in the <literal>web.xml</literal> file (for details, see <ulink
url="http://www.ibm.com/developerworks/java/library/j-facelets/#N10294">Creating
a component</ulink>) and packed into the JAR file.</para>
- <tip>
+ <note>
<title>Tip:</title>
<para>In case of Facelets tag library packed in <literal>.jar</literal>, remember to
put <literal>*.taglib.xml</literal> in right place: <literal
>[filename].jar/META-INF/*.taglib.xml</literal></para>
- </tip>
+ </note>
<para><property>Visual Page Editor</property> recognizes the tags from the custom
Facelets tag library and correctly renders them both in source and visual view of
the editor.</para>
Modified: trunk/jsf/docs/userguide/en-US/palette.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/palette.xml 2011-01-06 04:44:49 UTC (rev 27936)
+++ trunk/jsf/docs/userguide/en-US/palette.xml 2011-01-06 05:09:00 UTC (rev 27937)
@@ -430,13 +430,13 @@
</mediaobject>
</figure>
- <tip>
+ <note>
<title>Tip:</title>
<para>if you place the cursor over any tag, a balloon hint is shown with all the
<emphasis role="italic">
<property>"tag"</property>
</emphasis> attributes.</para>
- </tip>
+ </note>
<para>The cursor position after adding a tag into a file is specified by
"|" symbol in the tag template on the right in the Palette Editor
window. </para>
Modified: trunk/jsf/docs/userguide/en-US/preferences.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/preferences.xml 2011-01-06 04:44:49 UTC (rev 27936)
+++ trunk/jsf/docs/userguide/en-US/preferences.xml 2011-01-06 05:09:00 UTC (rev 27937)
@@ -609,12 +609,12 @@
</mediaobject>
</figure>
- <tip>
+ <note>
<title>Tip:</title>
<para>If you specify an equal variable in <link linkend="el_exp_para">Substitute EL
expressions dialog</link> and in Preference EL dialog, variable from preference dialog will
have priority.</para>
- </tip>
+ </note>
</section>
<!--section id="JBossServers">
<?dbhtml filename="JBossServers.html"?>
Modified: trunk/jsf/docs/userguide/en-US/richfaces_support.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/richfaces_support.xml 2011-01-06 04:44:49 UTC (rev 27936)
+++ trunk/jsf/docs/userguide/en-US/richfaces_support.xml 2011-01-06 05:09:00 UTC (rev 27937)
@@ -44,11 +44,11 @@
url="http://www.jboss.org/jbossrichfaces">RichFaces</ulink> framework
components.</para>
- <tip>
+ <note>
<title>Tip:</title>
<para>RichFaces 3.3.X is now fully supported in code completion.</para>
- </tip>
+ </note>
<figure>
<title>Content Assist for RichFaces Components</title>
13 years, 8 months
JBoss Tools SVN: r27936 - trunk/esb/docs/esb_ref_guide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-01-05 23:44:49 -0500 (Wed, 05 Jan 2011)
New Revision: 27936
Modified:
trunk/esb/docs/esb_ref_guide/en-US/reference.xml
trunk/esb/docs/esb_ref_guide/en-US/tasks.xml
Log:
Misc updates
Modified: trunk/esb/docs/esb_ref_guide/en-US/reference.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/en-US/reference.xml 2011-01-06 04:36:44 UTC (rev 27935)
+++ trunk/esb/docs/esb_ref_guide/en-US/reference.xml 2011-01-06 04:44:49 UTC (rev 27936)
@@ -146,8 +146,12 @@
<para>In order to add a new custom Action to your ESB XML file you should select the
- Actions node under the Services, then right-click and choose <emphasis>
- <property>New > Custom Action</property>. </emphasis></para>
+ Actions node under the Services, then right-click and choose
+ <menuchoice>
+ <guimenuitem>New</guimenuitem>
+ <guimenuitem>Custom Action</guimenuitem>
+ </menuchoice>.
+ </para>
<figure>
<title>Adding New Custom Action in the Tree View</title>
Modified: trunk/esb/docs/esb_ref_guide/en-US/tasks.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/en-US/tasks.xml 2011-01-06 04:36:44 UTC (rev 27935)
+++ trunk/esb/docs/esb_ref_guide/en-US/tasks.xml 2011-01-06 04:44:49 UTC (rev 27936)
@@ -620,8 +620,11 @@
</imageobject>
</mediaobject>
</figure>
- <para>Then you will need to add JBoss ESB libraries to your projects to configure the SOA server runtime exactly for your projects. Right-click on your project, select <emphasis><property>Build Path > Add Libraries</property>
- </emphasis>:</para>
+ <para>Then you will need to add JBoss ESB libraries to your projects to configure the SOA server runtime exactly for your projects. Right-click on your project, select
+ <menuchoice>
+ <guimenuitem>Build Path</guimenuitem>
+ <guimenuitem>Add Libraries</guimenuitem>
+ </menuchoice>:</para>
<figure>
<title>Add Libraries</title>
13 years, 8 months
JBoss Tools SVN: r27935 - in trunk/esb/docs/esb_ref_guide/en-US: images/esb_project and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-01-05 23:36:44 -0500 (Wed, 05 Jan 2011)
New Revision: 27935
Added:
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/13NewServerRuntimeEnv.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/14typeOfRuntime.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/15AddNew.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/19_select_runtime.png.old
Modified:
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/13NewServerRuntimeEnv.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/14typeOfRuntime.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/15AddNew.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/19_select_runtime.png
trunk/esb/docs/esb_ref_guide/en-US/tasks.xml
Log:
updated screenshots
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/13NewServerRuntimeEnv.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/13NewServerRuntimeEnv.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/13NewServerRuntimeEnv.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/14typeOfRuntime.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/14typeOfRuntime.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/14typeOfRuntime.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/15AddNew.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/15AddNew.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/15AddNew.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/19_select_runtime.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/19_select_runtime.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/19_select_runtime.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/tasks.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/en-US/tasks.xml 2011-01-06 03:42:17 UTC (rev 27934)
+++ trunk/esb/docs/esb_ref_guide/en-US/tasks.xml 2011-01-06 04:36:44 UTC (rev 27935)
@@ -567,9 +567,13 @@
<para>Check here to find more details on the platform: <ulink url="http://www.jboss.com/products/platforms/soa">JBoss Enterprise SOA Platform</ulink> and <ulink url="http://www.jboss.com/products/platforms/soa/components">JBoss Enterprise SOA Platform Component Details</ulink>.</para>
<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 Environments</property>
- </emphasis>, that will open the Server Runtime Environments Preferences page where you can add, remove and edit a Server Runtime Environment.</para>
+ <para>To configure the JBoss Enterprise SOA platform select
+ <menuchoice>
+ <guimenuitem>Window</guimenuitem>
+ <guimenuitem>Preferences</guimenuitem>
+ <guimenuitem>Server</guimenuitem>
+ <guimenuitem>Runtime Environments</guimenuitem>
+ </menuchoice>, which 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>
@@ -581,7 +585,7 @@
</figure>
<para>Select <emphasis><property>Add</property>
- </emphasis>, choose <emphasis><property>JBoss 4.2 Runtime</property>
+ </emphasis>, choose <emphasis><property>JBoss 5.0 Runtime</property>
</emphasis> as a type of runtime environment, check the <emphasis><property>Create a new local server</property>
</emphasis> checkbox and click <emphasis><property>Next</property>
</emphasis>:</para>
13 years, 8 months
JBoss Tools SVN: r27934 - in trunk/esb/docs/esb_ref_guide/en-US: images/esb_project and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-01-05 22:42:17 -0500 (Wed, 05 Jan 2011)
New Revision: 27934
Added:
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/05_esb_project_example.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/05a_esb_project_example.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/06_esb_project_example.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/07_esb_project_example.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/08_esb_project_deploy.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/11_esb_runtime_new.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/20_classpath_container.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_support/02_create_esb.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_support/04_create_esb.png.old
Modified:
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/05_esb_project_example.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/05a_esb_project_example.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/06_esb_project_example.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/07_esb_project_example.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/08_esb_project_deploy.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/11_esb_runtime_new.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/20_classpath_container.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_support/02_create_esb.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_support/04_create_esb.png
trunk/esb/docs/esb_ref_guide/en-US/tasks.xml
Log:
Updating screenshots
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/05_esb_project_example.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/05_esb_project_example.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/05_esb_project_example.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/05a_esb_project_example.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/05a_esb_project_example.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/05a_esb_project_example.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/06_esb_project_example.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/06_esb_project_example.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/06_esb_project_example.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/07_esb_project_example.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/07_esb_project_example.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/07_esb_project_example.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/08_esb_project_deploy.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/08_esb_project_deploy.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/08_esb_project_deploy.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/11_esb_runtime_new.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/11_esb_runtime_new.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/11_esb_runtime_new.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/20_classpath_container.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/20_classpath_container.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/20_classpath_container.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_support/02_create_esb.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_support/02_create_esb.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_support/02_create_esb.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_support/04_create_esb.png
===================================================================
(Binary files differ)
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_support/04_create_esb.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_support/04_create_esb.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/docs/esb_ref_guide/en-US/tasks.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/en-US/tasks.xml 2011-01-06 02:27:38 UTC (rev 27933)
+++ trunk/esb/docs/esb_ref_guide/en-US/tasks.xml 2011-01-06 03:42:17 UTC (rev 27934)
@@ -133,12 +133,17 @@
JBoss 4.2 Runtime</property>
</emphasis>, it will be used by your ESB project example. </para>
- <para>Select <emphasis>
- <property>File >New > Others </property>
- </emphasis> , in the main menu bar or context menu for selected project and
- then <emphasis>
- <property>JBoss Tools > Project Examples</property>
- </emphasis> in the New dialog:</para>
+ <para>Select
+ <menuchoice>
+ <guimenuitem>File</guimenuitem>
+ <guimenuitem>New</guimenuitem>
+ <guimenuitem>Other...</guimenuitem>
+ </menuchoice>
+ in the main menu bar or context menu for selected project and then
+ <menuchoice>
+ <guimenuitem>JBoss Tools</guimenuitem>
+ <guimenuitem>Project Examples</guimenuitem>
+ </menuchoice> in the New dialog:</para>
<figure>
<title>Select a wizard - Project Examples</title>
@@ -168,7 +173,7 @@
<itemizedlist>
<listitem>
- <para>ESB</para>
+ <para>ESB for SOA-P 4.3</para>
</listitem>
<listitem>
<para>ESB for SOA-P 5.0</para>
@@ -184,7 +189,7 @@
</note>
<para>Every ESB example has two projects, one is a ESB project and another is a Java project used to test the ESB project.</para>
- <para>Here is a list of ready examples available in both categories (ESB and ESB for SOA-P 5.0):</para>
+ <para>Here is a list of ready examples available in both categories (ESB for SOA-P 4.3 and ESB for SOA-P 5.0):</para>
<itemizedlist>
@@ -229,8 +234,7 @@
- <para>We will take as our example <emphasis><property>JBoss ESB HelloWorld Example</property>
- </emphasis> ESB and Client project:</para>
+ <para>We will take as our example <guilabel>JBoss ESB HelloWorld Example</guilabel> ESB project:</para>
<figure>
@@ -243,9 +247,7 @@
</figure>
- <para>Choose them using the Ctrl button and then click
- <emphasis><property>Finish</property>
- </emphasis>. As a result you will get two projects created:</para>
+ <para>Select the <guilabel>JBoss ESB HelloWorld Example</guilabel> ESB project and then click the <guibutton>Finish</guibutton> button. As a result you will get two projects created:</para>
<figure>
<title>JBoss ESB Project Examples: helloworld and helloworld_testclient</title>
<mediaobject>
@@ -262,9 +264,14 @@
<title>Deploying a ESB Project</title>
<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 Servers View by selecting <emphasis><property>Window > Show View > Other >
- Server > Servers</property>
- </emphasis>,
+ <para>Before deploying the project, open the Servers View by selecting
+ <menuchoice>
+ <guimenuitem>Window</guimenuitem>
+ <guimenuitem>Show View</guimenuitem>
+ <guimenuitem>Other</guimenuitem>
+ <guimenuitem>Server</guimenuitem>
+ <guimenuitem>Servers</guimenuitem>
+ </menuchoice>,
create a JBoss Server in the Server view and start it, and then right click the created JBoss server,
select <emphasis><property> </property> Add and Remove Projects</emphasis>,
and add the ESB projects you want to deploy from the left side to the right side in the opened dialog. </para>
@@ -319,10 +326,12 @@
</mediaobject>
</figure>
- <para>Choose <emphasis><property>ESB</property>
- </emphasis> > <emphasis><property>ESB File</property>
- </emphasis> and click <emphasis><property>Next</property>
- </emphasis>:</para>
+ <para>Choose
+ <menuchoice>
+ <guimenuitem>ESB</guimenuitem>
+ <guimenuitem>ESB File</guimenuitem>
+ </menuchoice>
+ and click <guibutton>Next</guibutton>:</para>
<figure>
<title>Choosing ESB File</title>
@@ -333,8 +342,7 @@
</mediaobject>
</figure>
- <para>And finally export the ESB project to the file system: choose the destination, choose the target runtime if need a specific one and make the appropriate settings for the archive. Then click <emphasis><property>Finish</property>
- </emphasis>.</para>
+ <para>And finally export the ESB project to the file system: choose the destination, choose the target runtime if need a specific one and make the appropriate settings for the archive. Then click <guibutton>Finish</guibutton>.</para>
<figure>
<title>ESB Export</title>
@@ -358,12 +366,18 @@
<para>We will show you how to use the Creation wizard for creating a new ESB file.</para>
- <para>At first you should open any project. Select <emphasis>
- <property>File >New > Other...</property>
- </emphasis> in the main menu bar or context menu for selected project and
- then <emphasis>
- <property>ESB > ESB File</property>
- </emphasis> in the New dialog:</para>
+ <para>At first you should open any project. Select
+ <menuchoice>
+ <guimenuitem>File</guimenuitem>
+ <guimenuitem>New</guimenuitem>
+ <guimenuitem>Other...</guimenuitem>
+ </menuchoice>
+ in the main menu bar or context menu for selected project and then
+ <menuchoice>
+ <guimenuitem>ESB</guimenuitem>
+ <guimenuitem>ESB File</guimenuitem>
+ </menuchoice>
+ in the New dialog:</para>
<figure>
<title>Select a wizard - ESB File</title>
@@ -411,9 +425,18 @@
<title>Creating a ESB Action</title>
<para>From this chapter you will find out how to create a <emphasis><property>ESB Action Java File</property>
</emphasis>.</para>
- <para>At first you need to open a <property>ESB</property> or simple <property>Java</property> project. Then you should select <emphasis><property>File > New>Other</property>
- </emphasis> in the main menu or from the context project menu. Then click <emphasis><property>ESB > ESB Action</property>
- </emphasis> in the <emphasis><property>New </property>
+ <para>At first you need to open a <property>ESB</property> or simple <property>Java</property> project. Then you should select
+ <menuchoice>
+ <guimenuitem>File</guimenuitem>
+ <guimenuitem>New</guimenuitem>
+ <guimenuitem>Other</guimenuitem>
+ </menuchoice>
+ in the main menu or from the context project menu. Then click
+ <menuchoice>
+ <guimenuitem>ESB</guimenuitem>
+ <guimenuitem>ESB Action</guimenuitem>
+ </menuchoice>
+ in the <emphasis><property>New </property>
</emphasis> dialog.</para>
<figure>
<title>Select a wizard - ESB Action</title>
@@ -443,15 +466,20 @@
<section role="updated">
<title>Configuring ESB Runtime in Preferences</title>
- <para>In this chapter you will know how to predefine a JBoss ESB runtime on the Preferences page.</para>
+ <para>In this chapter you will learn how to predefine a JBoss ESB runtime on the Preferences page.</para>
<para>You may already know, there are two ways to set JBoss ESB runtime when creating a ESB project,
one is to use the project target JBoss runtime, and another is to select a JBoss ESB runtime predefined in JBoss Tools preferences.
Let's configure it.</para>
- <para>Select <emphasis>
- <property>Window >Preferences > JBoss Tools > JBoss ESB Runtime</property>
- </emphasis>, to open the JBoss ESB Runtime Preferences page where you can add, remove and Edit a JBoss ESB runtime.</para>
+ <para>Select
+ <menuchoice>
+ <guimenuitem>Window</guimenuitem>
+ <guimenuitem>Preferences</guimenuitem>
+ <guimenuitem>JBoss Tools</guimenuitem>
+ <guimenuitem>JBoss ESB Runtimes</guimenuitem>
+ </menuchoice>
+ to open the JBoss ESB Runtime Preferences page where you can add, remove and Edit a JBoss ESB runtime.</para>
<figure>
<title>JBoss ESB Runtimes</title>
@@ -476,8 +504,7 @@
</mediaobject>
</figure>
- <para>The new JBoss ESB Runtime will be configured. Click <emphasis> <property>OK</property>
- </emphasis> to finish and save the preferences.
+ <para>The new JBoss ESB Runtime will be configured. Click <guibutton>Finish</guibutton> to finish and save the preferences.
You can use the configuration when creating a JBoss ESB project. </para>
<para>When a ESB runtime is configured for your ESB project you are able to change it to any other using the classpath container page for ESB runtime. To do that, turn to the Package Explorer view and right-click the "JBoss ESB Runtime" library. Select <emphasis><property>Properties</property>
</emphasis> and a table listing all available JBoss ESB runtimes will appear:</para>
@@ -532,7 +559,7 @@
<section id="using_SOA">
<title>Using and Configuring SOA Platform</title>
- <para>In this chapter you will know what is JBoss Enterprise SOA Platform and how you can configure it to use for your ESB projects. </para>
+ <para>In this chapter you will learn what the JBoss Enterprise SOA Platform is and how you can configure it to use for your ESB projects. </para>
<para>JBoss Enterprise SOA Platform delivers a flexible, standards-based platform to integrate applications, SOA services, business events and automate business processes. The SOA Platform integrates specific versions of JBoss ESB, jBPM, Drools and the JBoss Enterprise Application Platform that are certified to work together in a single supported enterprise distribution.</para>
<para>Having configured JBoss Enterprise SOA Platform for your ESB project you don't need to install and configure ESB server and runtime as they are already included.</para>
13 years, 8 months
JBoss Tools SVN: r27933 - trunk/esb/docs/esb_ref_guide/en-US/images/esb_project.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-01-05 21:27:38 -0500 (Wed, 05 Jan 2011)
New Revision: 27933
Added:
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/.directory
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/01_create_esb_project.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/02_create_esb_project.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/02a_create_esb_project.png.old
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/02b_create_esb_project.png
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/03_create_esb_project.png.old
Log:
new images
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/.directory
===================================================================
--- trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/.directory (rev 0)
+++ trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/.directory 2011-01-06 02:27:38 UTC (rev 27933)
@@ -0,0 +1,5 @@
+[Dolphin]
+AdditionalInfo=3
+ShowPreview=true
+Timestamp=2011,1,6,12,4,41
+ViewMode=1
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/01_create_esb_project.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/01_create_esb_project.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/02_create_esb_project.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/02_create_esb_project.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/02a_create_esb_project.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/02a_create_esb_project.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/02b_create_esb_project.png
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/02b_create_esb_project.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/03_create_esb_project.png.old
===================================================================
(Binary files differ)
Property changes on: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/03_create_esb_project.png.old
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
13 years, 8 months