JBoss Tools SVN: r29709 - in trunk/deltacloud/plugins: org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-03-11 11:56:12 -0500 (Fri, 11 Mar 2011)
New Revision: 29709
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/ActionAware.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClient.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClientImpl.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/Instance.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/Key.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/StateAware.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java
Log:
[JBIDE-8565] refreshing instance and key after performing action
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/ChangeLog 2011-03-11 16:55:40 UTC (rev 29708)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/ChangeLog 2011-03-11 16:56:12 UTC (rev 29709)
@@ -1,3 +1,19 @@
+2011-03-11 André Dietisheim <André Dietisheim@adietisheim-thinkpad>
+
+ * src/org/jboss/tools/deltacloud/core/client/StateAware.java:
+ * src/org/jboss/tools/deltacloud/core/client/ActionAware.java
+ (reboot):
+ (destroy):
+ (stop):
+ (start):
+ (doUpdate):
+ (update):
+ * src/org/jboss/tools/deltacloud/core/client/Instance.java (doUpdate):
+ * src/org/jboss/tools/deltacloud/core/client/Key.java: (doUpdate):
+ * src/org/jboss/tools/deltacloud/core/client/DeltaCloudClientImpl.java (performAction):
+ * src/org/jboss/tools/deltacloud/core/client/DeltaCloudClient.java (performAction):
+ [JBIDE-8565] refreshing instance and key after performing action
+
2011-02-18 André Dietisheim <André Dietisheim@adietisheim-thinkpad>
* src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/ActionAware.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/ActionAware.java 2011-03-11 16:55:40 UTC (rev 29708)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/ActionAware.java 2011-03-11 16:56:12 UTC (rev 29709)
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.jboss.tools.deltacloud.core.client;
+import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
@@ -43,21 +44,38 @@
}
public boolean start(DeltaCloudClient client) throws DeltaCloudClientException {
- return client.performAction(getAction(Action.START_NAME));
+ InputStream in = client.performAction(getAction(Action.START_NAME));
+ update(in);
+ return in != null;
}
public boolean stop(DeltaCloudClient client) throws DeltaCloudClientException {
- return client.performAction(getAction(Action.STOP_NAME));
+ InputStream in = client.performAction(getAction(Action.STOP_NAME));
+ update(in);
+ return in != null;
}
public boolean destroy(DeltaCloudClient client) throws DeltaCloudClientException {
- return client.performAction(getAction(Action.DESTROY_NAME));
+ InputStream in = client.performAction(getAction(Action.DESTROY_NAME));
+ return in != null;
}
public boolean reboot(DeltaCloudClient client) throws DeltaCloudClientException {
- return client.performAction(getAction(Action.REBOOT_NAME));
+ InputStream in = client.performAction(getAction(Action.REBOOT_NAME));
+ update(in);
+ return in != null;
}
+ protected void update(InputStream in) throws DeltaCloudClientException {
+ if (in == null) {
+ return;
+ }
+
+ doUpdate(in);
+ }
+
+ protected abstract void doUpdate(InputStream in) throws DeltaCloudClientException;
+
public boolean canStart() {
return getAction(Action.START_NAME) != null;
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClient.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClient.java 2011-03-11 16:55:40 UTC (rev 29708)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClient.java 2011-03-11 16:56:12 UTC (rev 29709)
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.jboss.tools.deltacloud.core.client;
+import java.io.InputStream;
import java.util.List;
import org.jboss.tools.deltacloud.core.client.API.Driver;
@@ -154,8 +155,8 @@
*
* @param action the action to execute
* @return true, if successful
- *
+ * @throws DeltaCloudClientException the delta cloud client exception
* @see Action
*/
- public boolean performAction(Action<?> action) throws DeltaCloudClientException;
+ public InputStream performAction(Action<?> action) throws DeltaCloudClientException;
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClientImpl.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClientImpl.java 2011-03-11 16:55:40 UTC (rev 29708)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClientImpl.java 2011-03-11 16:56:12 UTC (rev 29709)
@@ -87,7 +87,15 @@
if (httpResponse.getEntity() == null) {
return null;
}
- return httpResponse.getEntity().getContent();
+ InputStream in = httpResponse.getEntity().getContent();
+// StringWriter writer = new StringWriter();
+// int data = -1;
+//
+// while(((data = in.read()) != -1)) {
+// writer.write(data);
+// }
+// System.err.println(writer.toString());
+ return in;
} catch (DeltaCloudClientException e) {
throw e;
} catch (MalformedURLException e) {
@@ -332,17 +340,17 @@
return key;
}
- public boolean performAction(Action<?> action) throws DeltaCloudClientException {
+ public InputStream performAction(Action<?> action) throws DeltaCloudClientException {
+ InputStream in = null;
if (action != null) {
try {
- request(new PerformActionRequest(action.getUrl(), action.getMethod()));
+ in = request(new PerformActionRequest(action.getUrl(), action.getMethod()));
} catch (DeltaCloudClientException e) {
throw e;
} catch (Exception e) {
throw new DeltaCloudClientException(e);
}
- return true;
}
- return false;
+ return in;
}
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/Instance.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/Instance.java 2011-03-11 16:55:40 UTC (rev 29708)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/Instance.java 2011-03-11 16:56:12 UTC (rev 29709)
@@ -10,8 +10,11 @@
*******************************************************************************/
package org.jboss.tools.deltacloud.core.client;
+import java.io.InputStream;
import java.util.List;
+import org.jboss.tools.deltacloud.core.client.unmarshal.InstanceUnmarshaller;
+
/**
* @author Martyn Taylor
* @author Andre Dietisheim
@@ -134,6 +137,12 @@
}
@Override
+ protected void doUpdate(InputStream in) throws DeltaCloudClientException {
+ new InstanceUnmarshaller().unmarshall(in, this);
+ }
+
+
+ @Override
public String toString() {
String s = "";
s += "Instance:\t" + getId() + "\n";
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/Key.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/Key.java 2011-03-11 16:55:40 UTC (rev 29708)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/Key.java 2011-03-11 16:56:12 UTC (rev 29709)
@@ -10,9 +10,12 @@
*******************************************************************************/
package org.jboss.tools.deltacloud.core.client;
+import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
+import org.jboss.tools.deltacloud.core.client.unmarshal.KeyUnmarshaller;
+
/**
* @author Andre Dietisheim
*/
@@ -57,9 +60,13 @@
}
@Override
+ protected void doUpdate(InputStream in) throws DeltaCloudClientException {
+ new KeyUnmarshaller().unmarshall(in, this);
+ }
+
+ @Override
public String toString() {
return "Key [url=" + url + ", pem=" + pem + ", fingerprint=" + fingerprint + ", state=" + state + ", actions="
+ getActions() + ", toString()=" + super.toString() + "]";
}
-
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/StateAware.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/StateAware.java 2011-03-11 16:55:40 UTC (rev 29708)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.client/src/org/jboss/tools/deltacloud/core/client/StateAware.java 2011-03-11 16:56:12 UTC (rev 29709)
@@ -16,7 +16,7 @@
*
* @param <OWNER>
*/
-public class StateAware<OWNER> extends ActionAware<OWNER> {
+public abstract class StateAware<OWNER> extends ActionAware<OWNER> {
public static enum State {
RUNNING, STOPPED, PENDING, TERMINATED, BOGUS
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog 2011-03-11 16:55:40 UTC (rev 29708)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog 2011-03-11 16:56:12 UTC (rev 29709)
@@ -1,3 +1,8 @@
+2011-03-11 André Dietisheim <André Dietisheim@adietisheim-thinkpad>
+
+ * src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java (performAction):
+ [JBIDE-8565] refreshing instance and key after performing action
+
2011-03-09 André Dietisheim <André Dietisheim@adietisheim-thinkpad>
* src/org/jboss/tools/deltacloud/core/DeltaCloud.java
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java 2011-03-11 16:55:40 UTC (rev 29708)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java 2011-03-11 16:56:12 UTC (rev 29709)
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.jboss.tools.deltacloud.core;
+import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
@@ -39,7 +40,7 @@
BOGUS(Instance.State.BOGUS.name());
private String name;
-
+
private State(String name) {
this.name = name;
}
@@ -97,7 +98,7 @@
public String getKeyId() {
return instance.getKeyId();
}
-
+
public List<DeltaCloudResourceAction> getActions() {
List<DeltaCloudResourceAction> actions = new ArrayList<DeltaCloudResourceAction>();
for (Action<Instance> action : instance.getActions()) {
@@ -145,7 +146,7 @@
public boolean isRunning() {
return instance.isRunning();
}
-
+
protected void setInstance(Instance instance) {
this.instance = instance;
}
@@ -165,7 +166,8 @@
if (instanceAction == null) {
return false;
}
- return client.performAction(instanceAction);
+ InputStream in = client.performAction(instanceAction);
+ return in != null;
}
@Override
13 years, 10 months
JBoss Tools SVN: r29708 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-03-11 11:55:40 -0500 (Fri, 11 Mar 2011)
New Revision: 29708
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java
Log:
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java 2011-03-11 16:35:31 UTC (rev 29707)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java 2011-03-11 16:55:40 UTC (rev 29708)
@@ -493,6 +493,8 @@
// TODO: remove notification with all instanceRepo, replace by
// notifying the changed instance
firePropertyChange(PROP_INSTANCES, instances, repo.get());
+// int index = repo.indexOf(instance);
+// fireIndexedPropertyChange(PROP_INSTANCES, index, instance, instance);
}
return result;
} catch (DeltaCloudClientException e) {
13 years, 10 months
JBoss Tools SVN: r29707 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/property.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-03-11 11:35:31 -0500 (Fri, 11 Mar 2011)
New Revision: 29707
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/property/CVPropertySheetPage.java
Log:
[JBIDE-7523] listening to changes in DeltaCloud and refreshing properties view
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/property/CVPropertySheetPage.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/property/CVPropertySheetPage.java 2011-03-11 11:57:25 UTC (rev 29706)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/cloud/property/CVPropertySheetPage.java 2011-03-11 16:35:31 UTC (rev 29707)
@@ -14,6 +14,7 @@
import java.beans.PropertyChangeListener;
import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.views.properties.PropertySheetPage;
import org.jboss.tools.deltacloud.core.DeltaCloud;
@@ -31,7 +32,13 @@
@Override
public void propertyChange(PropertyChangeEvent evt) {
- refresh();
+ Display.getDefault().syncExec(new Runnable() {
+
+ @Override
+ public void run() {
+ refresh();
+ }
+ });
}
};
13 years, 10 months
JBoss Tools SVN: r29706 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext.
by jbosstools-commits@lists.jboss.org
Author: jpeterka
Date: 2011-03-11 06:57:25 -0500 (Fri, 11 Mar 2011)
New Revision: 29706
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/RequirementAwareSuite.java
Log:
Requirement configuration exceptions are thrown directly instead of logged only
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/RequirementAwareSuite.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/RequirementAwareSuite.java 2011-03-11 10:55:52 UTC (rev 29705)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/RequirementAwareSuite.java 2011-03-11 11:57:25 UTC (rev 29706)
@@ -313,6 +313,7 @@
new RequirementAwareRunnerBuilder(config), suiteName));
} catch (Exception ex) {
log.error("Error loading test configuration", ex);
+ throw ex;
}
}
13 years, 10 months
JBoss Tools SVN: r29705 - branches/jbosstools-3.2.x/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2011-03-11 05:55:52 -0500 (Fri, 11 Mar 2011)
New Revision: 29705
Modified:
branches/jbosstools-3.2.x/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java
Log:
https://issues.jboss.org/browse/JBIDE-8523
Modified: branches/jbosstools-3.2.x/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java
===================================================================
--- branches/jbosstools-3.2.x/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java 2011-03-11 10:41:20 UTC (rev 29704)
+++ branches/jbosstools-3.2.x/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java 2011-03-11 10:55:52 UTC (rev 29705)
@@ -24,6 +24,8 @@
import org.eclipse.ui.part.IPageSite;
import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor;
import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
+import org.eclipse.wst.css.core.internal.provisional.document.ICSSStyleDeclItem;
+import org.eclipse.wst.css.core.internal.provisional.document.ICSSStyleSheet;
import org.jboss.tools.jst.css.common.StyleContainer;
import org.jboss.tools.jst.css.dialog.common.StyleAttributes;
import org.jboss.tools.jst.css.view.CSSEditorView;
@@ -88,18 +90,16 @@
@Override
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
-
if ((this.part != part) && (selection instanceof IStructuredSelection)) {
IStructuredSelection structuredSelection = (IStructuredSelection) selection;
Object newSelectedObject = structuredSelection.getFirstElement();
-
- if ((selectedObject == null)
- || (!selectedObject.equals(newSelectedObject)))
+ //added by Maksim Areshkay as fix for https://issues.jboss.org/browse/JBIDE-8523
+ //here we should process only elements of StyleContainer or set selection to null(clean)
+ if(newSelectedObject==null||(newSelectedObject instanceof StyleContainer)){
super.selectionChanged(part, selection);
- selectedObject = newSelectedObject;
-
- update();
-
+ selectedObject = newSelectedObject;
+ update();
+ }
}
}
13 years, 10 months
JBoss Tools SVN: r29704 - trunk/deltacloud/tests/org.jboss.tools.deltacloud.test.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-03-11 05:41:20 -0500 (Fri, 11 Mar 2011)
New Revision: 29704
Removed:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/bootstrap-deltacloud.rb
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/build-deltacloud-dependencies.sh
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/deltacloud-dependencies.jar
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/jruby-complete-1.5.3.jar
Log:
deleted unneeded artifacts
Deleted: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/bootstrap-deltacloud.rb
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/bootstrap-deltacloud.rb 2011-03-11 10:35:13 UTC (rev 29703)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/bootstrap-deltacloud.rb 2011-03-11 10:41:20 UTC (rev 29704)
@@ -1,19 +0,0 @@
-require 'rubygems'
-require 'deltacloud-dependencies.jar'
-#require 'steamcannon-deltacloud-core'
-
-# Force Rubygems to reload the gem paths
-Gem.clear_paths
-
-version = ">= 0"
-
-if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
- version = $1
- ARGV.shift
-end
-
-ARGV[0] = "-i mock"
-
-load Gem.bin_path('steamcannon-deltacloud-core', 'deltacloudd', version)
-
-
Deleted: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/build-deltacloud-dependencies.sh
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/build-deltacloud-dependencies.sh 2011-03-11 10:35:13 UTC (rev 29703)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/build-deltacloud-dependencies.sh 2011-03-11 10:41:20 UTC (rev 29704)
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-java -jar jruby-complete-1.5.3.jar -S gem install -i ./deltacloud-dependencies \
-activesupport \
-amazon-ec2 \
-daemons \
-eventmachine \
-haml \
-highline hoe \
-http_connection \
-json \
-json_pure \
-mime-types \
-nokogiri \
-rack \
-rack-accept \
-rerun \
-rest-client \
-right_aws \
-right_http_connection \
-rubyforge \
-sinatra \
-steamcannon-deltacloud-core \
-uuidtools \
-xml-simple --no-rdoc --no-ri
-
-jar cf deltacloud-dependencies.jar -C deltacloud-dependencies .
-
Deleted: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/deltacloud-dependencies.jar
===================================================================
(Binary files differ)
Deleted: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/jruby-complete-1.5.3.jar
===================================================================
(Binary files differ)
13 years, 10 months
JBoss Tools SVN: r29702 - branches/3.3.indigo/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp.
by jbosstools-commits@lists.jboss.org
Author: lzoubek(a)redhat.com
Date: 2011-03-11 04:50:01 -0500 (Fri, 11 Mar 2011)
New Revision: 29702
Modified:
branches/3.3.indigo/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java
Log:
fixed SWTBot 2.0.3 compatibility in indigo JBIDE-8554
Modified: branches/3.3.indigo/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java
===================================================================
--- branches/3.3.indigo/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java 2011-03-11 09:43:44 UTC (rev 29701)
+++ branches/3.3.indigo/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java 2011-03-11 09:50:01 UTC (rev 29702)
@@ -33,6 +33,7 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotCombo;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotScale;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
import org.jboss.tools.ui.bot.ext.gen.ActionItem;
@@ -119,8 +120,8 @@
wiz.comboBoxWithLabel(
WebServicesWebServiceClient.TEXT_SERVICE_DEFINITION).setText(
wsdlDef);
- SWTBotScaleExt slider = bot.scale();
- slider.setSelection(type);
+ SWTBotScale slider = bot.scale();
+ slider.setValue(type);
selectJbossWSRuntime();
bot.sleep(TIME_1S); // wait for wizard to validate wsdl url and
// enable Finish button
13 years, 10 months
JBoss Tools SVN: r29701 - branches/3.3.indigo/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext.
by jbosstools-commits@lists.jboss.org
Author: lzoubek(a)redhat.com
Date: 2011-03-11 04:43:44 -0500 (Fri, 11 Mar 2011)
New Revision: 29701
Modified:
branches/3.3.indigo/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTBotExt.java
Log:
fixed SWTBot 2.0.3 compatibility in indigo JBIDE-8554
Modified: branches/3.3.indigo/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTBotExt.java
===================================================================
--- branches/3.3.indigo/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTBotExt.java 2011-03-11 03:12:52 UTC (rev 29700)
+++ branches/3.3.indigo/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTBotExt.java 2011-03-11 09:43:44 UTC (rev 29701)
@@ -129,11 +129,11 @@
}
}
- public SWTBotScaleExt scale() {
- return scale(0);
+ public SWTBotScaleExt scaleExt() {
+ return scaleExt(0);
}
@SuppressWarnings("unchecked")
- public SWTBotScaleExt scale(int index) {
+ public SWTBotScaleExt scaleExt(int index) {
try {
List<Scale> bsrs = (List<Scale>) widgets(widgetOfType(Scale.class));
return new SWTBotScaleExt(bsrs.get(index));
13 years, 10 months
JBoss Tools SVN: r29700 - trunk/jsf/docs/jsf_tools_tutorial/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-10 22:12:52 -0500 (Thu, 10 Mar 2011)
New Revision: 29700
Modified:
trunk/jsf/docs/jsf_tools_tutorial/en-US/jsf_application.xml
Log:
"General editing and screenshot updates"
Modified: trunk/jsf/docs/jsf_tools_tutorial/en-US/jsf_application.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_tutorial/en-US/jsf_application.xml 2011-03-11 02:13:14 UTC (rev 29699)
+++ trunk/jsf/docs/jsf_tools_tutorial/en-US/jsf_application.xml 2011-03-11 03:12:52 UTC (rev 29700)
@@ -1,100 +1,90 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="jsf_application">
- <?dbhtml filename="jsf_application.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>JBoss Developer Studio</keyword>
- <keyword>JSF application</keyword>
- <keyword>Java</keyword>
- </keywordset>
- </chapterinfo>
+ <?dbhtml filename="jsf_application.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss Developer Studio</keyword>
+ <keyword>JSF application</keyword>
+ <keyword>Java</keyword>
+ </keywordset>
+ </chapterinfo>
- <title>Creating a Simple JSF Application</title>
+ <title>Creating a Simple JSF Application</title>
- <para>Firstly, we assume that you have already launched Eclipse with <property>JBoss Tools</property>
- plug-ins installed and also that the <property>Web Development perspective</property> is the current
- one. (If not, make it active by selecting <emphasis>
- <property>Window > Open Perspective > Web Development</property>
- </emphasis> from the menu bar or by selecting <emphasis>
- <property>Window > Open Perspective > Other...</property>
- </emphasis> from the menu bar and then selecting <emphasis>
- <property>Web Development</property>
- </emphasis> from the Select Perspective dialog box.)</para>
+ <para>
+ Firstly, we assume that you have already launched Eclipse with <property>JBoss Tools</property> plug-ins installed and also that the <property>Web Development perspective</property> is the current one. (If not, make it active by selecting <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open Perspective</guimenuitem><guimenuitem>Web Development</guimenuitem></menuchoice> from the menu bar or by selecting <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open Perspective</guimenuitem><guimenuitem>Other...</guimenuitem></menuchoice> from the menu bar and then selecting <guimenuitem>Web Development</guimenuitem> from the Select Perspective dialog box.)
+ </para>
- <section id="setting_up_the_project">
- <?dbhtml filename="SettingUpTheProject.html"?>
- <title>Setting Up the Project</title>
- <para>Now we are going to create a new project for the application.</para>
- <itemizedlist>
- <listitem>
- <para>For that go to the menu bar and select <emphasis>
- <property>File > New > Project...</property>
- </emphasis></para>
- </listitem>
- <listitem>
- <para>Select <emphasis>
- <property>JBoss Tools Web > JSF > JSF Project</property>
- </emphasis> in the New Project dialog box</para>
- </listitem>
- <listitem>
- <para>Click <emphasis>
- <property>Next</property>
- </emphasis></para>
- </listitem>
- <listitem>
- <para>Enter "jsfHello" as the project name.</para>
- </listitem>
- <listitem>
- <para>Leave everything else as is, and click <emphasis>
- <property>Finish</property>
- </emphasis></para>
- </listitem>
+ <section id="setting_up_the_project">
+ <?dbhtml filename="SettingUpTheProject.html"?>
+ <title>Setting Up the Project</title>
+ <para>Now we are going to create a new project for the application.</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ For that go to the menu bar and select <menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Project...</guimenuitem></menuchoice>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Select <menuchoice><guimenuitem>JBoss Tools We</guimenuitem><guimenuitem>JSF</guimenuitem><guimenuitem>JSF Project</guimenuitem></menuchoice> in the New Project dialog box.
+ </para>
+ </listitem>
+ <listitem>
+ <para>Click the <guibutton>Next</guibutton> button.</para>
+ </listitem>
+ <listitem>
+ <para>Enter <guilabel>jsfHello</guilabel> as the project name.</para>
+ </listitem>
+ <listitem>
+ <para>Leave everything else as is, and click the <guibutton>Finish</guibutton> button.</para>
+ </listitem>
- </itemizedlist>
- </section>
+ </itemizedlist>
+ </section>
- <section id="TheJSFApplicationConfigurationFile">
- <?dbhtml filename="TheJSFApplicationConfigurationFile.html"?>
- <title>JSF Configuration File</title>
- <para>A jsfHello node should appear in the upper-left Package Explorer view.</para>
- <figure>
- <title>Package Explorer View</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_application/jsf_application_1.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <itemizedlist>
- <listitem>
- <para>Click the plus sign next to <emphasis>
+ <section id="TheJSFApplicationConfigurationFile">
+ <?dbhtml filename="TheJSFApplicationConfigurationFile.html"?>
+ <title>JSF Configuration File</title>
+ <para>A <guilabel>jsfHello</guilabel> node should appear in the upper-left <guilabel>Package Explorer</guilabel> view.</para>
+ <figure>
+ <title>Package Explorer View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_application/jsf_application_1.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <itemizedlist>
+ <listitem>
+ <para>Click the plus sign next to <emphasis>
<property>jsfHello</property>
- </emphasis> to reveal the child nodes</para>
- </listitem>
- <listitem>
- <para>Click the plus sign next to <emphasis>
+ </emphasis> to reveal the child nodes</para>
+ </listitem>
+ <listitem>
+ <para>Click the plus sign next to <emphasis>
<property>WebContent</property>
- </emphasis> under jsfHello</para>
- </listitem>
- <listitem>
- <para>Click the plus sign next to <emphasis>
+ </emphasis> under jsfHello</para>
+ </listitem>
+ <listitem>
+ <para>Click the plus sign next to <emphasis>
<property>WEB-INF</property>
- </emphasis> under WebContent</para>
- </listitem>
+ </emphasis> under WebContent</para>
+ </listitem>
- <listitem>
- <para>Then double-click on the <property>faces-config.xml</property> node to display
+ <listitem>
+ <para>Then double-click on the <property>faces-config.xml</property> node to display
the JSF application configuration file editor</para>
- </listitem>
- </itemizedlist>
- <figure>
- <title>Configuration File Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_application/jsf_application_2.png"/>
- </imageobject>
- </mediaobject>
- </figure>
+ </listitem>
+ </itemizedlist>
+ <figure>
+ <title>Configuration File Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_application/jsf_application_2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
- </section>
+ </section>
</chapter>
13 years, 10 months