JBoss Tools SVN: r38939 - branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central.discovery.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-02-21 12:23:52 -0500 (Tue, 21 Feb 2012)
New Revision: 38939
Modified:
branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central.discovery/plugin.xml
Log:
move GWT to Extras and point Central at that site (JBIDE-10967)
Modified: branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central.discovery/plugin.xml
===================================================================
--- branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central.discovery/plugin.xml 2012-02-21 16:34:52 UTC (rev 38938)
+++ branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central.discovery/plugin.xml 2012-02-21 17:23:52 UTC (rev 38939)
@@ -331,15 +331,16 @@
<group id="extra" />
</connectorCategory>
+ <!-- TODO: change URL to http://download.jboss.org/jbosstools/updates/indigo/ for/after Beta1 -->
<connectorDescriptor
categoryId="org.jboss.tools.central.discovery.web"
- description="Google Plugin for Eclipse (GPE) + Google Web Toolkit 2.4.0 SDK (GWT)"
+ description="Google Plugin for Eclipse (GPE) + Google Web Toolkit SDK (GWT)"
id="com.google.gwt.eclipse.sdkbundle.e37.feature"
kind="task"
license="EPL, Other"
name="Google Plugin + Web Toolkit"
provider="Google, Inc."
- siteUrl="http://dl.google.com/eclipse/plugin/3.7/">
+ siteUrl="http://download.jboss.org/jbosstools/updates/requirements/gwt/2.5.0.v2012...">
<iu id="com.google.gwt.eclipse.sdkbundle.e37.feature"/>
<iu id="com.google.gdt.eclipse.suite.e37.feature"/>
<icon
12 years, 4 months
JBoss Tools SVN: r38938 - in trunk/documentation/whatsnew/vpe: images and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2012-02-21 11:34:52 -0500 (Tue, 21 Feb 2012)
New Revision: 38938
Added:
trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1/
trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1/5861comm.png
trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1/8701button.png
trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1/8701prefs.png
Modified:
trunk/documentation/whatsnew/vpe/vpe-news-3.3.0.Beta1.html
Log:
https://issues.jboss.org/browse/JBIDE-10963 - N&N for 3.3.0.Beta1, images were added.
Property changes on: trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1
___________________________________________________________________
Added: bugtraq:number
+ true
Added: trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1/5861comm.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1/5861comm.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1/8701button.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1/8701button.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1/8701prefs.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/3.3.0.Beta1/8701prefs.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/vpe/vpe-news-3.3.0.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/vpe/vpe-news-3.3.0.Beta1.html 2012-02-21 16:28:29 UTC (rev 38937)
+++ trunk/documentation/whatsnew/vpe/vpe-news-3.3.0.Beta1.html 2012-02-21 16:34:52 UTC (rev 38938)
@@ -87,12 +87,15 @@
<tr>
<td valign="top" align="left">
<b><p>
- VPE editor row lock on Visual/Source page
+ Visual/Source page editors row lock was added.
<p></b>
</td>
<td valign="top">
- <p>VPE editor row lock on Visual/Source page.</p>
- <p><img src="images/3.3.0.Beta1/8701.png" alt="" /></p>
+ <p>Now while scrolling on part of the editor (Visual or Source) another one will be automatically positioned to the corresponding cotent.</p>
+ <p>Row lock toolbar button is placed to the Eclipse's toolbar:</p>
+ <p><img src="images/3.3.0.Beta1/8701button.png" alt="Toolbar button" /></p>
+ <p>Preferences page has additional checkbox option for the row lock:</p>
+ <p><img src="images/3.3.0.Beta1/8701prefs.png" alt="Preferences page" /></p>
<p><small>
<a href="https://jira.jboss.org/jira/browse/JBIDE-8701">Related Jira</a>
</small></p>
@@ -101,12 +104,13 @@
<tr>
<td valign="top" align="left">
<b><p>
- Add support of CSS @import expressions to VPE
+ Support of CSS @import expressions was added.
<p></b>
</td>
<td valign="top">
- <p>Add support of CSS @import expressions to VPE.</p>
- <p><img src="images/3.3.0.Beta1/5861.png" alt="" /></p>
+ <p>Now CSS @import constructions are recognized in the editor. And imported css files are inserted into web page's content.</p>
+ <p>All the imported css styles are applied:</p>
+ <p><img src="images/3.3.0.Beta1/5861comm.png" alt="CSS @import construction" /></p>
<p><small>
<a href="https://jira.jboss.org/jira/browse/JBIDE-5861">Related Jira</a>
</small></p>
12 years, 4 months
JBoss Tools SVN: r38937 - branches/jbosstools-3.3.0.Beta1/requirements/soap.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-02-21 11:28:29 -0500 (Tue, 21 Feb 2012)
New Revision: 38937
Modified:
branches/jbosstools-3.3.0.Beta1/requirements/soap/buildRequirement.xml
Log:
to use soap50 and soap51, must build them via the .xml file
Modified: branches/jbosstools-3.3.0.Beta1/requirements/soap/buildRequirement.xml
===================================================================
--- branches/jbosstools-3.3.0.Beta1/requirements/soap/buildRequirement.xml 2012-02-21 16:27:11 UTC (rev 38936)
+++ branches/jbosstools-3.3.0.Beta1/requirements/soap/buildRequirement.xml 2012-02-21 16:28:29 UTC (rev 38937)
@@ -19,6 +19,16 @@
<param name="md5" value="${soap43.build.archive.md5}" />
</antcall>
<antcall target="build.soap">
+ <param name="build.uri" value="${soap50.build.uri}"/>
+ <param name="build.archive" value="${soap50.build.archive}"/>
+ <param name="md5" value="${soap50.build.archive.md5}" />
+ </antcall>
+ <antcall target="build.soap">
+ <param name="build.uri" value="${soap51.build.uri}"/>
+ <param name="build.archive" value="${soap51.build.archive}"/>
+ <param name="md5" value="${soap51.build.archive.md5}" />
+ </antcall>
+ <antcall target="build.soap">
<param name="build.uri" value="${soap52.build.uri}"/>
<param name="build.archive" value="${soap52.build.archive}"/>
<param name="md5" value="${soap52.build.archive.md5}" />
12 years, 4 months
JBoss Tools SVN: r38936 - trunk/requirements/soap.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-02-21 11:27:11 -0500 (Tue, 21 Feb 2012)
New Revision: 38936
Modified:
trunk/requirements/soap/buildRequirement.xml
Log:
to use soap50 and soap51, must build them via the .xml file
Modified: trunk/requirements/soap/buildRequirement.xml
===================================================================
--- trunk/requirements/soap/buildRequirement.xml 2012-02-21 12:15:15 UTC (rev 38935)
+++ trunk/requirements/soap/buildRequirement.xml 2012-02-21 16:27:11 UTC (rev 38936)
@@ -19,6 +19,16 @@
<param name="md5" value="${soap43.build.archive.md5}" />
</antcall>
<antcall target="build.soap">
+ <param name="build.uri" value="${soap50.build.uri}"/>
+ <param name="build.archive" value="${soap50.build.archive}"/>
+ <param name="md5" value="${soap50.build.archive.md5}" />
+ </antcall>
+ <antcall target="build.soap">
+ <param name="build.uri" value="${soap51.build.uri}"/>
+ <param name="build.archive" value="${soap51.build.archive}"/>
+ <param name="md5" value="${soap51.build.archive.md5}" />
+ </antcall>
+ <antcall target="build.soap">
<param name="build.uri" value="${soap52.build.uri}"/>
<param name="build.archive" value="${soap52.build.archive}"/>
<param name="md5" value="${soap52.build.archive.md5}" />
12 years, 4 months
JBoss Tools SVN: r38935 - trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke.
by jbosstools-commits@lists.jboss.org
Author: jgargula
Date: 2012-02-21 07:15:15 -0500 (Tue, 21 Feb 2012)
New Revision: 38935
Modified:
trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java
Log:
Finished audit view test.
Modified: trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java
===================================================================
--- trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java 2012-02-21 11:28:49 UTC (rev 38934)
+++ trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java 2012-02-21 12:15:15 UTC (rev 38935)
@@ -180,10 +180,46 @@
assertTrue("Log file '" + LOG_FILE + "' was not created.", packageExplorer.existsResource(PROJECT_NAME, LOG_FILE));
SWTBotTreeItem treeItem = packageExplorer.selectTreeItem(LOG_FILE, new String[] {PROJECT_NAME});
DragAndDropHelper.dragAndDropOnTo(treeItem.widget, auditView.getWidget());
- assertTrue("Tree in Audit view should not be empty, but it was.", auditView.bot().tree().getAllItems().length > 0);
+ SWTBotTreeItem[] auditTreeItems = auditView.bot().tree().getAllItems();
+ assertTrue("Tree in Audit view should not be empty, but it was.", auditTreeItems.length > 0);
assertFalse("Log file '" + LOG_FILE + "' was not loaded properly into Audit view.",
- "The selected audit log is empty.".equals(auditView.bot().tree().getAllItems()[0].getText()));
- fail("Error with Audit was probably resolved. This should be completed now.");
+ "The selected audit log is empty.".equals(auditTreeItems[0].getText()));
+ assertEquals("Tree in Audit view has wrong number of items.", 4, auditTreeItems.length);
+ int index = 0;
+ assertTrue("The first node of the audit view's tree does not contain right text.",
+ auditTreeItems[index].getText().startsWith("Object inserted"));
+ assertEquals("The first node has wrong number of items", 1, auditTreeItems[index].getItems().length);
+ assertTrue("Child node of the first node does not contain right text.",
+ auditTreeItems[index].getItems()[0].getText().startsWith("Activation created: Rule Hello World"));
+ index = 1;
+ assertTrue("The second node does not contain the right text.",
+ auditTreeItems[index].getText().startsWith("Activation executed: Rule Hello World"));
+ assertEquals("The second node has wrong number of items.", 1, auditTreeItems[index].getItems().length);
+ assertTrue("Child node of the second node does not contain the right text.",
+ auditTreeItems[index].getItems()[0].getText().startsWith("Object updated"));
+ assertEquals("Child node of the second node has wrong number of items.", 2, auditTreeItems[index].getItems()[0].getItems().length);
+ assertTrue("Child node of the second node does not contain the right text.",
+ auditTreeItems[index].getItems()[0].getItems()[0].getText().startsWith("Activation created: Rule GoodBye"));
+ assertTrue("Child node of the second node does not contain the right text.",
+ auditTreeItems[index].getItems()[0].getItems()[1].getText().startsWith("Activation created: Rule Bye Bye"));
+ index = 2;
+ assertTrue("The third node does not contain the right text.",
+ auditTreeItems[index].getText().startsWith("Activation executed: Rule Bye Bye"));
+ assertEquals("The third node has wrong number of items.", 1, auditTreeItems[index].getItems().length);
+ assertTrue("Child node of the third node does not contain the right text.",
+ auditTreeItems[index].getItems()[0].getText().startsWith("Object updated"));
+ assertEquals("Child node of the third node has wrong number of items.", 2, auditTreeItems[index].getItems()[0].getItems().length);
+ assertTrue("Child node of the third node does not contain the right text.",
+ auditTreeItems[index].getItems()[0].getItems()[0].getText().startsWith("Activation created: Rule Finish rule"));
+ assertTrue("Child node of the third node does not contain the right text.",
+ auditTreeItems[index].getItems()[0].getItems()[1].getText().startsWith("Activation cancelled: Rule GoodBye"));
+ index = 3;
+ assertTrue("The fourth node does not contain the right text.",
+ auditTreeItems[index].getText().startsWith("Activation executed: Rule Finish rule"));
+ assertEquals("The fourth node has wrong number of items.", 0, auditTreeItems[index].getItems().length);
+
+ auditView.toolbarButton("Clear Log").click();
+ assertEquals("Tree should be empty, but it was not.", 0, auditView.bot().tree().getAllItems().length);
}
/**
@@ -230,7 +266,7 @@
showView(IDELabel.View.CONSOLE);
showView(IDELabel.View.WORKING_MEMORY);
assertEquals("Working memory view should be empty. Maybe it was not refreshed.",
- expectedWorkingMemorySet, getWorkingMemoryItems(rootItemText));
+ expectedWorkingMemorySet, getWorkingMemoryItems(rootItemText));
}
/**
@@ -356,12 +392,12 @@
boolean isViewOpened = false;
for (final SWTBotView view : bot.views()) {
if (viewTitle.equals(view.getTitle())) {
- view.getWidget().getDisplay().syncExec(new Runnable() {
- public void run() {
- view.show();
- view.setFocus();
- }
- });
+ view.getWidget().getDisplay().syncExec(new Runnable() {
+ public void run() {
+ view.show();
+ view.setFocus();
+ }
+ });
isViewOpened = true;
break;
}
12 years, 4 months
JBoss Tools SVN: r38934 - trunk/central/tests/org.jboss.tools.central.test.ui.bot/src/org/jboss/tools/central/test/ui/bot.
by jbosstools-commits@lists.jboss.org
Author: rhopp
Date: 2012-02-21 06:28:49 -0500 (Tue, 21 Feb 2012)
New Revision: 38934
Modified:
trunk/central/tests/org.jboss.tools.central.test.ui.bot/src/org/jboss/tools/central/test/ui/bot/CreateProjectsTest.java
Log:
Document section test
Modified: trunk/central/tests/org.jboss.tools.central.test.ui.bot/src/org/jboss/tools/central/test/ui/bot/CreateProjectsTest.java
===================================================================
--- trunk/central/tests/org.jboss.tools.central.test.ui.bot/src/org/jboss/tools/central/test/ui/bot/CreateProjectsTest.java 2012-02-21 11:22:00 UTC (rev 38933)
+++ trunk/central/tests/org.jboss.tools.central.test.ui.bot/src/org/jboss/tools/central/test/ui/bot/CreateProjectsTest.java 2012-02-21 11:28:49 UTC (rev 38934)
@@ -7,15 +7,19 @@
import org.jboss.tools.ui.bot.ext.SWTBotFactory;
import org.jboss.tools.ui.bot.ext.SWTFormsBotExt;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.jboss.tools.ui.bot.ext.condition.BrowserIsLoaded;
+import org.jboss.tools.ui.bot.ext.condition.NonSystemJobRunsCondition;
+import org.jboss.tools.ui.bot.ext.condition.TaskDuration;
import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+import org.jboss.tools.ui.bot.ext.parts.SWTBotBrowserExt;
import org.jboss.tools.ui.bot.ext.parts.SWTBotTwistie;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
-@Require(server=(a)org.jboss.tools.ui.bot.ext.config.Annotations.Server(type=ServerType.JbossAS))
+//@Require(server=(a)org.jboss.tools.ui.bot.ext.config.Annotations.Server(type=ServerType.JbossAS))
public class CreateProjectsTest extends SWTTestExt{
private static final String JBOSS_INSTALL_PATH = "/tmp/jbossAS";
@@ -31,7 +35,7 @@
deleteDirectory(new File(JBOSS_INSTALL_PATH));
}
- @Test
+ //@Test
public void createProjectsSectionTest(){
//waitForAWhile();
SWTFormsBotExt formsBot = SWTBotFactory.getFormsBot();
@@ -113,9 +117,8 @@
bot.activeShell().close();
}
- @Test
+ //@Test
public void projectExamplesSectionTest(){
- //SWTBotSection section = bot.section("Project Examples");
SWTBotTwistie twistieBot = bot.twistieByLabel("JBoss Quickstarts");
if (!twistieBot.isExpanded()){
twistieBot.toggle();
@@ -123,29 +126,47 @@
SWTFormsBotExt formsBot = SWTBotFactory.getFormsBot();
formsBot.formTextWithText("Helloworld").click();
bot.clickButton("Start");
- waitForAllMultipleTimes(3);
+ bot.waitWhile(new NonSystemJobRunsCondition(), TaskDuration.NORMAL.getTimeout());
formsBot.formTextWithText("Numberguess").click();
bot.clickButton("Start");
- waitForAllMultipleTimes(3);
+ bot.waitWhile(new NonSystemJobRunsCondition(), TaskDuration.NORMAL.getTimeout());
log.info(bot.activeEditor().getTitle());
formsBot.formTextWithText("Login").click();
bot.clickButton("Start");
- waitForAllMultipleTimes(3);
+ bot.waitWhile(new NonSystemJobRunsCondition(),TaskDuration.NORMAL.getTimeout());
formsBot.formTextWithText("Kitchensink").click();
bot.clickButton("Start");
- waitForAllMultipleTimes(3);
+ bot.waitWhile(new NonSystemJobRunsCondition(), TaskDuration.NORMAL.getTimeout());
}
- /**
- * calls method waitForAll x times
- * @param value how many times waitForAll should be called
- */
- private void waitForAllMultipleTimes(int value){
- for (int i=0; i<value; i++){
- util.waitForAll();
- }
+ @Test
+ public void documentationSectionTest(){
+ /*bot.hyperlink("New and Noteworthy").click();
+ bot.waitUntil(new BrowserIsLoaded(bot.browserExt()), TaskDuration.LONG.getTimeout());
+ assertFalse("JBoss Central sould not be active editor right now", bot.activeEditor().getTitle().equals("JBoss Central"));
+ bot.activeEditor().close();
+ bot.hyperlink("User Forum").click();
+ bot.waitUntil(new BrowserIsLoaded(bot.browserExt()), TaskDuration.LONG.getTimeout());
+ assertFalse("JBoss Central sould not be active editor right now", bot.activeEditor().getTitle().equals("JBoss Central"));
+ bot.activeEditor().close();*/
+ testHyperlinkToBrowser("New and Noteworthy");
+ testHyperlinkToBrowser("User Forum");
+ testHyperlinkToBrowser("Reference");
+ testHyperlinkToBrowser("Developer Forum");
+ testHyperlinkToBrowser("FAQ");
+ testHyperlinkToBrowser("Wiki");
+ testHyperlinkToBrowser("Screencasts");
+ testHyperlinkToBrowser("Issue Tracker");
+ bot.sleep(TIME_10S);
}
+ private void testHyperlinkToBrowser(String hyperlinkText){
+ bot.hyperlink(hyperlinkText).click();
+ bot.waitUntil(new BrowserIsLoaded(bot.browserExt()), TaskDuration.LONG.getTimeout());
+ assertFalse("JBoss Central sould not be active editor right now", bot.activeEditor().getTitle().equals("JBoss Central"));
+ bot.activeEditor().close();
+ }
+
private void waitForAWhile(){
bot.sleep(Long.MAX_VALUE);
}
12 years, 4 months
JBoss Tools SVN: r38933 - trunk/documentation/whatsnew/vpe.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2012-02-21 06:22:00 -0500 (Tue, 21 Feb 2012)
New Revision: 38933
Added:
trunk/documentation/whatsnew/vpe/vpe-news-3.3.0.Beta1.html
Log:
https://issues.jboss.org/browse/JBIDE-10963 - Visual Editor Component N&N for 3.3.0.Beta1 (DRAFT)
Added: trunk/documentation/whatsnew/vpe/vpe-news-3.3.0.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/vpe/vpe-news-3.3.0.Beta1.html (rev 0)
+++ trunk/documentation/whatsnew/vpe/vpe-news-3.3.0.Beta1.html 2012-02-21 11:22:00 UTC (rev 38933)
@@ -0,0 +1,117 @@
+<?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 Visual Page Editor 3.3.0.Beta1</title>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-17645367-5']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script></head>
+<body>
+<h1>What's New Visual Page Editor 3.3.0.Beta1</h1>
+
+<p align="right">
+<a href="../index.html">< Main Index</a>
+<a href="../cdi/cdi-news-3.3.0.Beta1.html">CDI/Seam 3 Tools ></a>
+</p>
+
+<table border="0" cellpadding="10" cellspacing="0">
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>BrowserSim</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <b><p>
+ browsersim should be sexy
+ <p></b>
+ </td>
+ <td valign="top">
+ <p>BrowserSim is...</p>
+ <p><img src="images/3.3.0.Beta1/.png"
+ alt=""
+ title=""/></p>
+ <p><small>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-10431">Related Jira</a>
+ </small></p>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <b><p>
+ BrowserSim launch via toolbar
+ <p></b>
+ </td>
+ <td valign="top">
+ <p>
+ BrowserSim launch via toolbar/command should guess which url based on current selection/editor.
+ </p>
+ <p><img src="../images/.png"/></p>
+ <p><small>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-10553">Related Jira</a>
+ </small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Editor</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <b><p>
+ VPE editor row lock on Visual/Source page
+ <p></b>
+ </td>
+ <td valign="top">
+ <p>VPE editor row lock on Visual/Source page.</p>
+ <p><img src="images/3.3.0.Beta1/8701.png" alt="" /></p>
+ <p><small>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-8701">Related Jira</a>
+ </small></p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <b><p>
+ Add support of CSS @import expressions to VPE
+ <p></b>
+ </td>
+ <td valign="top">
+ <p>Add support of CSS @import expressions to VPE.</p>
+ <p><img src="images/3.3.0.Beta1/5861.png" alt="" /></p>
+ <p><small>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-5861">Related Jira</a>
+ </small></p>
+ </td>
+ </tr>
+</table>
+</body>
+</html>
\ No newline at end of file
12 years, 4 months
JBoss Tools SVN: r38932 - in trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext: parts and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: rhopp
Date: 2012-02-21 05:39:54 -0500 (Tue, 21 Feb 2012)
New Revision: 38932
Added:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/condition/BrowserIsLoaded.java
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/parts/SWTBotBrowserExt.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/JobLists.java
Log:
Added Condition BrowserIsLoaded and some minor changes in IDELabel and JobList
Added: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/condition/BrowserIsLoaded.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/condition/BrowserIsLoaded.java (rev 0)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/condition/BrowserIsLoaded.java 2012-02-21 10:39:54 UTC (rev 38932)
@@ -0,0 +1,50 @@
+package org.jboss.tools.ui.bot.ext.condition;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
+import org.eclipse.swtbot.swt.finder.waits.ICondition;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.jboss.tools.ui.bot.ext.parts.SWTBotBrowserExt;
+
+/**
+ * Returns false while the default page of given browser isn't loaded.
+ * Also closes "Security Warning" shell, if it opens during loading the page.
+ *
+ * @author rhopp
+ *
+ */
+
+public class BrowserIsLoaded implements ICondition {
+
+ SWTBot bot;
+ private SWTBotBrowserExt browser;
+
+ public BrowserIsLoaded(SWTBotBrowserExt browser){
+ super();
+ this.browser = browser;
+ }
+
+ @Override
+ public boolean test() throws Exception {
+ //Trying whether the security window has appeared
+ try{
+ SWTBotShell shell = bot.shell("Security Warning");
+ shell.close();
+ }catch(WidgetNotFoundException wnfe){
+ }
+
+ return browser.isPageLoaded();
+ }
+
+ @Override
+ public void init(SWTBot bot) {
+ browser.addProgressListenerToBrowser();
+ this.bot = bot;
+ }
+
+ @Override
+ public String getFailureMessage() {
+ return null;
+ }
+
+}
Property changes on: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/condition/BrowserIsLoaded.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/parts/SWTBotBrowserExt.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/parts/SWTBotBrowserExt.java 2012-02-21 10:08:35 UTC (rev 38931)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/parts/SWTBotBrowserExt.java 2012-02-21 10:39:54 UTC (rev 38932)
@@ -246,4 +246,20 @@
"].value = \""+ text +"\";");
bot.sleep(Timing.time5S());
}
+
+ /**
+ * Useful when browser is runned with some page to load, because the ProgressListener
+ * isn't attached to the browserWidget, so this class can't recognize the default
+ * page is loaded
+ */
+ public void addProgressListenerToBrowser(){
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ @Override
+ public void run() {
+ pl.setDone(false);
+ widget.addProgressListener(pl);
+ }
+ });
+ }
}
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2012-02-21 10:08:35 UTC (rev 38931)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2012-02-21 10:39:54 UTC (rev 38932)
@@ -831,7 +831,7 @@
public static final String NEW_DYNAMIC_WEB_PROJECT = "New Dynamic Web Project";
public static final String PROJECT_EXAMPLE = "Project Example";
public static final String NEW_JBOSS_PROJECT = "New JBoss Project";
- public static final String OPENSHIFT_APP_WIZARD = "OpenShift application wizard";
+ public static final String OPENSHIFT_APP_WIZARD = "New OpenShift Express Application";
}
public static class NewViewDialog{
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/JobLists.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/JobLists.java 2012-02-21 10:08:35 UTC (rev 38931)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/JobLists.java 2012-02-21 10:39:54 UTC (rev 38932)
@@ -16,5 +16,5 @@
public class JobLists {
public static String[] ignoredJobs = { "Process Console Input Job", "Usage Data Event consumer",
- "Updating indexes","Reporting JBoss Developer Studio usage", "Asking User to allow reporting" };
+ "Updating indexes","Reporting JBoss Developer Studio usage", "Asking User to allow reporting", "Usage Data Event consumer" };
}
12 years, 4 months
JBoss Tools SVN: r38931 - in branches/jbosstools-3.3.0.Beta1/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui: editor and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-02-21 05:08:35 -0500 (Tue, 21 Feb 2012)
New Revision: 38931
Modified:
branches/jbosstools-3.3.0.Beta1/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java
branches/jbosstools-3.3.0.Beta1/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java
Log:
JBIDE-10971
Modified: branches/jbosstools-3.3.0.Beta1/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java
===================================================================
--- branches/jbosstools-3.3.0.Beta1/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java 2012-02-21 09:49:05 UTC (rev 38930)
+++ branches/jbosstools-3.3.0.Beta1/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java 2012-02-21 10:08:35 UTC (rev 38931)
@@ -48,6 +48,8 @@
public class ChangePortDialog extends TitleAreaDialog {
private static final int RESTORE_DEFAULT = 35;
+ private boolean modified = false;
+
public static class ChangePortDialogInfo {
public String port;
public String defaultValue;
@@ -165,8 +167,11 @@
currentQuery.setAttribute(d.getAttribute());
currentQuery.setXpathPattern(d.getXpath());
currentQuery.setName(d.getName());
+ currentQuery.clearCache();
+ this.modified = true;
category.save();
fillWidgets();
+ selectionChanged();
}
}
}
@@ -255,4 +260,8 @@
}
}
}
+
+ public boolean isModified() {
+ return modified;
+ }
}
Modified: branches/jbosstools-3.3.0.Beta1/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java
===================================================================
--- branches/jbosstools-3.3.0.Beta1/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java 2012-02-21 09:49:05 UTC (rev 38930)
+++ branches/jbosstools-3.3.0.Beta1/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java 2012-02-21 10:08:35 UTC (rev 38931)
@@ -268,8 +268,12 @@
if( result == Dialog.OK) {
currentXPath = dialog.getSelection();
section.execute(getCommand());
- text.setFocus();
}
+ if( dialog.isModified() ) {
+ initialize();
+ validate();
+ }
+ text.setFocus();
}
};
}
12 years, 4 months
JBoss Tools SVN: r38930 - in trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui: editor and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-02-21 04:49:05 -0500 (Tue, 21 Feb 2012)
New Revision: 38930
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java
Log:
JBIDE-10971 to trunk ensuring caches for xpaths are cleared after modifications
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java 2012-02-21 08:57:53 UTC (rev 38929)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java 2012-02-21 09:49:05 UTC (rev 38930)
@@ -48,6 +48,8 @@
public class ChangePortDialog extends TitleAreaDialog {
private static final int RESTORE_DEFAULT = 35;
+ private boolean modified = false;
+
public static class ChangePortDialogInfo {
public String port;
public String defaultValue;
@@ -165,8 +167,11 @@
currentQuery.setAttribute(d.getAttribute());
currentQuery.setXpathPattern(d.getXpath());
currentQuery.setName(d.getName());
+ currentQuery.clearCache();
+ this.modified = true;
category.save();
fillWidgets();
+ selectionChanged();
}
}
}
@@ -255,4 +260,8 @@
}
}
}
+
+ public boolean isModified() {
+ return modified;
+ }
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java 2012-02-21 08:57:53 UTC (rev 38929)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java 2012-02-21 09:49:05 UTC (rev 38930)
@@ -268,8 +268,12 @@
if( result == Dialog.OK) {
currentXPath = dialog.getSelection();
section.execute(getCommand());
- text.setFocus();
}
+ if( dialog.isModified() ) {
+ initialize();
+ validate();
+ }
+ text.setFocus();
}
};
}
12 years, 4 months