Author: adietish
Date: 2010-12-08 12:08:06 -0500 (Wed, 08 Dec 2010)
New Revision: 27244
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshCloudHandler.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshImagesHandler.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshInstancesHandler.java
Log:
[JBIDE-7594] started scheduling rules. need further refinement.
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshCloudHandler.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshCloudHandler.java 2010-12-08
17:07:45 UTC (rev 27243)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshCloudHandler.java 2010-12-08
17:08:06 UTC (rev 27244)
@@ -20,10 +20,10 @@
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.handlers.HandlerUtil;
-import org.jboss.tools.deltacloud.core.AbstractCloudJob;
import org.jboss.tools.deltacloud.core.DeltaCloud;
import org.jboss.tools.deltacloud.core.DeltaCloudException;
import org.jboss.tools.deltacloud.core.DeltaCloudMultiException;
+import org.jboss.tools.deltacloud.core.job.AbstractCloudJob;
import org.jboss.tools.deltacloud.ui.ErrorUtils;
import org.jboss.tools.deltacloud.ui.views.cloud.DeltaCloudViewElement;
import org.jboss.tools.internal.deltacloud.ui.utils.CloudViewElementUtils;
@@ -50,7 +50,7 @@
final DeltaCloud cloud = CloudViewElementUtils.getCloud(cloudViewElement);
if (cloud != null) {
// TODO: internationalize strings
- new AbstractCloudJob("Refreshing images and instances on " +
cloud.getName()) {
+ new AbstractCloudJob("Refreshing images and instances on " +
cloud.getName(), cloud) {
@Override
protected IStatus doRun(IProgressMonitor monitor) throws DeltaCloudException {
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshImagesHandler.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshImagesHandler.java 2010-12-08
17:07:45 UTC (rev 27243)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshImagesHandler.java 2010-12-08
17:08:06 UTC (rev 27244)
@@ -20,10 +20,10 @@
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.handlers.HandlerUtil;
-import org.jboss.tools.deltacloud.core.AbstractCloudJob;
import org.jboss.tools.deltacloud.core.DeltaCloud;
import org.jboss.tools.deltacloud.core.DeltaCloudException;
import org.jboss.tools.deltacloud.core.DeltaCloudImage;
+import org.jboss.tools.deltacloud.core.job.AbstractCloudJob;
import org.jboss.tools.internal.deltacloud.ui.utils.UIUtils;
/**
@@ -47,7 +47,7 @@
final DeltaCloud cloud = deltaCloudImage.getDeltaCloud();
if (cloud != null) {
// TODO: internationalize strings
- new AbstractCloudJob("Refreshing images on cloud " + cloud.getName()) {
+ new AbstractCloudJob("Refreshing images on cloud " + cloud.getName(),
cloud) {
@Override
protected IStatus doRun(IProgressMonitor monitor) throws DeltaCloudException {
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshInstancesHandler.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshInstancesHandler.java 2010-12-08
17:07:45 UTC (rev 27243)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/RefreshInstancesHandler.java 2010-12-08
17:08:06 UTC (rev 27244)
@@ -20,10 +20,10 @@
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.handlers.HandlerUtil;
-import org.jboss.tools.deltacloud.core.AbstractCloudJob;
import org.jboss.tools.deltacloud.core.DeltaCloud;
import org.jboss.tools.deltacloud.core.DeltaCloudException;
import org.jboss.tools.deltacloud.core.DeltaCloudInstance;
+import org.jboss.tools.deltacloud.core.job.AbstractCloudJob;
import org.jboss.tools.internal.deltacloud.ui.utils.UIUtils;
/**
@@ -47,7 +47,7 @@
final DeltaCloud cloud = deltaCloudInstance.getDeltaCloud();
if (cloud != null) {
// TODO: internationalize strings
- new AbstractCloudJob("Refreshing instances on cloud " + cloud.getName()) {
+ new AbstractCloudJob("Refreshing instances on cloud " + cloud.getName(),
cloud) {
@Override
protected IStatus doRun(IProgressMonitor monitor) throws DeltaCloudException {
Show replies by date