JBoss Tools SVN: r26928 - trunk/documentation/whatsnew/gwt.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-25 06:51:32 -0500 (Thu, 25 Nov 2010)
New Revision: 26928
Modified:
trunk/documentation/whatsnew/gwt/gwt-news-1.0.0.Beta2.html
Log:
[JBIDE-7648] updated GWT Integration N&N for Beta2
Modified: trunk/documentation/whatsnew/gwt/gwt-news-1.0.0.Beta2.html
===================================================================
--- trunk/documentation/whatsnew/gwt/gwt-news-1.0.0.Beta2.html 2010-11-25 11:33:53 UTC (rev 26927)
+++ trunk/documentation/whatsnew/gwt/gwt-news-1.0.0.Beta2.html 2010-11-25 11:51:32 UTC (rev 26928)
@@ -11,7 +11,7 @@
<body>
<h1>GWT Integration 1.0.0.Beta2 What's New</h1>
-<p align="right"><a href="../index.html">< Main Index</a> <a href="../teiid/teiid-news-7.1.0.Beta1.html">Teiid Designer ></a></p>
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../teiid/teiid-news-7.1.0.Beta2.html">Teiid Designer ></a></p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
<tr>
<td colspan="2">
14 years, 1 month
JBoss Tools SVN: r26927 - in trunk/vpe: tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/handlers and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dvinnichek
Date: 2010-11-25 06:33:53 -0500 (Thu, 25 Nov 2010)
New Revision: 26927
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/IVpeToolBarManager.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/VpeToolBarManager.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/handlers/VpeCommandsTests.java
Log:
added test for 'Show text formatting bar' button on vpe toolbar and some fixes for other toolbar buttons tests
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/IVpeToolBarManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/IVpeToolBarManager.java 2010-11-25 10:26:47 UTC (rev 26926)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/IVpeToolBarManager.java 2010-11-25 11:33:53 UTC (rev 26927)
@@ -7,23 +7,26 @@
*
* Contributors:
* Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
+ ******************************************************************************/
package org.jboss.tools.vpe.editor.toolbar;
import org.eclipse.swt.widgets.Composite;
/**
- * This interface create a toolbarmanager for swt toolbar in the VPE.
- * To use it procede only in the following order: first call
- * createToolBarComposite(composite) where composite is the parent for the future toolbar
- * then call addToolBar(IvpeToolbar) to add it and finally createMenuComposite(Composite) to add it to the menu bar.
+ * This interface create a toolbarmanager for swt toolbar in the VPE. To use it
+ * procede only in the following order: first call
+ * createToolBarComposite(composite) where composite is the parent for the
+ * future toolbar then call addToolBar(IvpeToolbar) to add it and finally
+ * createMenuComposite(Composite) to add it to the menu bar.
+ *
* @author Igels
*/
public interface IVpeToolBarManager {
/**
* This method create a splitter in the given composite
+ *
* @param parent
* @return
*/
@@ -31,6 +34,7 @@
/**
* This method add the Toolbar to the splitter with the scpecified layout
+ *
* @param bar
*/
public void addToolBar(IVpeToolBar bar);
@@ -38,7 +42,14 @@
/*
* Sets the toolbar visibility
*/
- void setToolbarVisibility(boolean isVisible);
-
+ void setToolbarVisibility(boolean isVisible);
+
+ /**
+ * This method determines whether the toolbar visible.
+ *
+ * @return <code>true</code> if the Toolbar visible and <code>false</code> otherwise.
+ */
+ boolean isToolbarVisible();
+
public void dispose();
}
\ No newline at end of file
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/VpeToolBarManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/VpeToolBarManager.java 2010-11-25 10:26:47 UTC (rev 26926)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/VpeToolBarManager.java 2010-11-25 11:33:53 UTC (rev 26927)
@@ -94,6 +94,14 @@
}
}
+ public boolean isToolbarVisible() {
+ boolean toolbarVisibility = false;
+ if (cmpToolBar != null) {
+ toolbarVisibility = cmpToolBar.isVisible();
+ }
+ return toolbarVisibility;
+ }
+
/**
* show/hide toolbar
*
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/handlers/VpeCommandsTests.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/handlers/VpeCommandsTests.java 2010-11-25 10:26:47 UTC (rev 26926)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/handlers/VpeCommandsTests.java 2010-11-25 11:33:53 UTC (rev 26927)
@@ -13,6 +13,8 @@
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
+import java.util.HashMap;
+import java.util.Map;
import org.eclipse.core.commands.Command;
import org.eclipse.core.commands.State;
@@ -37,6 +39,8 @@
import org.jboss.tools.vpe.editor.VpeController;
import org.jboss.tools.vpe.editor.VpeEditorPart;
import org.jboss.tools.vpe.editor.VpeVisualDomBuilder;
+import org.jboss.tools.vpe.editor.mozilla.MozillaEditor;
+import org.jboss.tools.vpe.editor.toolbar.IVpeToolBarManager;
import org.jboss.tools.vpe.handlers.PageDesignOptionsHandler;
import org.jboss.tools.vpe.handlers.PreferencesHandler;
import org.jboss.tools.vpe.handlers.RefreshHandler;
@@ -59,8 +63,10 @@
public class VpeCommandsTests extends VpeTest {
private static String[] VPE_COMMAND_ID;
+ private static Map<String, Boolean> VPE_PREF_COMMANDS_STATES;
private Command[] commands;
private IHandlerService handlerService;
+ private static IPreferenceStore preferences;
private static final int ROTATION_NUM = 4;
@@ -71,6 +77,29 @@
ShowBundleAsELHandler.COMMAND_ID,
ShowNonVisualTagsHandler.COMMAND_ID,
ShowTextFormattingHandler.COMMAND_ID };
+
+ preferences = JspEditorPlugin.getDefault().getPreferenceStore();
+ VPE_PREF_COMMANDS_STATES = new HashMap<String, Boolean>();
+
+ boolean showBorderToogleState = preferences
+ .getBoolean(IVpePreferencesPage.SHOW_BORDER_FOR_UNKNOWN_TAGS);
+ VPE_PREF_COMMANDS_STATES.put(ShowBorderHandler.COMMAND_ID,
+ showBorderToogleState);
+
+ boolean showBundleAsELToogleState = preferences
+ .getBoolean(IVpePreferencesPage.SHOW_RESOURCE_BUNDLES_USAGE_AS_EL);
+ VPE_PREF_COMMANDS_STATES.put(ShowBundleAsELHandler.COMMAND_ID,
+ showBundleAsELToogleState);
+
+ boolean showNonVisualTagsToogleState = preferences
+ .getBoolean(IVpePreferencesPage.SHOW_NON_VISUAL_TAGS);
+ VPE_PREF_COMMANDS_STATES.put(ShowNonVisualTagsHandler.COMMAND_ID,
+ showNonVisualTagsToogleState);
+
+ boolean showTextFormattingToogleState = preferences
+ .getBoolean(IVpePreferencesPage.SHOW_TEXT_FORMATTING);
+ VPE_PREF_COMMANDS_STATES.put(ShowTextFormattingHandler.COMMAND_ID,
+ showTextFormattingToogleState);
}
@Override
@@ -80,7 +109,14 @@
.getWorkbench().getService(ICommandService.class);
commands = new Command[VPE_COMMAND_ID.length];
for (int i = 0; i < commands.length; i++) {
- commands[i] = commandService.getCommand(VPE_COMMAND_ID[i]);
+ String commandId = VPE_COMMAND_ID[i];
+ Boolean commandStateVal = VPE_PREF_COMMANDS_STATES.get(commandId);
+ Command command = commandService.getCommand(commandId);
+ State commandState = command.getState(RegistryToggleState.STATE_ID);
+ if (commandState != null) {
+ commandState.setValue(commandStateVal);
+ }
+ commands[i] = command;
}
IWorkbenchPage page = PlatformUI.getWorkbench()
.getActiveWorkbenchWindow().getActivePage();
@@ -102,17 +138,7 @@
* @throws Throwable
*/
public void testCommandState() throws Throwable {
- // initially all commands should be disabled
- IFile vpeFile = (IFile) TestUtil.getComponentPath("inputUserName.jsp",
- VpeUiTests.IMPORT_PROJECT_NAME);
-
- /*
- * Open file in the VPE
- */
- IEditorInput input = new FileEditorInput(vpeFile);
- JSPMultiPageEditor multiPageEditor = openEditor(input);
- TestUtil.delay(500);
- pageChange(multiPageEditor, 0);
+ JSPMultiPageEditor multiPageEditor = openInputUserNameJsp();
checkCommandState(true);
pageChange(multiPageEditor, 1);
checkCommandState(false);
@@ -136,8 +162,6 @@
int oldVisualOrientation = editPart.getContainer().getOrientation();
int prevVisualOrientation = oldVisualOrientation;
- IPreferenceStore preferences = JspEditorPlugin.getDefault()
- .getPreferenceStore();
String oldPrefOrientation = preferences
.getString(IVpePreferencesPage.VISUAL_SOURCE_EDITORS_SPLITTING);
@@ -182,24 +206,31 @@
State state = command.getState(RegistryToggleState.STATE_ID);
boolean oldToogleState = ((Boolean) state.getValue()).booleanValue();
+ boolean oldPrefBorderVisibility = preferences
+ .getBoolean(IVpePreferencesPage.SHOW_BORDER_FOR_UNKNOWN_TAGS);
+
+ VpeController vpeController = (VpeController) multiPageEditor
+ .getVisualEditor().getController();
+ VpeVisualDomBuilder visualDomBuilder = vpeController.getVisualBuilder();
+ boolean oldUiBorderVisibility = visualDomBuilder
+ .isShowBorderForUnknownTags();
+
+ assertEquals(oldToogleState, oldPrefBorderVisibility);
+ assertEquals(oldPrefBorderVisibility, oldUiBorderVisibility);
+
handlerService.executeCommand(ShowBorderHandler.COMMAND_ID, null);
TestUtil.delay(500);
boolean newToogleState = ((Boolean) state.getValue()).booleanValue();
assertEquals(!oldToogleState, newToogleState);
- IPreferenceStore prefStore = JspEditorPlugin.getDefault()
- .getPreferenceStore();
- boolean prefBorderVisibility = prefStore
+ boolean newPrefBorderVisibility = preferences
.getBoolean(IVpePreferencesPage.SHOW_BORDER_FOR_UNKNOWN_TAGS);
- assertEquals(!oldToogleState, prefBorderVisibility);
+ assertEquals(!oldPrefBorderVisibility, newPrefBorderVisibility);
- VpeController vpeController = (VpeController) multiPageEditor
- .getVisualEditor().getController();
- VpeVisualDomBuilder visualDomBuilder = vpeController.getVisualBuilder();
- boolean uiBorderVisibility = visualDomBuilder
+ boolean newUiBorderVisibility = visualDomBuilder
.isShowBorderForUnknownTags();
- assertEquals(!oldToogleState, uiBorderVisibility);
+ assertEquals(!oldUiBorderVisibility, newUiBorderVisibility);
}
/**
@@ -215,6 +246,19 @@
State state = command.getState(RegistryToggleState.STATE_ID);
boolean oldToogleState = ((Boolean) state.getValue()).booleanValue();
+ boolean oldPrefNonVisualTagsVisibility = preferences
+ .getBoolean(IVpePreferencesPage.SHOW_NON_VISUAL_TAGS);
+
+ VpeController vpeController = (VpeController) multiPageEditor
+ .getVisualEditor().getController();
+ VpeVisualDomBuilder visualDomBuilder = vpeController.getVisualBuilder();
+ boolean oldUiNonVisualTagsVisibility = visualDomBuilder
+ .isShowInvisibleTags();
+
+ assertEquals(oldToogleState, oldPrefNonVisualTagsVisibility);
+ assertEquals(oldPrefNonVisualTagsVisibility,
+ oldUiNonVisualTagsVisibility);
+
handlerService
.executeCommand(ShowNonVisualTagsHandler.COMMAND_ID, null);
TestUtil.delay(500);
@@ -222,18 +266,15 @@
boolean newToogleState = ((Boolean) state.getValue()).booleanValue();
assertEquals(!oldToogleState, newToogleState);
- IPreferenceStore prefStore = JspEditorPlugin.getDefault()
- .getPreferenceStore();
- boolean prefNonVisualTagsVisibility = prefStore
+ boolean newPrefNonVisualTagsVisibility = preferences
.getBoolean(IVpePreferencesPage.SHOW_NON_VISUAL_TAGS);
- assertEquals(!oldToogleState, prefNonVisualTagsVisibility);
+ assertEquals(!oldPrefNonVisualTagsVisibility,
+ newPrefNonVisualTagsVisibility);
- VpeController vpeController = (VpeController) multiPageEditor
- .getVisualEditor().getController();
- VpeVisualDomBuilder visualDomBuilder = vpeController.getVisualBuilder();
- boolean uiNonVisualTagsVisibility = visualDomBuilder
+ boolean newUiNonVisualTagsVisibility = visualDomBuilder
.isShowInvisibleTags();
- assertEquals(!oldToogleState, uiNonVisualTagsVisibility);
+ assertEquals(!oldUiNonVisualTagsVisibility,
+ newUiNonVisualTagsVisibility);
}
/**
@@ -249,25 +290,76 @@
State state = command.getState(RegistryToggleState.STATE_ID);
boolean oldToogleState = ((Boolean) state.getValue()).booleanValue();
+ boolean oldPrefBundleAsELVisibility = preferences
+ .getBoolean(IVpePreferencesPage.SHOW_RESOURCE_BUNDLES_USAGE_AS_EL);
+
+ VpeController vpeController = (VpeController) multiPageEditor
+ .getVisualEditor().getController();
+ BundleMap bundle = vpeController.getPageContext().getBundle();
+ boolean oldUiBundleAsELVisibility = bundle.isShowBundleUsageAsEL();
+
+ assertEquals(oldToogleState, oldPrefBundleAsELVisibility);
+ assertEquals(oldPrefBundleAsELVisibility, oldUiBundleAsELVisibility);
+
handlerService.executeCommand(ShowBundleAsELHandler.COMMAND_ID, null);
TestUtil.delay(500);
boolean newToogleState = ((Boolean) state.getValue()).booleanValue();
assertEquals(!oldToogleState, newToogleState);
- IPreferenceStore prefStore = JspEditorPlugin.getDefault()
- .getPreferenceStore();
- boolean prefBundleAsELVisibility = prefStore
+ boolean newPrefBundleAsELVisibility = preferences
.getBoolean(IVpePreferencesPage.SHOW_RESOURCE_BUNDLES_USAGE_AS_EL);
- assertEquals(!oldToogleState, prefBundleAsELVisibility);
+ assertEquals(!oldPrefBundleAsELVisibility, newPrefBundleAsELVisibility);
- VpeController vpeController = (VpeController) multiPageEditor
- .getVisualEditor().getController();
- BundleMap bundle = vpeController.getPageContext().getBundle();
- boolean uiBundleAsELVisibility = bundle.isShowBundleUsageAsEL();
- assertEquals(!oldToogleState, uiBundleAsELVisibility);
+ boolean newUiBundleAsELVisibility = bundle.isShowBundleUsageAsEL();
+ assertEquals(!oldUiBundleAsELVisibility, newUiBundleAsELVisibility);
}
+ /**
+ * Test 'Show text formatting bar' toolbar button
+ *
+ * @throws Throwable
+ */
+ public void testShowTextFormattingBar() throws Throwable {
+
+ JSPMultiPageEditor multiPageEditor = openInputUserNameJsp();
+
+ Command command = getCommandById(ShowTextFormattingHandler.COMMAND_ID);
+ State state = command.getState(RegistryToggleState.STATE_ID);
+ boolean oldToogleState = ((Boolean) state.getValue()).booleanValue();
+
+ boolean oldPrefTextFormattingBarVisibility = preferences
+ .getBoolean(IVpePreferencesPage.SHOW_TEXT_FORMATTING);
+
+ MozillaEditor mozillaEditor = ((VpeEditorPart) multiPageEditor
+ .getVisualEditor()).getVisualEditor();
+ IVpeToolBarManager vpeToolBarManager = mozillaEditor
+ .getVpeToolBarManager();
+ boolean oldUiTextFormattingBarVisibility = vpeToolBarManager
+ .isToolbarVisible();
+
+ assertEquals(oldToogleState, oldPrefTextFormattingBarVisibility);
+ assertEquals(oldPrefTextFormattingBarVisibility,
+ oldUiTextFormattingBarVisibility);
+
+ handlerService.executeCommand(ShowTextFormattingHandler.COMMAND_ID,
+ null);
+ TestUtil.delay(500);
+
+ boolean newToogleState = ((Boolean) state.getValue()).booleanValue();
+ assertEquals(!oldToogleState, newToogleState);
+
+ boolean newPrefTextFormattingBarVisibility = preferences
+ .getBoolean(IVpePreferencesPage.SHOW_TEXT_FORMATTING);
+ assertEquals(!oldPrefTextFormattingBarVisibility,
+ newPrefTextFormattingBarVisibility);
+
+ boolean newUiTextFormattingBarVisibility = vpeToolBarManager
+ .isToolbarVisible();
+ assertEquals(!oldUiTextFormattingBarVisibility,
+ newUiTextFormattingBarVisibility);
+ }
+
private JSPMultiPageEditor openInputUserNameJsp() throws CoreException,
IOException, SecurityException, IllegalArgumentException,
NoSuchMethodException, IllegalAccessException,
14 years, 1 month
JBoss Tools SVN: r26926 - trunk/documentation/whatsnew/images.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-25 05:26:47 -0500 (Thu, 25 Nov 2010)
New Revision: 26926
Added:
trunk/documentation/whatsnew/images/usage-reporting-linux-distro.png
trunk/documentation/whatsnew/images/usage-reporting-linux.png
trunk/documentation/whatsnew/images/usage-reporting-preferences-values.png
trunk/documentation/whatsnew/images/usage-reporting-windowsversions.png
Log:
[JBIDE-7646] Usage Reporting N&N for Beta2 created
Added: trunk/documentation/whatsnew/images/usage-reporting-linux-distro.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/usage-reporting-linux-distro.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/usage-reporting-linux.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/usage-reporting-linux.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/usage-reporting-preferences-values.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/usage-reporting-preferences-values.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/usage-reporting-windowsversions.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/usage-reporting-windowsversions.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
14 years, 1 month
JBoss Tools SVN: r26925 - branches/jbosstools-3.2.0.Beta2/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-25 04:33:39 -0500 (Thu, 25 Nov 2010)
New Revision: 26925
Modified:
branches/jbosstools-3.2.0.Beta2/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/InstanceView.java
Log:
[JBIDE-7694] get back to version when branch, creating patch then
Modified: branches/jbosstools-3.2.0.Beta2/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/InstanceView.java
===================================================================
--- branches/jbosstools-3.2.0.Beta2/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/InstanceView.java 2010-11-25 08:19:44 UTC (rev 26924)
+++ branches/jbosstools-3.2.0.Beta2/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/InstanceView.java 2010-11-25 09:33:39 UTC (rev 26925)
@@ -64,6 +64,7 @@
private Combo cloudSelector;
private Label filterLabel;
+ private DeltaCloud[] clouds;
private DeltaCloud currCloud;
private InstanceViewLabelAndContentProvider contentProvider;
@@ -80,7 +81,7 @@
if (currCloud != null) {
currCloud.removeInstanceListListener(InstanceView.this);
}
- setCurrentCloud(index);
+ currCloud = clouds[index];
storeSelectedCloud();
Display.getCurrent().asyncExec(new Runnable() {
@@ -88,6 +89,7 @@
public void run() {
viewer.setInput(currCloud);
currCloud.addInstanceListListener(InstanceView.this);
+ viewer.refresh();
}
});
@@ -131,7 +133,7 @@
@Override
public void dispose() {
- for (DeltaCloud cloud : getClouds()) {
+ for (DeltaCloud cloud : clouds) {
cloud.removeInstanceListListener(this);
}
DeltaCloudManager.getDefault().removeCloudManagerListener(this);
@@ -146,7 +148,7 @@
layout.marginWidth = 0;
container.setLayout(layout);
- DeltaCloud[] clouds = getClouds();
+ clouds = getClouds();
createCloudSelector();
initCloudSelector(getLastSelectedCloud(), cloudSelector, clouds);
@@ -161,7 +163,6 @@
currCloud = getCurrentCloud(cloudSelector.getSelectionIndex(), clouds);
addInstanceListener(currCloud, viewer);
- setViewerInput(currCloud);
setFilterLabelVisible(currCloud, filterLabel);
Point p1 = cloudSelectorLabel.computeSize(SWT.DEFAULT, SWT.DEFAULT);
@@ -194,18 +195,12 @@
PlatformUI.getWorkbench().getHelpSystem().setHelp(viewer.getControl(), "org.jboss.tools.deltacloud.ui.viewer");
hookContextMenu(viewer.getTable());
getSite().setSelectionProvider(viewer);
-
+
DeltaCloudManager.getDefault().addCloudManagerListener(this);
}
- private void setViewerInput(DeltaCloud currentCloud) {
- if (currentCloud != null) {
- viewer.setInput(currentCloud);
- }
- }
-
private DeltaCloud[] getClouds() {
- DeltaCloud[] clouds = new DeltaCloud[] {};
+ DeltaCloud[] clouds = new DeltaCloud[]{};
try {
clouds = DeltaCloudManager.getDefault().getClouds();
} catch (DeltaCloudException e) {
@@ -218,15 +213,6 @@
return clouds;
}
- private void setCurrentCloud(int index) {
- DeltaCloud[] clouds = getClouds();
- if (index >= clouds.length) {
- currCloud = null;
- } else {
- currCloud = getClouds()[index];
- }
- }
-
private void setFilterLabelVisible(DeltaCloud currentCloud, Label filterLabel) {
if (currentCloud == null) {
filterLabel.setVisible(false);
@@ -241,6 +227,7 @@
if (currentCloud != null) {
currentCloud.removeInstanceListListener(this);
currentCloud.addInstanceListListener(this);
+ viewer.setInput(currentCloud);
}
}
@@ -334,7 +321,7 @@
currName = currCloud.getName();
currIndex = cloudSelector.getSelectionIndex();
}
- DeltaCloud[] clouds = getClouds();
+ clouds = getClouds();
String[] cloudNames = new String[clouds.length];
int index = 0;
for (int i = 0; i < clouds.length; ++i) {
@@ -345,22 +332,17 @@
if (type == ICloudManagerListener.RENAME_EVENT) {
index = currIndex; // no change in cloud displayed
}
-
- setCloudSelectorItems(cloudNames);
- setCurrentCloud(index);
-
+ cloudSelector.removeModifyListener(cloudModifyListener);
+ cloudSelector.setItems(cloudNames);
if (cloudNames.length > 0) {
cloudSelector.setText(cloudNames[index]);
+ currCloud = clouds[index];
viewer.setInput(currCloud);
} else {
+ currCloud = null;
cloudSelector.setText("");
viewer.setInput(new DeltaCloudInstance[0]);
}
- }
-
- private void setCloudSelectorItems(String[] cloudNames) {
- cloudSelector.removeModifyListener(cloudModifyListener);
- cloudSelector.setItems(cloudNames);
cloudSelector.addModifyListener(cloudModifyListener);
}
@@ -373,8 +355,11 @@
Display.getDefault().syncExec(new Runnable() {
@Override
public void run() {
- currCloud.addInstanceListListener(InstanceView.this); // does not add identical instance twice
+ currCloud.removeInstanceListListener(InstanceView.this);
+
viewer.setInput(instances);
+ currCloud.addInstanceListListener(InstanceView.this);
+ viewer.refresh();
refreshToolbarCommandStates();
}
});
14 years, 1 month
JBoss Tools SVN: r26924 - in trunk/download.jboss.org/jbosstools/builds: cascade and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-11-25 03:19:44 -0500 (Thu, 25 Nov 2010)
New Revision: 26924
Added:
trunk/download.jboss.org/jbosstools/builds/cascade/
trunk/download.jboss.org/jbosstools/builds/cascade/index.html
trunk/download.jboss.org/jbosstools/builds/cascade/trunk.html
Log:
store copy of build job cascade info
Added: trunk/download.jboss.org/jbosstools/builds/cascade/index.html
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/cascade/index.html (rev 0)
+++ trunk/download.jboss.org/jbosstools/builds/cascade/index.html 2010-11-25 08:19:44 UTC (rev 26924)
@@ -0,0 +1,119 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Build Job Cascade + Results</title>
+<style>
+@import url("../../web/site.css");
+</style>
+</head>
+<body>
+<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
+<table marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"
+ cellspacing="0" cellpadding="0">
+ <tr>
+ <td colspan="2"><a href="https://www.jboss.org/tools"><img
+ src="https://www.jboss.org/dms/tools/images/tools-banner.png" border="0"/></a></td>
+ </tr>
+ <tr>
+ <td class="bodyText">  </td>
+ </tr>
+ <tr>
+ <td class="bodyText">  </td>
+ <td class="bodyText">
+<p class="bodyText"><i>Note: <b style="color: red">red links</b> require VPN
+access.</i>
+<h2 class="title">Build Job Cascade:</h2>
+<ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_stable_branch.target...">Local
+ Target Platform build</a> (build + publish)
+ <ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_stable_branch.contin...">Continuous
+ build</a> (build only, no tests, no publish)</li>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_stable_branch.tests">Tests
+ build</a> (build + tests, no publish)</li>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_stable_branch.nightly">Nightly
+ build</a> (build + tests, publish)</li>
+ <li><a style="color: red" href="http://hudson.qa.jboss.com/hudson/view/DevStudio_Stable_Branch/">drools, teiid, pi4soa, savara</a> (other components: build, test, publish)</a></li>
+ <ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_stable_branch.aggreg...">Aggregate
+ build publisher</a> (publish select pieces of aggregate site for use by
+ JBDS uberbuild)
+ <hr />
+ </li>
+</ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/devstudio-4.0.target-platform">Local
+ JBDS Target Platform build</a> (build + publish)
+ <ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/devstudio-4.0_stable_branch.updatesite">JBDS
+ Aggregate site build</a> (build core [JBT + JBDS], third-party, and
+ preview sites, publish)
+ <ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/devstudio-4.0_stable_branch.product">JBDS
+ Product build (experimental)</a> (combine JBDS components + TP into
+ installers, publish)</li>
+ <li><em><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/devstudio-4.0_stable_branch.uberbuild">JBDS
+ PDE "Uberbuilder" build</a> (compile JBDS components + some aggregate
+ pieces into installers, publish) :: deprecated</em></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+</ul>
+<h2 class="title">Results:</h2>
+<ul>
+ <li>JBT Aggregate update sites: <a
+ href="http://download.jboss.org/jbosstools/updates/nightly/">http://download.jboss.org/jbosstools/updates/nightly/</a>
+ :: <a
+ href="http://download.jboss.org/jbosstools/updates/nightly/trunk/">latest
+ from trunk</a></li>
+ <li>JBT Aggregate builds: <a
+ href="http://download.jboss.org/jbosstools/builds/nightly/">http://download.jboss.org/jbosstools/builds/nightly/</a>
+ :: <a
+ href="http://download.jboss.org/jbosstools/builds/nightly/trunk/latestBuild.html">latest
+ from trunk</a>
+ <ul>
+ <li>JBT Component builds: <a
+ href="http://download.jboss.org/jbosstools/builds/staging/">http://download.jboss.org/jbosstools/builds/staging/</a>
+ <hr />
+ <ul>
+ <li>JBDS Aggregate update sites: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/updates/nightly/">http://reports.qa.atl.jboss.com/binaries/RHDS/updates/nightly/</a>
+ :: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/updates/nightly/trunk/">latest
+ from trunk</a></li>
+ <li>JBDS Product builds: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/devstudio-4....">http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/</a></li>
+ <li><em>JBDS "Uber" builds: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/builds/nightly/">http://reports.qa.atl.jboss.com/binaries/RHDS/builds/nightly/</a>
+ :: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/builds/nightly/trunk/latest...">latest
+ from trunk</a> :: deprecated </em>
+ <ul>
+ <li>JBDS Component builds: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/">http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/</a></li>
+ <li>JBDS Other update sites: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/">http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/</a></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+</ul>
+</td></tr></table>
+</body>
+</html>
\ No newline at end of file
Added: trunk/download.jboss.org/jbosstools/builds/cascade/trunk.html
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/cascade/trunk.html (rev 0)
+++ trunk/download.jboss.org/jbosstools/builds/cascade/trunk.html 2010-11-25 08:19:44 UTC (rev 26924)
@@ -0,0 +1,119 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Build Job Cascade + Results</title>
+<style>
+@import url("../../web/site.css");
+</style>
+</head>
+<body>
+<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
+<table marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"
+ cellspacing="0" cellpadding="0">
+ <tr>
+ <td colspan="2"><a href="https://www.jboss.org/tools"><img
+ src="https://www.jboss.org/dms/tools/images/tools-banner.png" border="0"/></a></td>
+ </tr>
+ <tr>
+ <td class="bodyText">  </td>
+ </tr>
+ <tr>
+ <td class="bodyText">  </td>
+ <td class="bodyText">
+<p class="bodyText"><i>Note: <b style="color: red">red links</b> require VPN
+access.</i>
+<h2 class="title">Build Job Cascade:</h2>
+<ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_trunk.target-platform">Local
+ Target Platform build</a> (build + publish)
+ <ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_trunk.continuous">Continuous
+ build</a> (build only, no tests, no publish)</li>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_trunk.tests">Tests
+ build</a> (build + tests, no publish)</li>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_trunk.nightly">Nightly
+ build</a> (build + tests, publish)</li>
+ <li><a style="color: red" href="http://hudson.qa.jboss.com/hudson/view/DevStudio_Trunk/">drools, teiid, pi4soa, savara</a> (other components: build, test, publish)</a></li>
+ <ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_trunk.aggregate-publish">Aggregate
+ build publisher</a> (publish select pieces of aggregate site for use by
+ JBDS uberbuild)
+ <hr />
+ </li>
+</ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/devstudio-4.0.target-platform">Local
+ JBDS Target Platform build</a> (build + publish)
+ <ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/devstudio-4.0_trunk.updatesite">JBDS
+ Aggregate site build</a> (build core [JBT + JBDS], third-party, and
+ preview sites, publish)
+ <ul>
+ <li><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/devstudio-4.0_trunk.product">JBDS
+ Product build (experimental)</a> (combine JBDS components + TP into
+ installers, publish)</li>
+ <li><em><a style="color: red"
+ href="http://hudson.qa.jboss.com/hudson/job/devstudio-4.0_trunk.uberbuild">JBDS
+ PDE "Uberbuilder" build</a> (compile JBDS components + some aggregate
+ pieces into installers, publish) :: deprecated</em></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+</ul>
+<h2 class="title">Results:</h2>
+<ul>
+ <li>JBT Aggregate update sites: <a
+ href="http://download.jboss.org/jbosstools/updates/nightly/">http://download.jboss.org/jbosstools/updates/nightly/</a>
+ :: <a
+ href="http://download.jboss.org/jbosstools/updates/nightly/trunk/">latest
+ from trunk</a></li>
+ <li>JBT Aggregate builds: <a
+ href="http://download.jboss.org/jbosstools/builds/nightly/">http://download.jboss.org/jbosstools/builds/nightly/</a>
+ :: <a
+ href="http://download.jboss.org/jbosstools/builds/nightly/trunk/latestBuild.html">latest
+ from trunk</a>
+ <ul>
+ <li>JBT Component builds: <a
+ href="http://download.jboss.org/jbosstools/builds/staging/">http://download.jboss.org/jbosstools/builds/staging/</a>
+ <hr />
+ <ul>
+ <li>JBDS Aggregate update sites: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/updates/nightly/">http://reports.qa.atl.jboss.com/binaries/RHDS/updates/nightly/</a>
+ :: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/updates/nightly/trunk/">latest
+ from trunk</a></li>
+ <li>JBDS Product builds: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/devstudio-4....">http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/</a></li>
+ <li><em>JBDS "Uber" builds: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/builds/nightly/">http://reports.qa.atl.jboss.com/binaries/RHDS/builds/nightly/</a>
+ :: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/builds/nightly/trunk/latest...">latest
+ from trunk</a> :: deprecated </em>
+ <ul>
+ <li>JBDS Component builds: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/">http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/</a></li>
+ <li>JBDS Other update sites: <a style="color: red"
+ href="http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/">http://reports.qa.atl.jboss.com/binaries/RHDS/builds/staging/</a></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+</ul>
+</td></tr></table>
+</body>
+</html>
\ No newline at end of file
14 years, 1 month
JBoss Tools SVN: r26922 - branches/jbosstools-3.2.0.Beta2/drools/tests/org.jboss.tools.drools.ui.bot.test.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-11-25 01:30:52 -0500 (Thu, 25 Nov 2010)
New Revision: 26922
Modified:
branches/jbosstools-3.2.0.Beta2/drools/tests/org.jboss.tools.drools.ui.bot.test/pom.xml
Log:
switch eclipse-test-plugin to eclipse-plugin
Modified: branches/jbosstools-3.2.0.Beta2/drools/tests/org.jboss.tools.drools.ui.bot.test/pom.xml
===================================================================
--- branches/jbosstools-3.2.0.Beta2/drools/tests/org.jboss.tools.drools.ui.bot.test/pom.xml 2010-11-25 01:40:23 UTC (rev 26921)
+++ branches/jbosstools-3.2.0.Beta2/drools/tests/org.jboss.tools.drools.ui.bot.test/pom.xml 2010-11-25 06:30:52 UTC (rev 26922)
@@ -10,7 +10,7 @@
<groupId>org.jboss.tools.drools.tests</groupId>
<artifactId>org.jboss.tools.drools.ui.bot.test</artifactId>
<version>1.0.0-SNAPSHOT</version>
- <packaging>eclipse-test-plugin</packaging>
+ <packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
14 years, 1 month
JBoss Tools SVN: r26921 - trunk/ws/docs/reference.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-11-24 20:40:23 -0500 (Wed, 24 Nov 2010)
New Revision: 26921
Modified:
trunk/ws/docs/reference/pom.xml
Log:
removed nexus links
Modified: trunk/ws/docs/reference/pom.xml
===================================================================
--- trunk/ws/docs/reference/pom.xml 2010-11-25 01:39:59 UTC (rev 26920)
+++ trunk/ws/docs/reference/pom.xml 2010-11-25 01:40:23 UTC (rev 26921)
@@ -15,37 +15,6 @@
<docname>WS_Reference_Guide</docname>
<bookname>WS Reference Guide</bookname>
</properties>
-
- <repositories>
- <repository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
<profiles>
14 years, 1 month
JBoss Tools SVN: r26920 - trunk/struts/docs/struts_tools_tutorial.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-11-24 20:39:59 -0500 (Wed, 24 Nov 2010)
New Revision: 26920
Modified:
trunk/struts/docs/struts_tools_tutorial/pom.xml
Log:
removed nexus links
Modified: trunk/struts/docs/struts_tools_tutorial/pom.xml
===================================================================
--- trunk/struts/docs/struts_tools_tutorial/pom.xml 2010-11-25 01:39:39 UTC (rev 26919)
+++ trunk/struts/docs/struts_tools_tutorial/pom.xml 2010-11-25 01:39:59 UTC (rev 26920)
@@ -15,37 +15,6 @@
<docname>Struts_Tools_Tutorial</docname>
<bookname>Struts Tools Tutorial</bookname>
</properties>
-
- <repositories>
- <repository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
<profiles>
14 years, 1 month
JBoss Tools SVN: r26919 - trunk/struts/docs/struts_tools_ref_guide.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-11-24 20:39:39 -0500 (Wed, 24 Nov 2010)
New Revision: 26919
Modified:
trunk/struts/docs/struts_tools_ref_guide/pom.xml
Log:
removed nexus links
Modified: trunk/struts/docs/struts_tools_ref_guide/pom.xml
===================================================================
--- trunk/struts/docs/struts_tools_ref_guide/pom.xml 2010-11-25 01:39:13 UTC (rev 26918)
+++ trunk/struts/docs/struts_tools_ref_guide/pom.xml 2010-11-25 01:39:39 UTC (rev 26919)
@@ -15,37 +15,6 @@
<docname>Struts_Tools_Reference_Guide</docname>
<bookname>Struts Tools Reference Guide</bookname>
</properties>
-
- <repositories>
- <repository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
<profiles>
14 years, 1 month