JBoss Tools SVN: r27038 - in trunk/documentation/whatsnew/modeshape: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: elvisisking
Date: 2010-11-30 17:21:56 -0500 (Tue, 30 Nov 2010)
New Revision: 27038
Added:
trunk/documentation/whatsnew/modeshape/images/PublishDialog-3.2.0.beta2.png
trunk/documentation/whatsnew/modeshape/modeshape-news-3.2.0.Beta2.html
Removed:
trunk/documentation/whatsnew/modeshape/images/PublishDialog-7.1.0.beta2.png
trunk/documentation/whatsnew/modeshape/modeshape-news-7.2.0.Beta2.html
Log:
JBIDE-7660 ModeShape N&N Beta2: Brings back content of file that was mistakenly deleted. Link off main index page should also now work.
Added: trunk/documentation/whatsnew/modeshape/images/PublishDialog-3.2.0.beta2.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/modeshape/images/PublishDialog-3.2.0.beta2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: trunk/documentation/whatsnew/modeshape/images/PublishDialog-7.1.0.beta2.png
===================================================================
(Binary files differ)
Added: trunk/documentation/whatsnew/modeshape/modeshape-news-3.2.0.Beta2.html
===================================================================
--- trunk/documentation/whatsnew/modeshape/modeshape-news-3.2.0.Beta2.html (rev 0)
+++ trunk/documentation/whatsnew/modeshape/modeshape-news-3.2.0.Beta2.html 2010-11-30 22:21:56 UTC (rev 27038)
@@ -0,0 +1,55 @@
+<?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>ModeShape What's New</title>
+</head>
+<body>
+<h1>ModeShape 3.2.0 Beta2 What's New</h1>
+<p align="right"><a href="../index.html">< Main Index</a></p>
+<p>Last revised November 29, 2010</p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr><td colspan="2"><hr /></td></tr>
+ <tr>
+ <td valign="top" align="left">
+ <p>
+ <b>Publishing Wizard</b>
+ </p>
+ </td>
+
+ <td valign="top">
+ <p>
+ The publishing wizard now allows you to specify where in the JCR repository your files and folders will be published. When
+ you publish to one of these "publish areas", the ModeShape repository will automatically sequence your files to extract
+ useful information and make it available to other repository users. (The kind and structure of information extracted
+ depends upon the type of file and the configuration of the ModeShape repository.)
+ </p>
+ <p>
+ The actual location where the files will be published is constructed by appending the server URL, the names of the JCR
+ repository and workspace, the path to the publish area, and the path of the files and folders within your Eclipse workspace.
+ </p>
+
+ <p>
+ Here is what the ModeShape publishing wizard looks like:
+ </p>
+
+ <p>
+ <img src="images/PublishDialog-3.2.0.beta2.png" alt="ModeShape Publishing Wizard"/>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr /></td>
+ </tr>
+</table>
+
+</body>
+
+</html>
+
+
Property changes on: trunk/documentation/whatsnew/modeshape/modeshape-news-3.2.0.Beta2.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/documentation/whatsnew/modeshape/modeshape-news-7.2.0.Beta2.html
===================================================================
--- trunk/documentation/whatsnew/modeshape/modeshape-news-7.2.0.Beta2.html 2010-11-30 21:57:20 UTC (rev 27037)
+++ trunk/documentation/whatsnew/modeshape/modeshape-news-7.2.0.Beta2.html 2010-11-30 22:21:56 UTC (rev 27038)
@@ -1,53 +0,0 @@
-<?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>ModeShape What's New</title>
-</head>
-<body>
-<h1>ModeShape 7.1.0 Beta2 What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a></p>
-<p>Last revised November 24, 2010</p>
-
-<table border="0" cellpadding="10" cellspacing="0" width="80%">
- <tr><td colspan="2"><hr /></td></tr>
- <tr>
- <td valign="top" align="left">
- <p>
- <b>Publishing Wizard</b>
- </p>
- </td>
-
- <td valign="top">
- <p>
- The publishing wizard now allows you to optionally enter a repository workspace area. A workspace area is a known
- repository location that is being monitored by the ModeShape service responsible for sequencing files. A file published
- to a workspace area will get sequenced as long as there is a sequencer operating on their file type.
- </p>
- <p>The workspace area path is appended to the server URL to determine the root location the wizard uses to publish and
- unpublish files. A file's project path is appended to the root path to determine its repository location.
- </p>
-
- <p>
- Here is what the ModeShape publishing wizard looks like:
- </p>
-
- <p>
- <img src="images/PublishDialog-7.1.0.beta2.png" alt="ModeShape Publishing Wizard"/>
- </p>
- </td>
- </tr>
- <tr>
- <td colspan="2"><hr /></td>
- </tr>
-</table>
-
-</body>
-
-</html>
-
-
14 years
JBoss Tools SVN: r27037 - workspace/snjeza/seam-examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-11-30 16:57:20 -0500 (Tue, 30 Nov 2010)
New Revision: 27037
Modified:
workspace/snjeza/seam-examples/photoalbum-mavenized.zip
workspace/snjeza/seam-examples/photoalbum.zip
Log:
JBIDE-7159 PhotoAlbum - EAR (RichFaces 3.3.1.GA, Seam 2.2.0.GA) - example does not start correctly out-of-the-box
Modified: workspace/snjeza/seam-examples/photoalbum-mavenized.zip
===================================================================
(Binary files differ)
Modified: workspace/snjeza/seam-examples/photoalbum.zip
===================================================================
(Binary files differ)
14 years
JBoss Tools SVN: r27036 - trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-11-30 16:32:47 -0500 (Tue, 30 Nov 2010)
New Revision: 27036
Modified:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/plugin.xml
Log:
https://jira.jboss.org/browse/JBIDE-7440 Between build #79 and #80, 874 tests disappeared
vpe.ui.tests extension point id updated to vpe.ui.test in struts.test plug-in
Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/plugin.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/plugin.xml 2010-11-30 20:00:50 UTC (rev 27035)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/plugin.xml 2010-11-30 21:32:47 UTC (rev 27036)
@@ -2,7 +2,7 @@
<?eclipse version="3.3"?>
<plugin>
<extension
- point="org.jboss.tools.vpe.ui.tests">
+ point="org.jboss.tools.vpe.ui.test">
<tests
description="Unit tests for Struts support in VPE"
name="Struts Tests"
14 years
JBoss Tools SVN: r27035 - in trunk: tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2010-11-30 15:00:50 -0500 (Tue, 30 Nov 2010)
New Revision: 27035
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsProject.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddServer.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java
Log:
Fixes for JBDS 4.0.0.Beta2
Modified: trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java
===================================================================
--- trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java 2010-11-30 19:25:57 UTC (rev 27034)
+++ trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java 2010-11-30 20:00:50 UTC (rev 27035)
@@ -306,7 +306,7 @@
SWTEclipseExt.getTreeItemOnPath(
bot,
bot.tree(),
- Timing.time3S(),
+ Timing.time5S(),
importFileName,
new String[] {
IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,
@@ -352,7 +352,7 @@
SWTBotView guvnorReposioryView = guvnorRepositories.show();
SWTBotTreeItem tiRoot = guvnorRepositories.selectTreeItem(IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,null)
.doubleClick();
- bot.sleep(Timing.time2S());
+ bot.sleep(Timing.time5S());
SWTBot dialogBot = bot.shell("").activate().bot();
dialogBot.textWithLabel(IDELabel.GuvnorConsoleLoginDialog.USER_NAME).setText(
GuvnorRepositoriesTest.GUVNOR_USER_NAME);
@@ -413,7 +413,7 @@
SWTEclipseExt.getTreeItemOnPath(
bot,
bot.tree(),
- Timing.time3S(),
+ Timing.time5S(),
testFileName,
new String[] {
IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,
Modified: trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsProject.java
===================================================================
--- trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsProject.java 2010-11-30 19:25:57 UTC (rev 27034)
+++ trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsProject.java 2010-11-30 20:00:50 UTC (rev 27035)
@@ -75,7 +75,7 @@
bot.button(IDELabel.Button.NEXT).click();
bot.button(IDELabel.Button.FINISH).click();
SWTTestExt.util.waitForAll(30*1000L);
- bot.sleep(Timing.time5S());
+ bot.sleep(Timing.time10S());
assertTrue("Project "
+ droolsProjectName
+ " was not created properly.",SWTEclipseExt.isProjectInPackageExplorer(bot,droolsProjectName));
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddServer.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddServer.java 2010-11-30 19:25:57 UTC (rev 27034)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddServer.java 2010-11-30 20:00:50 UTC (rev 27035)
@@ -11,13 +11,13 @@
import org.jboss.tools.ui.bot.ext.gen.ActionItem.Server.JBossCommunityJBossAS51;
import org.jboss.tools.ui.bot.ext.gen.ActionItem.Server.JBossCommunityJBossAS60;
import org.jboss.tools.ui.bot.ext.gen.ActionItem.Server.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform43;
-import org.jboss.tools.ui.bot.ext.gen.ActionItem.Server.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem.Server.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5x;
import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossCommunityJBoss42Runtime;
import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossCommunityJBoss50Runtime;
import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossCommunityJBoss51Runtime;
import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossCommunityJBoss60Runtime;
import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform43Runtime;
-import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50Runtime;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem.ServerRuntime.JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5xRuntime;
/**
* adds server (version and type depends on {@link TestConfigurator#server})
* @author lzoubek
@@ -96,13 +96,13 @@
JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform43.LABEL
);
}
- if ("5.0".equals(version)) {
- return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50Runtime.LABEL,
- JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50.LABEL);
+ if ("5.0".equals(version) || "5.x".equals(version)) {
+ return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5xRuntime.LABEL,
+ JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5x.LABEL);
}
if ("5.1".equals(version)) {
- return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50Runtime.LABEL,
- JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50.LABEL);
+ return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5xRuntime.LABEL,
+ JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5x.LABEL);
}
}
@@ -112,9 +112,9 @@
JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform43.LABEL
);
}
- if ("5.0".equals(version)) {
- return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50Runtime.LABEL,
- JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50.LABEL);
+ if ("5.0".equals(version) || "5.x".equals(version)) {
+ return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5xRuntime.LABEL,
+ JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5x.LABEL);
}
}
@@ -125,12 +125,12 @@
);
}
if ("5.0".equals(version)) {
- return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50Runtime.LABEL,
- JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50.LABEL);
+ return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5xRuntime.LABEL,
+ JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5x.LABEL);
}
- if ("5.1".equals(version)) {
- return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50Runtime.LABEL,
- JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50.LABEL);
+ if ("5.1".equals(version) || "5.x".equals(version)) {
+ return new ServerInfo(JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5xRuntime.LABEL,
+ JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5x.LABEL);
}
}
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java 2010-11-30 19:25:57 UTC (rev 27034)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java 2010-11-30 20:00:50 UTC (rev 27035)
@@ -1676,12 +1676,12 @@
*/
public static final String TEXT_DIRECTORY = "Directory:";
}
- public static class JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50 {
+ public static class JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5x {
/**
- * represents item : JBoss Enterprise Middleware->JBoss Enterprise Application Platform 5.0
+ * represents item : JBoss Enterprise Middleware->JBoss Enterprise Application Platform 5.x
*/
public static final IServer LABEL = new IServer() {
- public String getName() { return "JBoss Enterprise Application Platform 5.0";}
+ public String getName() { return "JBoss Enterprise Application Platform 5.x";}
public List<String> getGroupPath() {
List<String> l = new Vector<String>();
l.add("JBoss Enterprise Middleware");
@@ -10382,12 +10382,12 @@
*/
public static final String TEXT_DIRECTORY = "Directory:";
}
- public static class JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform50Runtime {
+ public static class JBossEnterpriseMiddlewareJBossEnterpriseApplicationPlatform5xRuntime {
/**
- * represents item : JBoss Enterprise Middleware->JBoss Enterprise Application Platform 5.0 Runtime
+ * represents item : JBoss Enterprise Middleware->JBoss Enterprise Application Platform 5.x Runtime
*/
public static final IServerRuntime LABEL = new IServerRuntime() {
- public String getName() { return "JBoss Enterprise Application Platform 5.0 Runtime";}
+ public String getName() { return "JBoss Enterprise Application Platform 5.x Runtime";}
public List<String> getGroupPath() {
List<String> l = new Vector<String>();
l.add("JBoss Enterprise Middleware");
14 years
JBoss Tools SVN: r27034 - trunk/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2010-11-30 14:25:57 -0500 (Tue, 30 Nov 2010)
New Revision: 27034
Modified:
trunk/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/CommonUIPlugin.java
Log:
https://jira.jboss.org/browse/JBIDE-7762
Modified: trunk/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/CommonUIPlugin.java
===================================================================
--- trunk/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/CommonUIPlugin.java 2010-11-30 19:24:36 UTC (rev 27033)
+++ trunk/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/CommonUIPlugin.java 2010-11-30 19:25:57 UTC (rev 27034)
@@ -48,14 +48,16 @@
private static CommonUIPlugin plugin;
private ColorRegistry colorRegistry;
- protected boolean imagesAndColorsInitialized;
+ // https://jira.jboss.org/browse/JBIDE-7762
+ // simplify, simplify, simplify!
+ private ImageRegistry imageRegistry;
+
/**
* The constructor.
*/
public CommonUIPlugin() {
plugin = this;
- imagesAndColorsInitialized = false;
}
/**
@@ -101,9 +103,11 @@
@Override
// https://jira.jboss.org/browse/JBIDE-7724
public synchronized ImageRegistry getImageRegistry() {
- ImageRegistry result = super.getImageRegistry();
- initialize();
- return result;
+ if (imageRegistry == null) {
+ imageRegistry = super.getImageRegistry();
+ initializeImages(Display.getCurrent());
+ }
+ return imageRegistry;
}
/**
@@ -114,7 +118,7 @@
public synchronized ColorRegistry getColorRegistry() {
if (colorRegistry == null) {
colorRegistry = new ColorRegistry();
- initialize();
+ registerColors(Display.getCurrent());
}
return colorRegistry;
}
@@ -200,15 +204,6 @@
colorRegistry.put(ICommonUIConstants.COLOR_SELECTION_HANDLE_CORNER, ColorUtils.getLightShade(selectionColor.getRGB(), 2, 3));
}
- protected void initialize() {
- if (!imagesAndColorsInitialized) {
- imagesAndColorsInitialized = true;
- Display display = Display.getCurrent();
- initializeImages(display);
- registerColors(display);
- }
- }
-
/**
* Method to create an error status object and write an error message to the log
* based on the passed boolean value.
14 years
JBoss Tools SVN: r27033 - branches/jbosstools-3.2.0.Beta2/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2010-11-30 14:24:36 -0500 (Tue, 30 Nov 2010)
New Revision: 27033
Modified:
branches/jbosstools-3.2.0.Beta2/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/CommonUIPlugin.java
Log:
https://jira.jboss.org/browse/JBIDE-7762
Modified: branches/jbosstools-3.2.0.Beta2/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/CommonUIPlugin.java
===================================================================
--- branches/jbosstools-3.2.0.Beta2/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/CommonUIPlugin.java 2010-11-30 18:10:55 UTC (rev 27032)
+++ branches/jbosstools-3.2.0.Beta2/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/CommonUIPlugin.java 2010-11-30 19:24:36 UTC (rev 27033)
@@ -48,14 +48,16 @@
private static CommonUIPlugin plugin;
private ColorRegistry colorRegistry;
- protected boolean imagesAndColorsInitialized;
+ // https://jira.jboss.org/browse/JBIDE-7762
+ // simplify, simplify, simplify!
+ private ImageRegistry imageRegistry;
+
/**
* The constructor.
*/
public CommonUIPlugin() {
plugin = this;
- imagesAndColorsInitialized = false;
}
/**
@@ -101,9 +103,11 @@
@Override
// https://jira.jboss.org/browse/JBIDE-7724
public synchronized ImageRegistry getImageRegistry() {
- ImageRegistry result = super.getImageRegistry();
- initialize();
- return result;
+ if (imageRegistry == null) {
+ imageRegistry = super.getImageRegistry();
+ initializeImages(Display.getCurrent());
+ }
+ return imageRegistry;
}
/**
@@ -114,7 +118,7 @@
public synchronized ColorRegistry getColorRegistry() {
if (colorRegistry == null) {
colorRegistry = new ColorRegistry();
- initialize();
+ registerColors(Display.getCurrent());
}
return colorRegistry;
}
@@ -200,15 +204,6 @@
colorRegistry.put(ICommonUIConstants.COLOR_SELECTION_HANDLE_CORNER, ColorUtils.getLightShade(selectionColor.getRGB(), 2, 3));
}
- protected void initialize() {
- if (!imagesAndColorsInitialized) {
- imagesAndColorsInitialized = true;
- Display display = Display.getCurrent();
- initializeImages(display);
- registerColors(display);
- }
- }
-
/**
* Method to create an error status object and write an error message to the log
* based on the passed boolean value.
14 years
JBoss Tools SVN: r27032 - trunk/jst/tests/org.jboss.tools.jst.css.test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-11-30 13:10:55 -0500 (Tue, 30 Nov 2010)
New Revision: 27032
Modified:
trunk/jst/tests/org.jboss.tools.jst.css.test/plugin.xml
Log:
https://jira.jboss.org/browse/JBIDE-7440 Between build #79 and #80, 874 tests disappeared
vpe.ui.tests extension point id updated to vpe.ui.test
Modified: trunk/jst/tests/org.jboss.tools.jst.css.test/plugin.xml
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.css.test/plugin.xml 2010-11-30 17:06:44 UTC (rev 27031)
+++ trunk/jst/tests/org.jboss.tools.jst.css.test/plugin.xml 2010-11-30 18:10:55 UTC (rev 27032)
@@ -2,7 +2,7 @@
<?eclipse version="3.2"?>
<plugin>
<extension
- point="org.jboss.tools.vpe.ui.tests">
+ point="org.jboss.tools.vpe.ui.test">
<tests
name="CSS Views test "
testSuite="org.jboss.tools.jst.css.test.CSSAllTests">
14 years
JBoss Tools SVN: r27031 - in branches/jbosstools-3.2.0.Beta2/hibernatetools: tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-11-30 12:06:44 -0500 (Tue, 30 Nov 2010)
New Revision: 27031
Modified:
branches/jbosstools-3.2.0.Beta2/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java
branches/jbosstools-3.2.0.Beta2/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java
Log:
https://jira.jboss.org/browse/JBIDE-7746 - try to fix - add snip of test code - to find what happen on Hudson...
Modified: branches/jbosstools-3.2.0.Beta2/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java
===================================================================
--- branches/jbosstools-3.2.0.Beta2/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java 2010-11-30 16:36:44 UTC (rev 27030)
+++ branches/jbosstools-3.2.0.Beta2/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java 2010-11-30 17:06:44 UTC (rev 27031)
@@ -556,4 +556,9 @@
externalPropFileName = fileName + "." + externalPropFileName; //$NON-NLS-1$
return externalPropFileName;
}
+
+ // special test code -> to fix tests on Hudson...
+ public String getVersionTestMarker() {
+ return "qwerty"; //$NON-NLS-1$
+ }
}
Modified: branches/jbosstools-3.2.0.Beta2/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java
===================================================================
--- branches/jbosstools-3.2.0.Beta2/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java 2010-11-30 16:36:44 UTC (rev 27030)
+++ branches/jbosstools-3.2.0.Beta2/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java 2010-11-30 17:06:44 UTC (rev 27031)
@@ -234,6 +234,7 @@
public void testCodeGenXMLFactoryRevengAll() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(true, true, false);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestSimple(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
String codeGen = adjustXmlText(codeGenFactory.createCodeGenXML());
String codeGenProperties = codeGenFactory.getPropFileContentPreSave();
String sample = getSample("AntCodeGenReveng_test1.xml"); //$NON-NLS-1$
@@ -244,6 +245,7 @@
public void testCodeGenXMLFactoryRevengOne() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(true, false, false);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestSimple(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
String codeGen = adjustXmlText(codeGenFactory.createCodeGenXML());
String codeGenProperties = codeGenFactory.getPropFileContentPreSave();
String sample = getSample("AntCodeGenReveng_test2.xml"); //$NON-NLS-1$
@@ -254,6 +256,7 @@
public void testCodeGenXMLFactoryAll() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(false, true, false);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestRelative(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
//
String strPlace = "project/src"; //$NON-NLS-1$
codeGenFactory.setPlace2Generate(strPlace);
@@ -269,6 +272,7 @@
public void testCodeGenXMLFactoryOne() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(false, false, false);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestRelative(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
//
String strPlace = "project/src"; //$NON-NLS-1$
codeGenFactory.setPlace2Generate(strPlace);
@@ -284,6 +288,7 @@
public void testCodeGenXMLFactoryJpaAll() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(false, true, true);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestJpa(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
String codeGen = adjustXmlText(codeGenFactory.createCodeGenXML());
String codeGenProperties = codeGenFactory.getPropFileContentPreSave();
codeGen = updatePaths(codeGen);
@@ -295,6 +300,7 @@
public void testCodeGenXMLFactoryJpaOne() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(false, false, true);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestJpa(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
String codeGen = adjustXmlText(codeGenFactory.createCodeGenXML());
String codeGenProperties = codeGenFactory.getPropFileContentPreSave();
codeGen = updatePaths(codeGen);
@@ -306,6 +312,7 @@
public void testCodeGenXMLFactoryNullableAll() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(false, true, false);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestNullable(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
String codeGen = adjustXmlText(codeGenFactory.createCodeGenXML());
String codeGenProperties = codeGenFactory.getPropFileContentPreSave();
codeGen = updatePaths(codeGen);
@@ -317,6 +324,7 @@
public void testCodeGenXMLFactoryNullableOne() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(false, false, false);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestNullable(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
String codeGen = adjustXmlText(codeGenFactory.createCodeGenXML());
String codeGenProperties = codeGenFactory.getPropFileContentPreSave();
codeGen = updatePaths(codeGen);
@@ -328,6 +336,7 @@
public void testCodeGenXMLFactoryPropertiesAll() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(false, true, false);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestProperties(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
String codeGen = adjustXmlText(codeGenFactory.createCodeGenXML());
String codeGenProperties = codeGenFactory.getPropFileContentPreSave();
codeGen = updatePaths(codeGen);
@@ -340,6 +349,7 @@
public void testCodeGenXMLFactoryPropertiesOne() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(false, false, false);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestProperties(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
String codeGen = adjustXmlText(codeGenFactory.createCodeGenXML());
String codeGenProperties = codeGenFactory.getPropFileContentPreSave();
codeGen = updatePaths(codeGen);
@@ -352,6 +362,7 @@
public void testCodeGenXMLFactoryInternalPropertiesAll() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(false, true, false);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestProperties(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
codeGenFactory.setExternalPropFile(false);
String codeGen = adjustXmlText(codeGenFactory.createCodeGenXML());
String codeGenProperties = codeGenFactory.getPropFileContentPreSave();
@@ -365,6 +376,7 @@
public void testCodeGenXMLFactoryInternalPropertiesOne() {
TestLaunchConfig testLaunchConfig = createTestLaunchConfig(false, false, false);
CodeGenXMLFactory codeGenFactory = new CodeGenXMLFactory4TestProperties(testLaunchConfig);
+ assertEquals(codeGenFactory.getVersionTestMarker(), "qwerty"); //$NON-NLS-1$
codeGenFactory.setExternalPropFile(false);
String codeGen = adjustXmlText(codeGenFactory.createCodeGenXML());
String codeGenProperties = codeGenFactory.getPropFileContentPreSave();
14 years
JBoss Tools SVN: r27030 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-30 11:36:44 -0500 (Tue, 30 Nov 2010)
New Revision: 27030
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
Log:
[JBIDE-7761] added "show in remote system explorer" to the context menu of the Cloud View
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-30 16:29:29 UTC (rev 27029)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-30 16:36:44 UTC (rev 27030)
@@ -1,3 +1,8 @@
+2010-11-30 André Dietisheim <adietish(a)redhat.com>
+
+ * plugin.xml:
+ [JBIDE-7761] added "show in remote system explorer" to the context menu of the Cloud View
+
2010-11-26 André Dietisheim <adietish(a)redhat.com>
* src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnectionWizard.java (addPages):
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-30 16:29:29 UTC (rev 27029)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-30 16:36:44 UTC (rev 27030)
@@ -594,6 +594,9 @@
<separator
name="filters"
visible="true" />
+ <separator
+ name="remoteSysExplorer"
+ visible="true" />
</menuContribution>
<!-- instance commands -->
<menuContribution
@@ -731,6 +734,19 @@
tooltip="%command.filterinstances.tooltip">
</command>
</menuContribution>
+ <!-- remote system explorer -->
+ <menuContribution
+ allPopups="true"
+ locationURI="popup:org.jboss.tools.deltacloud.ui.views.DeltaCloudView?after=remoteSysExplorer">
+ <command
+ commandId="org.jboss.tools.deltacloud.ui.showremotesysexplorer"
+ disabledIcon="icons/system_viewd.gif"
+ icon="icons/system_view.gif"
+ label="%command.showInRemoteSysExplorer"
+ style="push"
+ tooltip="%command.showInRemoteSysExplorer.tooltip">
+ </command>
+ </menuContribution>
</extension>
<extension point="org.eclipse.ui.menus">
14 years
JBoss Tools SVN: r27029 - trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2010-11-30 11:29:29 -0500 (Tue, 30 Nov 2010)
New Revision: 27029
Modified:
trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnBendpointsImpl.java
trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnDiagramImpl.java
trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnEdgeImpl.java
Log:
modify edge initialization sequence
Modified: trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnBendpointsImpl.java
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnBendpointsImpl.java 2010-11-30 16:14:44 UTC (rev 27028)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnBendpointsImpl.java 2010-11-30 16:29:29 UTC (rev 27029)
@@ -2,12 +2,10 @@
import java.util.List;
-import org.eclipse.bpmn2.di.BPMNEdge;
import org.eclipse.bpmn2.di.BPMNShape;
import org.eclipse.dd.dc.Bounds;
import org.eclipse.dd.dc.DcFactory;
import org.eclipse.dd.dc.Point;
-import org.eclipse.dd.di.DiagramElement;
import org.eclipse.gmf.runtime.notation.Edge;
import org.eclipse.gmf.runtime.notation.RelativeBendpoints;
import org.eclipse.gmf.runtime.notation.View;
@@ -23,6 +21,10 @@
this.edge = edge;
}
+ public Edge getEdge() {
+ return edge;
+ }
+
@SuppressWarnings("rawtypes")
@Override
public void setPoints(List newPoints) {
Modified: trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnDiagramImpl.java
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnDiagramImpl.java 2010-11-30 16:14:44 UTC (rev 27028)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnDiagramImpl.java 2010-11-30 16:29:29 UTC (rev 27029)
@@ -6,10 +6,8 @@
import org.eclipse.bpmn2.Artifact;
import org.eclipse.bpmn2.FlowElement;
-import org.eclipse.bpmn2.FlowNode;
-import org.eclipse.bpmn2.Process;
import org.eclipse.bpmn2.FlowElementsContainer;
-import org.eclipse.bpmn2.SequenceFlow;
+import org.eclipse.bpmn2.Process;
import org.eclipse.bpmn2.SubProcess;
import org.eclipse.bpmn2.di.BPMNDiagram;
import org.eclipse.bpmn2.di.BPMNEdge;
@@ -87,18 +85,18 @@
BpmnEdgeImpl edge = (BpmnEdgeImpl)view;
View parentView = viewMap.get(parent);
if (parentView != null && parentView instanceof Diagram) {
- edge.initialize((Diagram)parentView);
+ edge.initialize((Diagram)parentView, viewMap);
}
- EObject bpmnElement = edge.getElement();
- if (bpmnElement instanceof SequenceFlow) {
- SequenceFlow sequenceFlow = (SequenceFlow)bpmnElement;
- FlowNode source = sequenceFlow.getSourceRef();
- FlowNode target = sequenceFlow.getTargetRef();
- View sourceView = viewMap.get(source);
- View targetView = viewMap.get(target);
- edge.setSource(sourceView);
- edge.setTarget(targetView);
- }
+// EObject bpmnElement = edge.getElement();
+// if (bpmnElement instanceof SequenceFlow) {
+// SequenceFlow sequenceFlow = (SequenceFlow)bpmnElement;
+// FlowNode source = sequenceFlow.getSourceRef();
+// FlowNode target = sequenceFlow.getTargetRef();
+// View sourceView = viewMap.get(source);
+// View targetView = viewMap.get(target);
+// edge.setSource(sourceView);
+// edge.setTarget(targetView);
+// }
}
}
Modified: trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnEdgeImpl.java
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnEdgeImpl.java 2010-11-30 16:14:44 UTC (rev 27028)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.process.diagram/src-custom/org/jboss/tools/bpmn2/gmf/notation/BpmnEdgeImpl.java 2010-11-30 16:29:29 UTC (rev 27029)
@@ -2,21 +2,18 @@
import java.util.ArrayList;
import java.util.List;
+import java.util.Map;
import org.eclipse.bpmn2.BaseElement;
+import org.eclipse.bpmn2.FlowNode;
+import org.eclipse.bpmn2.SequenceFlow;
import org.eclipse.bpmn2.di.BPMNEdge;
import org.eclipse.dd.dc.Bounds;
import org.eclipse.dd.dc.Point;
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.gmf.runtime.notation.Bendpoints;
import org.eclipse.gmf.runtime.notation.Connector;
import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.gmf.runtime.notation.NotationFactory;
-import org.eclipse.gmf.runtime.notation.NotationPackage;
import org.eclipse.gmf.runtime.notation.RelativeBendpoints;
import org.eclipse.gmf.runtime.notation.View;
import org.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint;
@@ -47,15 +44,17 @@
public void setBendpoints(Bendpoints bendpoints) {
if (bendpoints != null && bendpoints instanceof BpmnBendpointsImpl) {
BpmnBendpointsImpl bpmnBendpoints = (BpmnBendpointsImpl)bendpoints;
- bpmnBendpoints.setEdge(this);
- // force refresh of the points list
- bpmnBendpoints.setPoints(bpmnBendpoints.getPoints());
+ if (bpmnBendpoints.getEdge() != this) {
+ bpmnBendpoints.setEdge(this);
+ // force refresh of the points list
+ bpmnBendpoints.setPoints(bpmnBendpoints.getPoints());
+ }
}
super.setBendpoints(bendpoints);
}
- public void initialize(Diagram parentView) {
- initializeElement();
+ public void initialize(Diagram parentView, Map<EObject, View> viewMap) {
+ initializeElement(viewMap);
initializeBendpoints();
setType(Bpmn2VisualIDRegistry.getType(
Bpmn2VisualIDRegistry.getLinkWithClassVisualID(getElement())));
@@ -87,11 +86,20 @@
}
- private void initializeElement() {
+ private void initializeElement(Map<EObject, View> viewMap) {
EObject element = bpmnEdge.getBpmnElement();
if (element != null) {
super.setElement(element);
}
+ if (element instanceof SequenceFlow) {
+ SequenceFlow sequenceFlow = (SequenceFlow)element;
+ FlowNode source = sequenceFlow.getSourceRef();
+ FlowNode target = sequenceFlow.getTargetRef();
+ View sourceView = viewMap.get(source);
+ View targetView = viewMap.get(target);
+ setSource(sourceView);
+ setTarget(targetView);
+ }
}
}
14 years