Permalink
Browse files

Shifting direction to build a dashboard first.

  • Loading branch information...
1 parent 8be79d8 commit c25b3ddd1e8592c6b3884f9cce054eeba7b7ffcb @johnsteele committed Oct 28, 2011
View
@@ -1,6 +1,6 @@
This project hosts Eclipse plugins supporting Java development on Amazons Web Services EC2.
-Most of this project is strictly for educational purposes only. Currently, the focus of the
+Most of this project is for educational purposes. Currently, the focus of the
project is to assist with the deployment of OSGi based web-applications onto an instance of
EC2. Support for Virgo is first on the agenda.
@@ -1,11 +1,12 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Dashboard
-Bundle-SymbolicName: com.steelejr.aws.ec2.java.dashboard
+Bundle-SymbolicName: com.steelejr.aws.ec2.java.dashboard;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: com.steelejr.aws.ec2.java.dashboard.Activator
Bundle-Vendor: STEELEJR
Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime
+ org.eclipse.core.runtime,
+ org.eclipse.ui.forms;bundle-version="3.5.100"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
@@ -1,4 +1,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .
+ .,\
+ plugin.xml
@@ -7,6 +7,8 @@ Bundle-Activator: com.steelejr.aws.ec2.java.server.ui.Activator
Bundle-Vendor: STEELEJR
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
- com.steelejr.aws.ec2.java.server.core;bundle-version="1.0.0"
+ com.steelejr.aws.ec2.java.server.core;bundle-version="1.0.0",
+ org.eclipse.core.resources;bundle-version="3.7.100",
+ org.eclipse.ui.forms;bundle-version="3.5.100"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
@@ -1,15 +1,18 @@
package com.steelejr.aws.ec2.java.server.ui.view;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.part.ViewPart;
+import com.steelejr.aws.ec2.java.server.ui.Activator;
+
/**
* A view to display the servers.
- *
*/
public class ServersView extends ViewPart {
@@ -45,7 +48,7 @@ private void init_viewer (Composite parent) {
server_viewer.setLabelProvider(new ServersViewLabelProvider());
/* Input */
- server_viewer.setInput(getSite().getPage().getInput());
+ server_viewer.setInput(ResourcesPlugin.getWorkspace().getRoot().getProjects());
getSite().setSelectionProvider(server_viewer);
}
@@ -1,5 +1,6 @@
package com.steelejr.aws.ec2.java.server.ui.view;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
@@ -18,7 +19,7 @@ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
@Override
public Object[] getElements(Object inputElement) {
- return null;
+ return ResourcesPlugin.getWorkspace().getRoot().getProjects();
}
@Override
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Java
-Bundle-SymbolicName: com.steelejr.aws.ec2.java
+Bundle-SymbolicName: com.steelejr.aws.ec2.java;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: com.steelejr.aws.ec2.java.Activator
Bundle-Vendor: STEELEJR
@@ -1,4 +1,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .
+ .,\
+ plugin.xml

0 comments on commit c25b3dd

Please sign in to comment.