[eclipsefinance-subversion] SF.net SVN: eclipsefinance: [15] trunk/net.sf.eclipsefinance.converter.
Status: Pre-Alpha
Brought to you by:
yukio7
|
From: <yu...@us...> - 2006-09-20 06:55:07
|
Revision: 15
http://svn.sourceforge.net/eclipsefinance/?rev=15&view=rev
Author: yukio7
Date: 2006-09-19 23:54:49 -0700 (Tue, 19 Sep 2006)
Log Message:
-----------
new project
Added Paths:
-----------
trunk/net.sf.eclipsefinance.converter.moneydance/.classpath
trunk/net.sf.eclipsefinance.converter.moneydance/.project
trunk/net.sf.eclipsefinance.converter.moneydance/META-INF/
trunk/net.sf.eclipsefinance.converter.moneydance/META-INF/MANIFEST.MF
trunk/net.sf.eclipsefinance.converter.moneydance/build.properties
trunk/net.sf.eclipsefinance.converter.moneydance/plugin.xml
trunk/net.sf.eclipsefinance.converter.moneydance/src/
trunk/net.sf.eclipsefinance.converter.moneydance/src/net/
trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/
trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/
trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/
trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/
trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/Activator.java
trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/popup/
trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/popup/actions/
trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/popup/actions/NewAction.java
Added: trunk/net.sf.eclipsefinance.converter.moneydance/.classpath
===================================================================
--- trunk/net.sf.eclipsefinance.converter.moneydance/.classpath (rev 0)
+++ trunk/net.sf.eclipsefinance.converter.moneydance/.classpath 2006-09-20 06:54:49 UTC (rev 15)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="classes"/>
+</classpath>
Added: trunk/net.sf.eclipsefinance.converter.moneydance/.project
===================================================================
--- trunk/net.sf.eclipsefinance.converter.moneydance/.project (rev 0)
+++ trunk/net.sf.eclipsefinance.converter.moneydance/.project 2006-09-20 06:54:49 UTC (rev 15)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>net.sf.eclipsefinance.converter.moneydance</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/net.sf.eclipsefinance.converter.moneydance/META-INF/MANIFEST.MF
===================================================================
--- trunk/net.sf.eclipsefinance.converter.moneydance/META-INF/MANIFEST.MF (rev 0)
+++ trunk/net.sf.eclipsefinance.converter.moneydance/META-INF/MANIFEST.MF 2006-09-20 06:54:49 UTC (rev 15)
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Converter Csv Plug-in
+Bundle-SymbolicName: net.sf.eclipsefinance.converter.csv; singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: net.sf.eclipsefinance.converter.csv.Activator
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources
+Eclipse-LazyStart: true
Added: trunk/net.sf.eclipsefinance.converter.moneydance/build.properties
===================================================================
--- trunk/net.sf.eclipsefinance.converter.moneydance/build.properties (rev 0)
+++ trunk/net.sf.eclipsefinance.converter.moneydance/build.properties 2006-09-20 06:54:49 UTC (rev 15)
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = classes/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ .
Added: trunk/net.sf.eclipsefinance.converter.moneydance/plugin.xml
===================================================================
--- trunk/net.sf.eclipsefinance.converter.moneydance/plugin.xml (rev 0)
+++ trunk/net.sf.eclipsefinance.converter.moneydance/plugin.xml 2006-09-20 06:54:49 UTC (rev 15)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+
+ <extension
+ point="org.eclipse.ui.popupMenus">
+ <objectContribution
+ objectClass="org.eclipse.core.resources.IFile"
+ nameFilter="plugin.xml"
+ id="net.sf.eclipsefinance.converter.csv.contribution1">
+ <menu
+ label="New Submenu"
+ path="additions"
+ id="net.sf.eclipsefinance.converter.csv.menu1">
+ <separator
+ name="group1">
+ </separator>
+ </menu>
+ <action
+ label="New Action"
+ class="net.sf.eclipsefinance.converter.csv.popup.actions.NewAction"
+ menubarPath="net.sf.eclipsefinance.converter.csv.menu1/group1"
+ enablesFor="1"
+ id="net.sf.eclipsefinance.converter.csv.newAction">
+ </action>
+ </objectContribution>
+ </extension>
+
+</plugin>
Added: trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/Activator.java
===================================================================
--- trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/Activator.java (rev 0)
+++ trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/Activator.java 2006-09-20 06:54:49 UTC (rev 15)
@@ -0,0 +1,61 @@
+package net.sf.eclipsefinance.converter.csv;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "net.sf.eclipsefinance.converter.csv";
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+ /**
+ * Returns an image descriptor for the image file at the given
+ * plug-in relative path
+ *
+ * @param path the path
+ * @return the image descriptor
+ */
+ public static ImageDescriptor getImageDescriptor(String path) {
+ return imageDescriptorFromPlugin(PLUGIN_ID, path);
+ }
+}
Added: trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/popup/actions/NewAction.java
===================================================================
--- trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/popup/actions/NewAction.java (rev 0)
+++ trunk/net.sf.eclipsefinance.converter.moneydance/src/net/sf/eclipsefinance/converter/csv/popup/actions/NewAction.java 2006-09-20 06:54:49 UTC (rev 15)
@@ -0,0 +1,42 @@
+package net.sf.eclipsefinance.converter.csv.popup.actions;
+
+import org.eclipse.jface.action.IAction;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.IObjectActionDelegate;
+import org.eclipse.ui.IWorkbenchPart;
+
+public class NewAction implements IObjectActionDelegate {
+
+ /**
+ * Constructor for Action1.
+ */
+ public NewAction() {
+ super();
+ }
+
+ /**
+ * @see IObjectActionDelegate#setActivePart(IAction, IWorkbenchPart)
+ */
+ public void setActivePart(IAction action, IWorkbenchPart targetPart) {
+ }
+
+ /**
+ * @see IActionDelegate#run(IAction)
+ */
+ public void run(IAction action) {
+ Shell shell = new Shell();
+ MessageDialog.openInformation(
+ shell,
+ "Converter Csv Plug-in",
+ "New Action was executed.");
+ }
+
+ /**
+ * @see IActionDelegate#selectionChanged(IAction, ISelection)
+ */
+ public void selectionChanged(IAction action, ISelection selection) {
+ }
+
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|