JBoss Tools SVN: r26938 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest: .settings and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-11-25 09:41:05 -0500 (Thu, 25 Nov 2010)
New Revision: 26938
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/.jsdtscope
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.jdt.core.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.common.component
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.jsdt.ui.superType.name
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.project
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/WEB-INF/web.xml
Log:
JBIDE-7706
https://jira.jboss.org/browse/JBIDE-7706
Test project is converted to JSF project
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.project 2010-11-25 14:35:55 UTC (rev 26937)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.project 2010-11-25 14:41:05 UTC (rev 26938)
@@ -6,7 +6,7 @@
</projects>
<buildSpec>
<buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
@@ -15,11 +15,24 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.jst.web.kb.kbbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
- <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.jboss.tools.jsf.jsfnature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.jboss.tools.jst.web.kb.kbnature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/.jsdtscope
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/.jsdtscope (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/.jsdtscope 2010-11-25 14:41:05 UTC (rev 26938)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="WebContent"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.jdt.core.prefs 2010-11-25 14:41:05 UTC (rev 26938)
@@ -0,0 +1,8 @@
+#Thu Nov 25 17:26:28 MSK 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.common.component 2010-11-25 14:41:05 UTC (rev 26938)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="SeamTest">
+<wb-resource deploy-path="/" source-path="/WebContent"/>
+<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+<property name="context-root" value="SeamTest"/>
+<property name="java-output-path" value="/SeamTest/build/classes"/>
+</wb-module>
+</project-modules>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.common.project.facet.core.xml 2010-11-25 14:41:05 UTC (rev 26938)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 6.0 Runtime"/>
+ <fixed facet="java"/>
+ <fixed facet="jst.web"/>
+ <fixed facet="wst.jsdt.web"/>
+ <installed facet="java" version="1.5"/>
+ <installed facet="jst.web" version="2.5"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.jsdt.ui.superType.container 2010-11-25 14:41:05 UTC (rev 26938)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.settings/org.eclipse.wst.jsdt.ui.superType.name 2010-11-25 14:41:05 UTC (rev 26938)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/WEB-INF/web.xml 2010-11-25 14:35:55 UTC (rev 26937)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/WEB-INF/web.xml 2010-11-25 14:41:05 UTC (rev 26938)
@@ -1,12 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
-<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
- <display-name>SeamTest</display-name>
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- <welcome-file>index.htm</welcome-file>
- <welcome-file>index.jsp</welcome-file>
- <welcome-file>default.html</welcome-file>
- <welcome-file>default.htm</welcome-file>
- <welcome-file>default.jsp</welcome-file>
- </welcome-file-list>
-</web-app>
\ No newline at end of file
+<web-app id="WebApp_ID" version="2.5"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+ <display-name>SeamTest</display-name>
+ <servlet>
+ <servlet-name>Faces Config</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Faces Config</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ <welcome-file>index.htm</welcome-file>
+ <welcome-file>index.jsp</welcome-file>
+ <welcome-file>default.html</welcome-file>
+ <welcome-file>default.htm</welcome-file>
+ <welcome-file>default.jsp</welcome-file>
+ </welcome-file-list>
+</web-app>
14 years, 1 month
JBoss Tools SVN: r26937 - trunk/documentation/whatsnew/deltacloud.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-25 09:35:55 -0500 (Thu, 25 Nov 2010)
New Revision: 26937
Modified:
trunk/documentation/whatsnew/deltacloud/deltacloud-news-0.0.1.Beta2.html
Log:
[JBIDE-7647] Creating Deltacloud N&N for Beta2. Not finished yet (connection wizard's missing)
Modified: trunk/documentation/whatsnew/deltacloud/deltacloud-news-0.0.1.Beta2.html
===================================================================
--- trunk/documentation/whatsnew/deltacloud/deltacloud-news-0.0.1.Beta2.html 2010-11-25 14:33:59 UTC (rev 26936)
+++ trunk/documentation/whatsnew/deltacloud/deltacloud-news-0.0.1.Beta2.html 2010-11-25 14:35:55 UTC (rev 26937)
@@ -119,24 +119,12 @@
<tr>
<td valign="top" align="left">
<a name="itemname3" id="itemname3"></a>
- <b>Properties view</b>
- </td>
- <td valign="top">
- <p>The properties view had several small issues when it was up to reflect updated settings.</p>
- <p>Related Jiras:
- <a href="http://jira.jboss.org/browse/JBIDE-7523">JBIDE-7523</a>,
- <a href="http://jira.jboss.org/browse/JBIDE-7366">JBIDE-7366</a>
- </td>
- </tr>
- <tr>
- <td valign="top" align="left">
- <a name="itemname3" id="itemname3"></a>
<b>Instance View</b>
</td>
<td valign="top">
<p>
- We enhanced the instance view in several ways and fixed bugs, too.
- There was an issue that prevented the Remote System Explorer to work with instances that run on EC2. <a href="https://jira.jboss.org/browse/JBIDE-7194">This</a> issue was fixed in Beta2.
+ We enhanced the instance view in several ways and fixed bugs, too. <br />
+ There was an issue that prevented the Remote System Explorer to work with instances that run on EC2. <a href="https://jira.jboss.org/browse/JBIDE-7194">This</a> issue was fixed in Beta2.<br />
We removed the local view menu and put all actions to the context menu so that it better matches what eclipse users may expect.
You can now select multiple instances and operate on them. The actions now behave exactly as they do in the
cloud view. We also changed the icons and now display instance states by icons instead of plain text.
14 years, 1 month
JBoss Tools SVN: r26936 - trunk/documentation/whatsnew/images.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-25 09:33:59 -0500 (Thu, 25 Nov 2010)
New Revision: 26936
Added:
trunk/documentation/whatsnew/images/deltacloud-actions-toseveral.png
trunk/documentation/whatsnew/images/deltacloud-cloudview-contextmenu.png
trunk/documentation/whatsnew/images/deltacloud-instanceview.png
trunk/documentation/whatsnew/images/deltacloud-launch-image.png
trunk/documentation/whatsnew/images/deltacloud-servererror.png
Log:
[JBIDE-7647] Creating Deltacloud N&N for Beta2. Not finished yet (connection wizard's missing)
Added: trunk/documentation/whatsnew/images/deltacloud-actions-toseveral.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/deltacloud-actions-toseveral.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/deltacloud-cloudview-contextmenu.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/deltacloud-cloudview-contextmenu.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/deltacloud-instanceview.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/deltacloud-instanceview.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/deltacloud-launch-image.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/deltacloud-launch-image.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/deltacloud-servererror.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/deltacloud-servererror.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
14 years, 1 month
JBoss Tools SVN: r26935 - trunk/documentation/whatsnew/deltacloud.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-25 09:33:22 -0500 (Thu, 25 Nov 2010)
New Revision: 26935
Added:
trunk/documentation/whatsnew/deltacloud/deltacloud-news-0.0.1.Beta2.html
Log:
[JBIDE-7647] Creating Deltacloud N&N for Beta2. Not finished yet (connection wizard's missing)
Added: trunk/documentation/whatsnew/deltacloud/deltacloud-news-0.0.1.Beta2.html
===================================================================
--- trunk/documentation/whatsnew/deltacloud/deltacloud-news-0.0.1.Beta2.html (rev 0)
+++ trunk/documentation/whatsnew/deltacloud/deltacloud-news-0.0.1.Beta2.html 2010-11-25 14:33:22 UTC (rev 26935)
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Language" content="en-us" />
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../whatsnew.css" />
+ <title>What's New</title>
+ </head>
+ <body>
+ <h1>Deltacloud Development Tools 0.0.1.Beta2 What's New</h1>
+
+ <p align="right"><a href="../index.html">< Main Index</a> <a
+ href="../gwt/gwt-news-1.0.0.Beta2.html">GWT Integration
+ ></a>
+ </p>
+ <table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>General</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Deltacloud Tools</b>
+ </td>
+ <td valign="top">
+ A lot of work happened to improve user experience for Deltacloud tools.
+ No spectacular new feature was added but a lot of detail improvements and bug fixes
+ were achieved in Beta2.
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Deltacloud Server</b>
+ </td>
+ <td valign="top">
+ <p>We updated the tools to be able to work against the latest Deltacloud server. The tools are currently worka and well tested against Deltacloud 0.0.9.</p>
+ <p>
+ Related Jiras:
+ <a href="http://jira.jboss.org/browse/JBIDE-7401">JBIDE-7401</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7259">JBIDE-7259</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7437">JBIDE-7437</a>,
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Cloud View</b>
+ </td>
+ <td valign="top">
+ <p>
+ We tried to stick to the patterns used in eclipse so that we better match the user expectations.
+ We therefore added all relevant actions to the context menu and removed the local view menu.
+ You may now refresh the view, create new connections, launch instances, start and stop instances etc.
+ right from your context menu.
+ We furthermore made sure that we use the default for refresh (F5) and disconnect (delete).
+ </p>
+ <p><img src="../images/deltacloud-cloudview-contextmenu.png" alt="" /></p>
+ Related Jiras:
+ <a href="http://jira.jboss.org/browse/JBIDE-7479">JBIDE-7479</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7183">JBIDE-7183</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7367">JBIDE-7367</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7329">JBIDE-7329</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7307">JBIDE-7307</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7479">JBIDE-7479</a>
+ <p>
+ You may now also select several entries in the cloud viewer and choose an action to apply on them
+ </p>
+ <p><img src="../images/deltacloud-actions-toseveral.png" alt="" /></p>
+ <p>Related Jiras:
+ <a href="http://jira.jboss.org/browse/JBIDE-7326">JBIDE-7326</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7306">JBIDE-7306</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7618">JBIDE-7618</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7502">JBIDE-7502</a>
+ <a href="http://jira.jboss.org/browse/JBIDE-7501">JBIDE-7501</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7499">JBIDE-7499</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7498">JBIDE-7498</a>
+ <p>
+ You may now also notice faster startup times since we delayed loading operations to when they're really needed.
+ </p>
+ <p>
+ The views now refresh immediately as soon as you change any setting to a cloud connection. You don't need to refresh the views any more.
+ </p>
+ <a href="http://jira.jboss.org/browse/JBIDE-7396">JBIDE-7396</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7518">JBIDE-7518</a>
+ <p>
+ Any errors that occur while interacting with the server are now reported in a user friendly manner.
+ </p>
+ <p><img src="../images/deltacloud-servererror.png" alt="" /></p>
+ <p>Related Jiras:
+ <a href="http://jira.jboss.org/browse/JBIDE-7663">JBIDE-7663</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7586">JBIDE-7586</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7459">JBIDE-7459</a>
+ <p>
+ We had a bug in Beta1 that made credentials mix up if you had two connections to the same cloud. We fixed this for Beta2.
+ </p>
+ <a href="http://jira.jboss.org/browse/JBIDE-7625">Related Jira</a>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Properties view</b>
+ </td>
+ <td valign="top">
+ <p>The properties view had several small issues when it was up to reflect updated settings.</p>
+ <p>Related Jiras:
+ <a href="http://jira.jboss.org/browse/JBIDE-7523">JBIDE-7523</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7366">JBIDE-7366</a>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Properties view</b>
+ </td>
+ <td valign="top">
+ <p>The properties view had several small issues when it was up to reflect updated settings.</p>
+ <p>Related Jiras:
+ <a href="http://jira.jboss.org/browse/JBIDE-7523">JBIDE-7523</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7366">JBIDE-7366</a>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Instance View</b>
+ </td>
+ <td valign="top">
+ <p>
+ We enhanced the instance view in several ways and fixed bugs, too.
+ There was an issue that prevented the Remote System Explorer to work with instances that run on EC2. <a href="https://jira.jboss.org/browse/JBIDE-7194">This</a> issue was fixed in Beta2.
+ We removed the local view menu and put all actions to the context menu so that it better matches what eclipse users may expect.
+ You can now select multiple instances and operate on them. The actions now behave exactly as they do in the
+ cloud view. We also changed the icons and now display instance states by icons instead of plain text.
+ </p>
+ <p><img src="../images/deltacloud-instanceview.png" alt="" /></p>
+ <p>Related Jiras:
+ <a href="http://jira.jboss.org/browse/JBIDE-7194">JBIDE-7194</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7678">JBIDE-7678</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7663">JBIDE-7663</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7516">JBIDE-7516</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7507">JBIDE-7507</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7194">JBIDE-7194</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7549">JBIDE-7549</a>,
+ <a href="http://jira.jboss.org/browse/JBIDE-7503">JBIDE-7503</a>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
Property changes on: trunk/documentation/whatsnew/deltacloud/deltacloud-news-0.0.1.Beta2.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 1 month
JBoss Tools SVN: r26934 - trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial.
by jbosstools-commits@lists.jboss.org
Author: jlukas(a)redhat.com
Date: 2010-11-25 09:13:06 -0500 (Thu, 25 Nov 2010)
New Revision: 26934
Modified:
trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java
Log:
updating labels
Modified: trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java 2010-11-25 13:41:46 UTC (rev 26933)
+++ trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java 2010-11-25 14:13:06 UTC (rev 26934)
@@ -52,6 +52,7 @@
import org.jboss.tools.struts.ui.bot.test.utils.ValidationUIEditorBot;
import org.jboss.tools.struts.ui.bot.test.utils.WizardBot;
import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.jboss.tools.ui.bot.ext.SWTBotExt;
import org.jboss.tools.ui.bot.ext.SWTEclipseExt;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
import org.jboss.tools.ui.bot.ext.config.Annotations.SWTBotTestRequires;
@@ -339,7 +340,7 @@
gui.save();
util.waitForNonIgnoredJobs();
new SWTBotGefContextMenu(gui.getControl(), "Run on Server").click();
- SWTBotBrowser browser = bot.browser();
+ SWTBotBrowserExt browser = new SWTBotExt().browserExt();
bot.sleep(7500);
browser.refresh();
bot.sleep(5000);
@@ -479,7 +480,7 @@
bot.activeShell().bot().menu("File").menu("Save All").click();
bot.sleep(1000);
util.waitForNonIgnoredJobs();
- tb = bot.activeShell().bot().toolbarButtonWithTooltip("Touch descriptors");
+ tb = bot.activeShell().bot().toolbarButtonWithTooltip("Change Timestamp of " + PROJECT_NAME);
tb.click();
ed.show();
String out2 = refreshBrowser(browser);
14 years, 1 month
JBoss Tools SVN: r26932 - trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/preferences.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-11-25 07:58:54 -0500 (Thu, 25 Nov 2010)
New Revision: 26932
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/preferences/CDIPreferenceInitializer.java
Log:
https://jira.jboss.org/browse/JBIDE-7710
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/preferences/CDIPreferenceInitializer.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/preferences/CDIPreferenceInitializer.java 2010-11-25 12:07:02 UTC (rev 26931)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/preferences/CDIPreferenceInitializer.java 2010-11-25 12:58:54 UTC (rev 26932)
@@ -47,6 +47,7 @@
defaultPreferences.put(CDIPreferences.ILLEGAL_LIFECYCLE_CALLBACK_INTERCEPTOR_BINDING, CDIPreferences.WARNING);
defaultPreferences.put(CDIPreferences.MISSING_NONBINDING_IN_INTERCEPTOR_BINDING_TYPE_MEMBER, CDIPreferences.WARNING);
defaultPreferences.put(CDIPreferences.ILLEGAL_CONDITIONAL_OBSERVER, CDIPreferences.WARNING);
+ defaultPreferences.put(CDIPreferences.MISSING_OR_INCORRECT_TARGET_OR_RETENTION_IN_ANNOTATION_TYPE, CDIPreferences.WARNING);
defaultPreferences.putInt(SeverityPreferences.MAX_NUMBER_OF_MARKERS_PREFERENCE_NAME, SeverityPreferences.DEFAULT_MAX_NUMBER_OF_MARKERS_PER_FILE);
}
}
\ No newline at end of file
14 years, 1 month
JBoss Tools SVN: r26931 - in trunk/tests/plugins/org.jboss.tools.ui.bot.ext: src/org/jboss/tools/ui/bot/ext and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: psrna
Date: 2010-11-25 07:07:02 -0500 (Thu, 25 Nov 2010)
New Revision: 26931
Added:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/StyledTextHelper.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidCanvas.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidFigure.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidTFigure.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidUmlFigure.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTTeiidBot.java
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/META-INF/MANIFEST.MF
Log:
* StyledTextHelper
* org.jboss.tools.ui.bot.ext.teiid
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/META-INF/MANIFEST.MF
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/META-INF/MANIFEST.MF 2010-11-25 12:00:24 UTC (rev 26930)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/META-INF/MANIFEST.MF 2010-11-25 12:07:02 UTC (rev 26931)
@@ -23,7 +23,8 @@
org.eclipse.draw2d;bundle-version="3.6.1",
org.eclipse.zest.core;bundle-version="1.2.0",
org.eclipse.zest.layouts;bundle-version="1.1.0",
- org.eclipse.swtbot.eclipse.gef.finder;bundle-version="2.0.0"
+ org.eclipse.swtbot.eclipse.gef.finder;bundle-version="2.0.0",
+ org.eclipse.gef;bundle-version="3.6.1"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Eclipse-RegisterBuddy: org.apache.log4j
@@ -36,6 +37,7 @@
org.jboss.tools.ui.bot.ext.gen,
org.jboss.tools.ui.bot.ext.helper,
org.jboss.tools.ui.bot.ext.parts,
+ org.jboss.tools.ui.bot.ext.teiid,
org.jboss.tools.ui.bot.ext.types,
org.jboss.tools.ui.bot.ext.view,
org.jboss.tools.ui.bot.ext.widgets,
@@ -43,4 +45,8 @@
Bundle-Vendor: JBoss by Red Hat
Bundle-ClassPath: .,
resources/drv/hsqldb.jar
-Import-Package: org.eclipse.gef
+Import-Package: com.metamatrix.modeler.diagram.ui.figure,
+ com.metamatrix.modeler.diagram.ui.notation.uml.figure,
+ com.metamatrix.modeler.transformation.ui,
+ com.metamatrix.modeler.transformation.ui.figure,
+ org.eclipse.gef
Added: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/StyledTextHelper.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/StyledTextHelper.java (rev 0)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/StyledTextHelper.java 2010-11-25 12:07:02 UTC (rev 26931)
@@ -0,0 +1,52 @@
+package org.jboss.tools.ui.bot.ext.helper;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.custom.StyledText;
+import org.eclipse.swt.widgets.Event;
+import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable;
+import org.eclipse.swtbot.swt.finder.results.VoidResult;
+
+/**
+ *
+ * @author psrna
+ *
+ */
+public class StyledTextHelper {
+
+ /**
+ * Mouse click on current caret position
+ */
+ public static void mouseClickOnCaret(final StyledText widget){
+
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ @Override
+ public void run() {
+ widget.forceFocus();
+
+ int caret_x = widget.getCaret().getLocation().x;
+ int caret_y = widget.getCaret().getLocation().y;
+
+ // Move mouse
+ Event event = new Event();
+ event.type = SWT.MouseMove;
+ event.x = widget.toDisplay(caret_x, caret_y).x;
+ event.y = widget.toDisplay(caret_x, caret_y).y;
+ widget.getDisplay().post(event);
+
+ // Mouse down
+ event = new Event();
+ event.type = SWT.MouseDown;
+ event.button = 1;
+ widget.getDisplay().post(event);
+ // Mouse Up
+ event = new Event();
+ event.type = SWT.MouseUp;
+ event.button = 1;
+ widget.getDisplay().post(event);
+
+ }
+ });
+ }
+
+}
Property changes on: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/StyledTextHelper.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidCanvas.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidCanvas.java (rev 0)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidCanvas.java 2010-11-25 12:07:02 UTC (rev 26931)
@@ -0,0 +1,170 @@
+package org.jboss.tools.ui.bot.ext.teiid;
+
+
+import java.util.List;
+
+import org.apache.log4j.Logger;
+import org.eclipse.draw2d.FigureCanvas;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
+import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable;
+import org.eclipse.swtbot.swt.finder.results.Result;
+import org.eclipse.swtbot.swt.finder.results.VoidResult;
+import org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl;
+
+import com.metamatrix.modeler.diagram.ui.notation.uml.figure.UmlClassifierFigure;
+import com.metamatrix.modeler.diagram.ui.notation.uml.figure.UmlClassifierHeader;
+import com.metamatrix.modeler.transformation.ui.figure.TransformationFigure;
+
+
+
+/**
+ *
+ * @author psrna
+ *
+ */
+public class SWTBotTeiidCanvas extends AbstractSWTBotControl<FigureCanvas> {
+
+ Logger log = Logger.getLogger(FigureCanvas.class);
+
+
+ public SWTBotTeiidCanvas(FigureCanvas canvas) {
+ super(canvas);
+ }
+
+ public SWTBotTeiidUmlFigure figure(final String name){
+
+ UmlClassifierFigure figure = UIThreadRunnable
+ .syncExec(new Result<UmlClassifierFigure>() {
+
+ @SuppressWarnings("unchecked")
+ private UmlClassifierFigure find(List<IFigure> figures){
+ UmlClassifierFigure result;
+
+ for(IFigure f : figures){
+
+ if(f instanceof UmlClassifierFigure){
+ if(((UmlClassifierFigure) f).getLabelFigure()
+ .getText().equals(name)){
+ return (UmlClassifierFigure) f;
+ }
+ }
+ result = find(f.getChildren());
+
+ if(result != null)
+ return result;
+ }
+ return null;
+ }
+
+ @SuppressWarnings("unchecked")
+ @Override
+ public UmlClassifierFigure run() {
+ return find(widget.getContents().getChildren());
+ }
+
+ });
+ if(figure != null)
+ return new SWTBotTeiidUmlFigure(figure, widget);
+ else
+ throw new WidgetNotFoundException("Cannot find figure with the name:" + name);
+ }
+
+ public SWTBotTeiidTFigure tFigure(){
+
+ TransformationFigure figure = UIThreadRunnable
+ .syncExec(new Result<TransformationFigure>() {
+
+
+ @SuppressWarnings("unchecked")
+ private TransformationFigure find(List<IFigure> figures){
+ TransformationFigure result;
+
+ for(IFigure f : figures){
+
+ if(f instanceof TransformationFigure)
+ return (TransformationFigure) f;
+
+ result = find(f.getChildren());
+
+ if(result != null)
+ return result;
+ }
+ return null;
+ }
+
+ @SuppressWarnings("unchecked")
+ @Override
+ public TransformationFigure run() {
+ return find(widget.getContents().getChildren());
+ }
+
+ });
+ if(figure != null)
+ return new SWTBotTeiidTFigure(figure, widget);
+ else
+ throw new WidgetNotFoundException("Cannot find Transformation Figure");
+ }
+
+
+
+ /**
+ * Debug method
+ */
+ public void debugCanvas(){
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+
+ @SuppressWarnings("unchecked")
+ public void printAllChildren(List<IFigure> figures, final int level){
+
+ for(int i=0; i<level; i++){
+ System.out.print(" ");
+ }
+ for(IFigure f : figures){
+ log.info("Child:" + f.getClass() + " {{SUPERCLASS:" + f.getClass().getSuperclass() + "}}");
+ printAllChildren(f.getChildren(), level+1);
+ }
+ }
+
+ @SuppressWarnings("unchecked")
+ public void printUmlClassifierFigures(List<IFigure> figures){
+ for(IFigure f : figures){
+ if(f instanceof UmlClassifierFigure)
+ log.info("UMLFIGURE:" + ((UmlClassifierFigure) f).getLabelFigure().getText());
+ printUmlClassifierFigures(f.getChildren());
+ }
+ }
+
+ @SuppressWarnings("unchecked")
+ public void printUmlClassifierHeaderFigures(List<IFigure> figures){
+ for(IFigure f : figures){
+ if(f instanceof UmlClassifierHeader)
+ log.info("UMLHEADER:" + ((UmlClassifierHeader) f).getNameLabel().getText());
+ printUmlClassifierFigures(f.getChildren());
+ }
+ }
+
+ @SuppressWarnings("unchecked")
+ @Override
+ public void run() {
+ log.info("*****************************************************************************");
+ FigureCanvas c = widget;
+ //printAllChildren(c.getContents().getChildren(), 0);
+ log.info("UmlClassifierFigure:");
+ printUmlClassifierFigures(c.getContents().getChildren());
+
+ log.info("-----------------------------------------------------------------------------");
+
+ log.info("UmlClassifierHeaders:");
+ printUmlClassifierHeaderFigures(c.getContents().getChildren());
+
+ log.info("*****************************************************************************");
+
+ }
+ });
+
+
+ }
+
+}
Property changes on: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidCanvas.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidFigure.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidFigure.java (rev 0)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidFigure.java 2010-11-25 12:07:02 UTC (rev 26931)
@@ -0,0 +1,26 @@
+package org.jboss.tools.ui.bot.ext.teiid;
+
+import org.eclipse.draw2d.FigureCanvas;
+import org.eclipse.swt.SWT;
+import org.eclipse.draw2d.geometry.Point;
+import org.eclipse.swt.widgets.Event;
+import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
+import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable;
+import org.eclipse.swtbot.swt.finder.results.VoidResult;
+import org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot;
+import org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl;
+import org.eclipse.ui.internal.handlers.WizardHandler.New;
+
+import com.metamatrix.modeler.diagram.ui.notation.uml.figure.UmlClassifierFigure;
+import com.metamatrix.modeler.transformation.ui.figure.TransformationFigure;
+
+public abstract class SWTBotTeiidFigure extends AbstractSWTBot<FigureCanvas>{
+
+
+
+ public SWTBotTeiidFigure(FigureCanvas c){
+ super(c);
+ }
+
+ abstract public void doubleClick();
+}
Property changes on: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidFigure.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidTFigure.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidTFigure.java (rev 0)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidTFigure.java 2010-11-25 12:07:02 UTC (rev 26931)
@@ -0,0 +1,22 @@
+package org.jboss.tools.ui.bot.ext.teiid;
+
+import org.eclipse.draw2d.FigureCanvas;
+
+import com.metamatrix.modeler.transformation.ui.figure.TransformationFigure;
+
+public class SWTBotTeiidTFigure extends SWTBotTeiidFigure{
+
+ private TransformationFigure tFig;
+
+ public SWTBotTeiidTFigure(TransformationFigure fig, FigureCanvas c) {
+ super(c);
+ tFig = fig;
+ }
+
+ @Override
+ public void doubleClick() {
+ doubleClickXY(tFig.getBounds().getCenter().x,
+ tFig.getBounds().getCenter().y);
+ }
+
+}
Property changes on: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidTFigure.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidUmlFigure.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidUmlFigure.java (rev 0)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidUmlFigure.java 2010-11-25 12:07:02 UTC (rev 26931)
@@ -0,0 +1,72 @@
+package org.jboss.tools.ui.bot.ext.teiid;
+
+import org.eclipse.draw2d.FigureCanvas;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Event;
+import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable;
+import org.eclipse.swtbot.swt.finder.results.VoidResult;
+
+import com.metamatrix.modeler.diagram.ui.notation.uml.figure.UmlClassifierFigure;
+
+public class SWTBotTeiidUmlFigure extends SWTBotTeiidFigure{
+
+ private UmlClassifierFigure fig;
+
+ public SWTBotTeiidUmlFigure(UmlClassifierFigure fig, FigureCanvas c) {
+ super(c);
+ this.fig = fig;
+ }
+
+ @Override
+ public void doubleClick() {
+ /*
+ System.err.println("SWTBotTeiidUmlFigure:" + fig.getLabelFigure().getText());
+ System.err.println("SWTBotTeiidUmlFigure.LabelBounds:" + fig.getLabelFigure().getBounds());
+ System.err.println("SWTBotTeiidUmlFigure.nameBounds:" + fig.getNameFigure().getBounds());
+
+
+ doubleClickXY(fig.getLabelFigure().getBounds().getCenter().x, fig.getLabelFigure().getBounds().getCenter().y);
+ //doubleClickXY(fig.getNameFigure().getBounds().getCenter().x, fig.getNameFigure().getBounds().getCenter().y);
+ */
+ /*
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ @Override
+ public void run() {
+ //widget.forceFocus();
+
+
+ // Move mouse
+ Event event = new Event();
+ event.type = SWT.MouseMove;
+ event.x = widget.toDisplay(fig.getLabelFigure().getBounds().getCenter().x, fig.getLabelFigure().getBounds().getCenter().y).x;
+ event.y = widget.toDisplay(fig.getLabelFigure().getBounds().getCenter().x, fig.getLabelFigure().getBounds().getCenter().y).y;
+ widget.getDisplay().post(event);
+
+ // Mouse down
+ event = new Event();
+ event.type = SWT.MouseDown;
+ event.button = 1;
+ widget.getDisplay().post(event);
+ // Mouse Up
+ event = new Event();
+ event.type = SWT.MouseUp;
+ event.button = 1;
+ widget.getDisplay().post(event);
+ // Mouse down
+ event = new Event();
+ event.type = SWT.MouseDown;
+ event.button = 1;
+ widget.getDisplay().post(event);
+ // Mouse Up
+ event = new Event();
+ event.type = SWT.MouseUp;
+ event.button = 1;
+ widget.getDisplay().post(event);
+
+ }
+ });
+ */
+ }
+
+}
Property changes on: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTBotTeiidUmlFigure.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTTeiidBot.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTTeiidBot.java (rev 0)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTTeiidBot.java 2010-11-25 12:07:02 UTC (rev 26931)
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Obeo
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Mariot Chauvin <mariot.chauvin(a)obeo.fr> - initial API and implementation
+ *******************************************************************************/
+package org.jboss.tools.ui.bot.ext.teiid;
+
+import java.util.List;
+
+import org.eclipse.draw2d.FigureCanvas;
+import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;
+import org.eclipse.swtbot.eclipse.finder.matchers.WidgetMatcherFactory;
+
+
+
+/**
+ * SWTBot extension for Teiid Designer support.
+ *
+ * @author psrna
+ *
+ */
+public class SWTTeiidBot extends SWTWorkbenchBot {
+
+
+ public SWTBotTeiidCanvas getTeiidCanvas(int index) {
+ List<? extends FigureCanvas> canvases = getFinder().findControls(WidgetMatcherFactory.widgetOfType(FigureCanvas.class));
+ SWTBotTeiidCanvas canvas = new SWTBotTeiidCanvas(canvases.get(0));
+ return canvas;
+ }
+
+}
Property changes on: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/teiid/SWTTeiidBot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 1 month
JBoss Tools SVN: r26930 - in trunk/jsf/tests: org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2010-11-25 07:00:24 -0500 (Thu, 25 Nov 2010)
New Revision: 26930
Added:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/TaglibXMLUnformatedDTD_JBIDE5642.java
Removed:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TaglibXMLUnformatedDTD_JBIDE5642.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
Log:
https://jira.jboss.org/browse/JBIDE-7704 , TaglibXMLUnformatedDTD_JBIDE5642 was moved to jsf.ui.tests
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2010-11-25 11:52:16 UTC (rev 26929)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2010-11-25 12:00:24 UTC (rev 26930)
@@ -52,6 +52,7 @@
suite.addTestSuite(JsfJspJbide6259Test.class);
suite.addTestSuite(JsfJspJbide1704Test.class);
suite.addTestSuite(JsfJspJbide1717Test.class);
+ suite.addTestSuite(TaglibXMLUnformatedDTD_JBIDE5642.class);
suite.addTest(
new ProjectImportTestSetup(WebContentAssistProviderTest.suite(),
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/TaglibXMLUnformatedDTD_JBIDE5642.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/TaglibXMLUnformatedDTD_JBIDE5642.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/TaglibXMLUnformatedDTD_JBIDE5642.java 2010-11-25 12:00:24 UTC (rev 26930)
@@ -0,0 +1,119 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.jsf.ui.test;
+
+import java.util.StringTokenizer;
+
+import junit.framework.TestCase;
+
+import org.eclipse.jface.viewers.TreeViewer;
+import org.eclipse.swt.widgets.Tree;
+import org.eclipse.swt.widgets.TreeItem;
+import org.eclipse.swt.widgets.Widget;
+import org.eclipse.ui.IViewPart;
+import org.eclipse.ui.PlatformUI;
+import org.jboss.tools.jst.web.ui.navigator.WebProjectsNavigator;
+
+/**
+ *
+ * @author yzhishko
+ *
+ */
+
+public class TaglibXMLUnformatedDTD_JBIDE5642 extends TestCase {
+
+ private static final String WEB_PROJECTS_VIEW_ID = "org.jboss.tools.jst.web.ui.navigator.WebProjectsView"; //$NON-NLS-1$
+ private static final String PACKAGE_EXPLORER_VIEW_ID = "org.eclipse.jdt.ui.PackageExplorer"; //$NON-NLS-1$
+ private static final String LIB_PATH = "jsfTest/Tag Libraries/"; //$NON-NLS-1$
+ private static final String LIB_NAME_I = "primefaces-i.taglib.xml - primefaces-2.0.0.RC.jar"; //$NON-NLS-1$
+ private static final String LIB_NAME_P = "primefaces-p.taglib.xml - primefaces-2.0.0.RC.jar"; //$NON-NLS-1$
+
+ private IViewPart webProjectsView;
+
+ public TaglibXMLUnformatedDTD_JBIDE5642(String name) {
+ super(name);
+ }
+
+ public void testTaglibXMLUnformatedDTD() throws Throwable {
+ webProjectsView = PlatformUI.getWorkbench().getActiveWorkbenchWindow()
+ .getActivePage().showView(WEB_PROJECTS_VIEW_ID);
+ assertNotNull("Web Projects view is not available", webProjectsView); //$NON-NLS-1$
+ TestUtil.delay(2000);
+ TestUtil.waitForIdle();
+
+ WebProjectsNavigator projectsNavigator = (WebProjectsNavigator) webProjectsView;
+ TreeViewer treeViewer = projectsNavigator.getViewer();
+ assertNotNull(treeViewer);
+
+ Object testLibI = findElementByPath(LIB_PATH + LIB_NAME_I, treeViewer);
+ assertNotNull("The tag library " + LIB_NAME_I + " was not found", //$NON-NLS-1$ //$NON-NLS-2$
+ testLibI);
+
+ Object testLibP = findElementByPath(LIB_PATH + LIB_NAME_P, treeViewer);
+ assertNotNull("The tag library " + LIB_NAME_P + " was not found", //$NON-NLS-1$ //$NON-NLS-2$
+ testLibP);
+ }
+
+ private Object findElementByPath(String path, final TreeViewer searchTreeViwer) {
+ Tree searchTree = searchTreeViwer.getTree();
+ if (searchTree == null || path == null) {
+ return null;
+ }
+ StringTokenizer tokenizer = new StringTokenizer(path, "/", false); //$NON-NLS-1$
+ TreeItem childItem = getItemByName(tokenizer.nextToken(), searchTree);
+ if (childItem != null) {
+ searchTreeViwer.expandToLevel(childItem.getData(), 1);
+ } else {
+ return null;
+ }
+ while (tokenizer.hasMoreTokens()) {
+ childItem = getItemByName(tokenizer.nextToken(), childItem);
+ if (childItem != null) {
+ searchTreeViwer.expandToLevel(childItem.getData(), 1);
+ } else {
+ return null;
+ }
+ }
+ return childItem.getData();
+ }
+
+ private TreeItem getItemByName(String elementName, Widget rootItem) {
+ if (rootItem == null || elementName == null) {
+ return null;
+ }
+ TreeItem[] children = null;
+ if (rootItem instanceof Tree) {
+ children = ((Tree) rootItem).getItems();
+ } else if (rootItem instanceof TreeItem) {
+ children = ((TreeItem) rootItem).getItems();
+ }
+ if (children == null) {
+ return null;
+ }
+ for (int i = 0; i < children.length; i++) {
+ if (elementName.equals(children[i].getText())) {
+ return children[i];
+ }
+ }
+ return null;
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
+ .hideView(webProjectsView);
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
+ .showView(PACKAGE_EXPLORER_VIEW_ID);
+ super.tearDown();
+ }
+
+}
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-11-25 11:52:16 UTC (rev 26929)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-11-25 12:00:24 UTC (rev 26930)
@@ -92,7 +92,6 @@
import org.jboss.tools.jsf.vpe.jsf.test.jbide.SelectAllAndCut_JBIDE4853;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.SelectWholeElement_JBIDE4713;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.SourceDomUtilTest;
-import org.jboss.tools.jsf.vpe.jsf.test.jbide.TaglibXMLUnformatedDTD_JBIDE5642;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.TestContextPathResolution;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.TestFViewLocaleAttribute_JBIDE5218;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.UnclosedELExpressionTest;
@@ -130,7 +129,7 @@
/*
* Content tests
*/
- suite.addTestSuite(JsfComponentContentTest.class);
+ suite.addTestSuite(JsfComponentContentTest.class) ;
suite.addTestSuite(Jsf20ComponentContentTest.class);
/*
* Other tests
@@ -218,7 +217,6 @@
suite.addTestSuite(NullPointerWithStyleProperty_JBIDE5193.class);
suite.addTestSuite(TestFViewLocaleAttribute_JBIDE5218.class);
suite.addTestSuite(TestOpenOnForXhtmlFiles_JBIDE5577.class);
- suite.addTestSuite(TaglibXMLUnformatedDTD_JBIDE5642.class);
suite.addTestSuite(OpenOnInJarPackageFragment_JBIDE5682.class);
suite.addTestSuite(MessageResolutionInPreviewTabTest.class);
suite.addTestSuite(OpenOnTLDPackedInJar_JBIDE5693.class);
Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TaglibXMLUnformatedDTD_JBIDE5642.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TaglibXMLUnformatedDTD_JBIDE5642.java 2010-11-25 11:52:16 UTC (rev 26929)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TaglibXMLUnformatedDTD_JBIDE5642.java 2010-11-25 12:00:24 UTC (rev 26930)
@@ -1,118 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007-2010 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributor:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-
-package org.jboss.tools.jsf.vpe.jsf.test.jbide;
-
-import java.util.StringTokenizer;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.swt.widgets.Tree;
-import org.eclipse.swt.widgets.TreeItem;
-import org.eclipse.swt.widgets.Widget;
-import org.eclipse.ui.IViewPart;
-import org.eclipse.ui.PlatformUI;
-import org.jboss.tools.jst.web.ui.navigator.WebProjectsNavigator;
-import org.jboss.tools.vpe.ui.test.TestUtil;
-import org.jboss.tools.vpe.ui.test.VpeTest;
-
-/**
- *
- * @author yzhishko
- *
- */
-
-public class TaglibXMLUnformatedDTD_JBIDE5642 extends VpeTest {
-
- private static final String WEB_PROJECTS_VIEW_ID = "org.jboss.tools.jst.web.ui.navigator.WebProjectsView"; //$NON-NLS-1$
- private static final String PACKAGE_EXPLORER_VIEW_ID = "org.eclipse.jdt.ui.PackageExplorer"; //$NON-NLS-1$
- private static final String LIB_PATH = "jsfTest/Tag Libraries/"; //$NON-NLS-1$
- private static final String LIB_NAME_I = "primefaces-i.taglib.xml - primefaces-2.0.0.RC.jar"; //$NON-NLS-1$
- private static final String LIB_NAME_P = "primefaces-p.taglib.xml - primefaces-2.0.0.RC.jar"; //$NON-NLS-1$
-
- private IViewPart webProjectsView;
-
- public TaglibXMLUnformatedDTD_JBIDE5642(String name) {
- super(name);
- }
-
- public void testTaglibXMLUnformatedDTD() throws Throwable {
- webProjectsView = PlatformUI.getWorkbench().getActiveWorkbenchWindow()
- .getActivePage().showView(WEB_PROJECTS_VIEW_ID);
- assertNotNull("Web Projects view is not available", webProjectsView); //$NON-NLS-1$
- TestUtil.delay(2000);
- TestUtil.waitForJobs();
-
- WebProjectsNavigator projectsNavigator = (WebProjectsNavigator) webProjectsView;
- TreeViewer treeViewer = projectsNavigator.getViewer();
- assertNotNull(treeViewer);
-
- Object testLibI = findElementByPath(LIB_PATH + LIB_NAME_I, treeViewer);
- assertNotNull("The tag library " + LIB_NAME_I + " was not found", //$NON-NLS-1$ //$NON-NLS-2$
- testLibI);
-
- Object testLibP = findElementByPath(LIB_PATH + LIB_NAME_P, treeViewer);
- assertNotNull("The tag library " + LIB_NAME_P + " was not found", //$NON-NLS-1$ //$NON-NLS-2$
- testLibP);
- }
-
- private Object findElementByPath(String path, final TreeViewer searchTreeViwer) {
- Tree searchTree = searchTreeViwer.getTree();
- if (searchTree == null || path == null) {
- return null;
- }
- StringTokenizer tokenizer = new StringTokenizer(path, "/", false); //$NON-NLS-1$
- TreeItem childItem = getItemByName(tokenizer.nextToken(), searchTree);
- if (childItem != null) {
- searchTreeViwer.expandToLevel(childItem.getData(), 1);
- } else {
- return null;
- }
- while (tokenizer.hasMoreTokens()) {
- childItem = getItemByName(tokenizer.nextToken(), childItem);
- if (childItem != null) {
- searchTreeViwer.expandToLevel(childItem.getData(), 1);
- } else {
- return null;
- }
- }
- return childItem.getData();
- }
-
- private TreeItem getItemByName(String elementName, Widget rootItem) {
- if (rootItem == null || elementName == null) {
- return null;
- }
- TreeItem[] children = null;
- if (rootItem instanceof Tree) {
- children = ((Tree) rootItem).getItems();
- } else if (rootItem instanceof TreeItem) {
- children = ((TreeItem) rootItem).getItems();
- }
- if (children == null) {
- return null;
- }
- for (int i = 0; i < children.length; i++) {
- if (elementName.equals(children[i].getText())) {
- return children[i];
- }
- }
- return null;
- }
-
- @Override
- protected void tearDown() throws Exception {
- PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
- .hideView(webProjectsView);
- PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
- .showView(PACKAGE_EXPLORER_VIEW_ID);
- super.tearDown();
- }
-
-}
14 years, 1 month
JBoss Tools SVN: r26929 - trunk/documentation/whatsnew/usage.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-25 06:52:16 -0500 (Thu, 25 Nov 2010)
New Revision: 26929
Modified:
trunk/documentation/whatsnew/usage/usage-news-3.2.0.Beta2.html
Log:
[JBIDE-7646] updated Usage Reporting N&N for Beta2
Modified: trunk/documentation/whatsnew/usage/usage-news-3.2.0.Beta2.html
===================================================================
--- trunk/documentation/whatsnew/usage/usage-news-3.2.0.Beta2.html 2010-11-25 11:51:32 UTC (rev 26928)
+++ trunk/documentation/whatsnew/usage/usage-news-3.2.0.Beta2.html 2010-11-25 11:52:16 UTC (rev 26929)
@@ -12,7 +12,7 @@
<p align="right">
<a href="../index.html">< Main Index</a> <a
-href="../as/as-news-3.2.0.Beta1.html">AS Tools</a></p>
+href="../as/as-news-3.2.0.Beta2.html">AS Tools</a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
<td colspan="2">
14 years, 1 month