Author: adietish
Date: 2010-12-06 05:44:18 -0500 (Mon, 06 Dec 2010)
New Revision: 27186
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVCloudElement.java
Log:
[JBIDE-7688][JBIDE-7813] now getting images and instances in async manner by commands
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVCloudElement.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVCloudElement.java 2010-12-06
10:31:10 UTC (rev 27185)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVCloudElement.java 2010-12-06
10:44:18 UTC (rev 27186)
@@ -10,15 +10,10 @@
*******************************************************************************/
package org.jboss.tools.deltacloud.ui.views;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.views.properties.IPropertySource;
-import org.jboss.tools.common.log.StatusFactory;
import org.jboss.tools.deltacloud.core.DeltaCloud;
-import org.jboss.tools.deltacloud.ui.Activator;
/**
* @author Jeff Johnston
@@ -69,21 +64,4 @@
public IPropertySource getPropertySource() {
return new CloudPropertySource(getElement());
}
-
- public void loadChildren() {
- DeltaCloud cloud = (DeltaCloud) getElement();
- try {
- cloud.loadChildren();
- } catch (Exception e) {
- IStatus status = StatusFactory.getInstance(
- IStatus.ERROR,
- Activator.PLUGIN_ID,
- e.getMessage(),
- e);
- // TODO: internationalize strings
- ErrorDialog.openError(Display.getDefault().getActiveShell(),
- "Error",
- "Cloud not get load children for " + cloud.getName(), status);
- }
- }
}