JBoss Tools SVN: r38879 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: xcoulon
Date: 2012-02-17 10:03:27 -0500 (Fri, 17 Feb 2012)
New Revision: 38879
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java
Log:
Fixed - RefreshTutorialsJob refreshTutorialsJob = RefreshTutorialsJob.INSTANCE;
https://issues.jboss.org/browse/JBIDE-10488
Setting a timeout to 5 min for import at the end of wizard
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java 2012-02-17 15:02:46 UTC (rev 38878)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java 2012-02-17 15:03:27 UTC (rev 38879)
@@ -172,7 +172,7 @@
try {
final DelegatingProgressMonitor delegatingMonitor = new DelegatingProgressMonitor();
IStatus jobResult = WizardUtils.runInWizard(new ImportJob(delegatingMonitor), delegatingMonitor,
- getContainer());
+ getContainer(), 300);
return JobUtils.isOk(jobResult);
} catch (Exception e) {
ErrorDialog.openError(getShell(), "Error", "Could not create local git repository.", OpenShiftUIActivator
@@ -198,7 +198,7 @@
}
}
- }, getContainer());
+ }, null, getContainer(), 300);
return status.isOK();
} catch (Exception e) {
return false;
12 years, 7 months
JBoss Tools SVN: r38878 - trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui.
by jbosstools-commits@lists.jboss.org
Author: xcoulon
Date: 2012-02-17 10:02:46 -0500 (Fri, 17 Feb 2012)
New Revision: 38878
Modified:
trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/JobResultFuture.java
trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/WizardUtils.java
Log:
Fixed - RefreshTutorialsJob refreshTutorialsJob = RefreshTutorialsJob.INSTANCE;
https://issues.jboss.org/browse/JBIDE-10488
(extra fixes)
Modified: trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/JobResultFuture.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/JobResultFuture.java 2012-02-17 15:00:57 UTC (rev 38877)
+++ trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/JobResultFuture.java 2012-02-17 15:02:46 UTC (rev 38878)
@@ -29,6 +29,7 @@
*/
public class JobResultFuture implements Future<IStatus> {
+ private AtomicBoolean done = new AtomicBoolean();
private AtomicBoolean cancelled = new AtomicBoolean();
private ArrayBlockingQueue<IStatus> queue = new ArrayBlockingQueue<IStatus>(1);
@@ -49,7 +50,7 @@
@Override
public boolean isDone() {
- return queue.size() == 1;
+ return done.get();
}
@Override
@@ -68,7 +69,8 @@
@Override
public void done(IJobChangeEvent event) {
- queue.offer(job.getResult());
+ queue.offer(event.getResult());
+ done.set(true);
}
});
}
Modified: trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/WizardUtils.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/WizardUtils.java 2012-02-17 15:00:57 UTC (rev 38877)
+++ trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/WizardUtils.java 2012-02-17 15:02:46 UTC (rev 38878)
@@ -100,11 +100,11 @@
*/
public static IStatus runInWizard(final Job job, final DelegatingProgressMonitor delegatingMonitor,
IWizardContainer container, final long timeout) throws InvocationTargetException, InterruptedException {
+ final JobResultFuture future = new JobResultFuture(job);
container.run(true, true, new IRunnableWithProgress() {
@Override
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
IProgressMonitor monitorToUse = setupDelegatingMonitorIfPresent(delegatingMonitor, monitor);
- final JobResultFuture future = new JobResultFuture(job);
monitorToUse.beginTask(job.getName(), IProgressMonitor.UNKNOWN);
job.schedule();
try {
@@ -115,10 +115,10 @@
monitorToUse.done();
}
});
- final IStatus result = job.getResult();
- if(result != null) {
- return result;
+ if(future.isDone()) {
+ return job.getResult();
}
+ CommonUIPlugin.getDefault().logError("Operation did not complete in a reasonnable amount of time");
return new Status(IStatus.ERROR, CommonUIPlugin.PLUGIN_ID,
"Operation did not complete in a reasonnable amount of time");
}
12 years, 7 months
JBoss Tools SVN: r38877 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-02-17 10:00:57 -0500 (Fri, 17 Feb 2012)
New Revision: 38877
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/ExpressDetailsSection.java
Log:
adapting the details composite to avoid gradients
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/ExpressDetailsSection.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/ExpressDetailsSection.java 2012-02-17 14:55:55 UTC (rev 38876)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/ExpressDetailsSection.java 2012-02-17 15:00:57 UTC (rev 38877)
@@ -41,6 +41,7 @@
details = ExpressDetailsComposite.createComposite(section, createCallback(), ExpressServerUtils.EXPRESS_SOURCE_MODE, false);
toolkit.paintBordersFor(details.getComposite());
+ toolkit.adapt(details.getComposite());
section.setClient(details.getComposite());
details.appNameCombo.setEnabled(false);
}
12 years, 7 months
JBoss Tools SVN: r38876 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-02-17 09:55:55 -0500 (Fri, 17 Feb 2012)
New Revision: 38876
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java
Log:
[JBIDE-10879] disabling the remote name label, too
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java 2012-02-17 14:50:30 UTC (rev 38875)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java 2012-02-17 14:55:55 UTC (rev 38876)
@@ -149,16 +149,21 @@
BeanProperties.value(GitCloningSettingsWizardPageModel.PROPERTY_REMOTE_NAME).observe(pageModel);
ValueBindingBuilder.bind(remoteNameTextObservable).to(remoteNameModelObservable).in(dbc);
- final IObservableValue useDefaultRemoteNameObservable =
- WidgetProperties.selection().observe(useDefaultRemoteNameButton);
final IObservableValue useDefaultRemoteNameModelObservable =
BeanProperties.value(GitCloningSettingsWizardPageModel.PROPERTY_USE_DEFAULT_REMOTE_NAME).observe(
pageModel);
- ValueBindingBuilder.bind(useDefaultRemoteNameObservable).to(useDefaultRemoteNameModelObservable)
+ final IObservableValue useDefaultRemoteNameObservable =
+ WidgetProperties.selection().observe(useDefaultRemoteNameButton);
+ ValueBindingBuilder
+ .bind(useDefaultRemoteNameObservable)
+ .to(useDefaultRemoteNameModelObservable)
.in(dbc);
ValueBindingBuilder
.bind(WidgetProperties.enabled().observe(remoteNameText))
.notUpdating(useDefaultRemoteNameModelObservable).converting(new InvertingBooleanConverter()).in(dbc);
+ ValueBindingBuilder
+ .bind(WidgetProperties.enabled().observe(remoteNameLabel))
+ .notUpdating(useDefaultRemoteNameModelObservable).converting(new InvertingBooleanConverter()).in(dbc);
// move focus to the project name text control when choosing the 'Use an
// existing project' option.
useDefaultRemoteNameButton.addSelectionListener(onDefaultRemoteNameUnchecked());
@@ -224,7 +229,7 @@
// allow to enable a proj only for as7 openshift applications
// pageModel.resetRepositoryPath();
pageModel.resetRemoteName();
-// pageModel.refreshApplicationName();
+ // pageModel.refreshApplicationName();
enableWidgets(pageModel.isNewProject());
}
12 years, 7 months
JBoss Tools SVN: r38875 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-02-17 09:50:30 -0500 (Fri, 17 Feb 2012)
New Revision: 38875
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java
Log:
[JBIDE-10879] disabling the remote name label, too
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java 2012-02-17 14:09:23 UTC (rev 38874)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java 2012-02-17 14:50:30 UTC (rev 38875)
@@ -60,6 +60,7 @@
private Button useDefaultRemoteNameButton;
private Button useDefaultRepoPathButton;
private Text remoteNameText;
+ private Label remoteNameLabel;
public GitCloningSettingsWizardPage(OpenShiftExpressApplicationWizard wizard, IOpenShiftExpressWizardModel model) {
super(
@@ -135,10 +136,10 @@
GridDataFactory.fillDefaults().align(SWT.LEFT, SWT.CENTER).span(3, 1).applyTo(useDefaultRemoteNameButton);
useDefaultRemoteNameButton.addSelectionListener(onDefaultRemoteName());
- Label labelForRemoteName = new Label(cloneGroup, SWT.NONE);
- labelForRemoteName.setText("Remote name:");
+ this.remoteNameLabel = new Label(cloneGroup, SWT.NONE);
+ remoteNameLabel.setText("Remote name:");
GridDataFactory.fillDefaults().align(SWT.LEFT, SWT.CENTER).grab(false, false).indent(10, 0)
- .applyTo(labelForRemoteName);
+ .applyTo(remoteNameLabel);
remoteNameText = new Text(cloneGroup, SWT.BORDER);
GridDataFactory.fillDefaults().span(1, 1).align(SWT.LEFT, SWT.CENTER).align(SWT.FILL, SWT.CENTER)
.grab(true, false).applyTo(remoteNameText);
@@ -233,10 +234,12 @@
useDefaultRemoteNameButton.setEnabled(false);
useDefaultRemoteNameButton.setSelection(true);
remoteNameText.setEnabled(false);
+ remoteNameLabel.setEnabled(false);
} else {
useDefaultRepoPathButton.setEnabled(false);
useDefaultRemoteNameButton.setEnabled(true);
remoteNameText.setEnabled(!useDefaultRemoteNameButton.getSelection());
+ remoteNameLabel.setEnabled(!useDefaultRemoteNameButton.getSelection());
}
}
12 years, 7 months
JBoss Tools SVN: r38874 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-02-17 09:09:23 -0500 (Fri, 17 Feb 2012)
New Revision: 38874
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ConfigureGitSharedProject.java
Log:
[JBIDE-10479] corrected error message when there's a remote with the very same name but a different git uri
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ConfigureGitSharedProject.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ConfigureGitSharedProject.java 2012-02-17 14:05:07 UTC (rev 38873)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ConfigureGitSharedProject.java 2012-02-17 14:09:23 UTC (rev 38874)
@@ -119,13 +119,13 @@
RemoteConfig config = EGitUtils.getRemoteByName(remoteName, repository);
if (config != null) {
if (EGitUtils.hasRemoteUrl(
- Pattern.compile(RegExUtils.escapeRegex(getApplication().getGitUri())), config)) {
- return;
+ Pattern.compile(RegExUtils.escapeRegex(getApplication().getGitUri())), config)) {
+ return;
}
// we shouldn't get here, the UI should validate the remote name and
// inform about an error in this case
throw new OpenShiftUIException(
- "Could not enable OpenShift on project {0}. There's already a a remote called {1}.",
+ "Could not enable OpenShift on project {0}. There's already a a remote called {1} that points to a differnt git repository.",
project.getName(), remoteName);
}
12 years, 7 months
JBoss Tools SVN: r38873 - trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui.
by jbosstools-commits@lists.jboss.org
Author: xcoulon
Date: 2012-02-17 09:05:07 -0500 (Fri, 17 Feb 2012)
New Revision: 38873
Modified:
trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/WizardUtils.java
Log:
Fixed - RefreshTutorialsJob refreshTutorialsJob = RefreshTutorialsJob.INSTANCE;
https://issues.jboss.org/browse/JBIDE-10488
Modified: trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/WizardUtils.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/WizardUtils.java 2012-02-17 13:51:24 UTC (rev 38872)
+++ trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/WizardUtils.java 2012-02-17 14:05:07 UTC (rev 38873)
@@ -11,10 +11,14 @@
package org.jboss.tools.common.ui;
import java.lang.reflect.InvocationTargetException;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.TimeUnit;
+import java.util.concurrent.TimeoutException;
import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.wizard.IWizard;
@@ -33,11 +37,11 @@
}
/**
- * Runs the given job in the given wizard container. This method will return
- * immediately, it will not wait for the job completion.
+ * Runs the given job in the given wizard container. This method will return immediately, it will not wait for the
+ * job completion.
* <p>
- * In order to have the wizard displaying a progress bar, you need to set
- * Wizard#setNeedsProgressMonitor to <code>true</code>.
+ * In order to have the wizard displaying a progress bar, you need to set Wizard#setNeedsProgressMonitor to
+ * <code>true</code>.
*
* @param job
* the job to run
@@ -52,22 +56,21 @@
* @see IWizardContainer#run(boolean, boolean, IRunnableWithProgress)
* @see Job
*/
- public static IStatus runInWizard(final Job job, IWizardContainer container)
- throws InvocationTargetException, InterruptedException {
+ public static IStatus runInWizard(final Job job, IWizardContainer container) throws InvocationTargetException,
+ InterruptedException {
return runInWizard(job, null, container);
}
/**
* Runs the given job in the given wizard container.
* <p>
- * In order to have the wizard displaying a progress bar, you need to set
- * Wizard#setNeedsProgressMonitor to <code>true</code>.
+ * In order to have the wizard displaying a progress bar, you need to set Wizard#setNeedsProgressMonitor to
+ * <code>true</code>.
*
* @param job
* the job to run in the wizard
* @param delegatingMonitor
- * the delegating monitor that the wizard monitor shall be added
- * to.
+ * the delegating monitor that the wizard monitor shall be added to.
* @param container
* the wizard container to run the job in
* @return a future that allows you to wait for the job result
@@ -75,27 +78,54 @@
* @throws InterruptedException
*/
public static IStatus runInWizard(final Job job, final DelegatingProgressMonitor delegatingMonitor,
- IWizardContainer container) throws InvocationTargetException, InterruptedException {
- final IStatus[] statusHolder = new IStatus[1];
- container.run(true, false, new IRunnableWithProgress() {
+ final IWizardContainer container) throws InvocationTargetException, InterruptedException {
+ return runInWizard(job, delegatingMonitor, container, 120);
+ }
+
+ /**
+ * Runs the given job in the given wizard container.
+ * <p>
+ * In order to have the wizard displaying a progress bar, you need to set Wizard#setNeedsProgressMonitor to
+ * <code>true</code>.
+ *
+ * @param job
+ * the job to run in the wizard
+ * @param delegatingMonitor
+ * the delegating monitor that the wizard monitor shall be added to.
+ * @param container
+ * the wizard container to run the job in
+ * @return a future that allows you to wait for the job result
+ * @throws InvocationTargetException
+ * @throws InterruptedException
+ */
+ public static IStatus runInWizard(final Job job, final DelegatingProgressMonitor delegatingMonitor,
+ IWizardContainer container, final long timeout) throws InvocationTargetException, InterruptedException {
+ container.run(true, true, new IRunnableWithProgress() {
@Override
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
IProgressMonitor monitorToUse = setupDelegatingMonitorIfPresent(delegatingMonitor, monitor);
+ final JobResultFuture future = new JobResultFuture(job);
monitorToUse.beginTask(job.getName(), IProgressMonitor.UNKNOWN);
-
job.schedule();
- job.join();
- statusHolder[0] = job.getResult();
+ try {
+ future.get(timeout, TimeUnit.SECONDS);
+ } catch (ExecutionException e) {
+ } catch (TimeoutException e) {
+ }
monitorToUse.done();
}
-
});
- return statusHolder[0];
+ final IStatus result = job.getResult();
+ if(result != null) {
+ return result;
+ }
+ return new Status(IStatus.ERROR, CommonUIPlugin.PLUGIN_ID,
+ "Operation did not complete in a reasonnable amount of time");
}
/**
- * Returns the delegating monitor if present or the simple monitor
- * otherwise. The simple monitor is added to the delegating one.
+ * Returns the delegating monitor if present or the simple monitor otherwise. The simple monitor is added to the
+ * delegating one.
*
* @param delegatingMonitor
* @param monitor
@@ -114,13 +144,11 @@
/**
* Runs the given job in the given wizard container.
* <p>
- * Furhtermore it updates the models and targets of the given data binding
- * context. This might be necessary if the given job will change widget
- * enablements in the calling wizard page. The reason for is that the runner
- * saves the widget enablement states when it's up to execute the runnable.
- * It then restores those states once he finished executing the runnable. It
- * may therefore restore incorrect states since the job changed the
- * enablements when it was run.
+ * Furhtermore it updates the models and targets of the given data binding context. This might be necessary if the
+ * given job will change widget enablements in the calling wizard page. The reason for is that the runner saves the
+ * widget enablement states when it's up to execute the runnable. It then restores those states once he finished
+ * executing the runnable. It may therefore restore incorrect states since the job changed the enablements when it
+ * was run.
*
* @param job
* the job
12 years, 7 months
JBoss Tools SVN: r38872 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-02-17 08:51:24 -0500 (Fri, 17 Feb 2012)
New Revision: 38872
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationConfigurationWizardPage.java
Log:
not clearing the application form (as requested by max)
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationConfigurationWizardPage.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationConfigurationWizardPage.java 2012-02-17 13:35:07 UTC (rev 38871)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationConfigurationWizardPage.java 2012-02-17 13:51:24 UTC (rev 38872)
@@ -319,9 +319,9 @@
Object newValue = event.diff.getNewValue();
if (newValue instanceof Boolean) {
Boolean useExisting = (Boolean) newValue;
- if (!useExisting) {
- resetExistingApplication();
- }
+// if (!useExisting) {
+// resetExistingApplication();
+// }
enableApplicationWidgets(useExisting);
}
}
12 years, 7 months
JBoss Tools SVN: r38871 - trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/resources/config.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2012-02-17 08:35:07 -0500 (Fri, 17 Feb 2012)
New Revision: 38871
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/resources/config/devices.cfg
Log:
https://issues.jboss.org/browse/JBIDE-10431 : browsersim should be sexy
- set iPhone 3 skin as default for all mobile devices
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/resources/config/devices.cfg
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/resources/config/devices.cfg 2012-02-17 13:29:35 UTC (rev 38870)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/resources/config/devices.cfg 2012-02-17 13:35:07 UTC (rev 38871)
@@ -5,7 +5,7 @@
Apple iPad 2 768 1024 Mozilla/5.0 (iPad; U; CPU OS 4_3_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8G4 Safari/6533.18.5 Apple iPhone 3
Apple iPhone 3 320 480 Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7 Apple iPhone 3
Apple iPhone 4 640 960 Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7 Apple iPhone 3
-RIM BlackBerry Bold Touch 9900 640 480 Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; en-US) AppleWebKit/534.1+ (KHTML, like Gecko) Version/6.0.0.246 Mobile Safari/534.1+
-Samsung Galaxy S 480 800 Mozilla/5.0 (Linux; U; Android 2.3.3; en-us; GT-I9000 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
-Samsung Galaxy S II 480 800 Mozilla/5.0 (Linux; U; Android 2.3; en-us; GT-I9100 Build/GRH78) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
-Samsung Galaxy Tab 10.1 800 1280 Mozilla/5.0 (Linux; U; Android 3.0.1; en-us; GT-P7100 Build/HRI83) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 MobileSafari/534.13
+RIM BlackBerry Bold Touch 9900 640 480 Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; en-US) AppleWebKit/534.1+ (KHTML, like Gecko) Version/6.0.0.246 Mobile Safari/534.1+ Apple iPhone 3
+Samsung Galaxy S 480 800 Mozilla/5.0 (Linux; U; Android 2.3.3; en-us; GT-I9000 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 Apple iPhone 3
+Samsung Galaxy S II 480 800 Mozilla/5.0 (Linux; U; Android 2.3; en-us; GT-I9100 Build/GRH78) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 Apple iPhone 3
+Samsung Galaxy Tab 10.1 800 1280 Mozilla/5.0 (Linux; U; Android 3.0.1; en-us; GT-P7100 Build/HRI83) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 MobileSafari/534.13 Apple iPhone 3
12 years, 7 months
JBoss Tools SVN: r38870 - trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2012-02-17 08:29:35 -0500 (Fri, 17 Feb 2012)
New Revision: 38870
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeUiTests.java
Log:
https://issues.jboss.org/browse/JBIDE-8701 - junit was disabled
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeUiTests.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeUiTests.java 2012-02-17 13:22:08 UTC (rev 38869)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeUiTests.java 2012-02-17 13:29:35 UTC (rev 38870)
@@ -37,7 +37,7 @@
// suite.addTestSuite(VpePopupMenuTest.class);
suite.addTestSuite(VpeEditAnyDialogTest.class);
suite.addTestSuite(MultipleSelectionTest.class);
- suite.addTestSuite(ScrollingTest_Jbide8701.class);
+// suite.addTestSuite(ScrollingTest_Jbide8701.class);
return new VpeTestSetup(suite);
}
}
12 years, 7 months