geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcco...@apache.org
Subject svn commit: r941504 - in /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui: plugin.properties plugin.xml src/main/java/org/apache/geronimo/st/v30/ui/editors/BlueprintFormEditor.java
Date Wed, 05 May 2010 21:31:12 GMT
Author: mcconne
Date: Wed May  5 21:31:12 2010
New Revision: 941504

URL: http://svn.apache.org/viewvc?rev=941504&view=rev
Log:
GERONIMODEVTOOLS-619 Use default XML text editor until Blueprint form editor fully implemented

Added:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/src/main/java/org/apache/geronimo/st/v30/ui/editors/BlueprintFormEditor.java
  (with props)
Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/plugin.properties
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/plugin.xml

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/plugin.properties
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/plugin.properties?rev=941504&r1=941503&r2=941504&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/plugin.properties
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/plugin.properties
Wed May  5 21:31:12 2010
@@ -23,3 +23,4 @@ providerName=Apache Software Foundation
 PopupMenus.launchconsole=Launch Geronimo Console
 PopupMenus.launchSupport=Launch Geronimo Support
 deploymentPlanEditorName=Geronimo Deployment Plan Editor
+BlueprintEditorName=Geronimo Blueprint Editor

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/plugin.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/plugin.xml?rev=941504&r1=941503&r2=941504&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/plugin.xml
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/plugin.xml
Wed May  5 21:31:12 2010
@@ -282,6 +282,28 @@
            <loader class="org.apache.geronimo.st.v30.ui.editors.GeronimoFormContentLoader"
version="3.0"/>
     </extension>
     
+    
+    
+    <!-- 
+     ###################################################################################################################
+     ##                                                                                 
                             ##
+     ## Blueprint XML Editor - Define the XML form editor class for the blueprint.xml file
                           ##
+     ##                                                                                 
                             ##
+     ## TODO(s) - Create JAXB model from blueprint.xsd Schema                           
                             ##
+     ##         - Implement org.apache.geronimo.st.v30.ui.editors.BlueprintFormEditor   
                             ##
+     ##                                                                                 
                             ##
+     ###################################################################################################################
+     -->
+    <extension point="org.eclipse.ui.editors">
+        <editor class="org.eclipse.ui.editors.text.TextEditor"
+            default="true" 
+            filenames="blueprint.xml"
+            icon="icons/obj16/littleOSGi.gif"
+            id="org.apache.geronimo.v30.ui.editors.BlueprintFormEditor" 
+            name="%BlueprintFormEditorName">
+        </editor>
+    </extension>
+
 
     
     <!-- 

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/src/main/java/org/apache/geronimo/st/v30/ui/editors/BlueprintFormEditor.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/src/main/java/org/apache/geronimo/st/v30/ui/editors/BlueprintFormEditor.java?rev=941504&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/src/main/java/org/apache/geronimo/st/v30/ui/editors/BlueprintFormEditor.java
(added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/src/main/java/org/apache/geronimo/st/v30/ui/editors/BlueprintFormEditor.java
Wed May  5 21:31:12 2010
@@ -0,0 +1,95 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.st.v30.ui.editors;
+
+import org.apache.geronimo.st.v30.ui.internal.Trace;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.ui.forms.editor.FormEditor;
+import org.eclipse.ui.PartInitException;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class BlueprintFormEditor extends FormEditor {
+
+    public BlueprintFormEditor() {
+        super();
+        
+        Trace.tracePoint("Entry", "BlueprintFormEditor.BlueprintFormEditor");
+        
+        // TODO
+        
+        Trace.tracePoint("Exit", "BlueprintFormEditor.BlueprintFormEditor");
+    }
+
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.ui.forms.editor.FormEditor#addPages()
+     */
+    public void addPages() {
+        Trace.tracePoint("Entry", "BlueprintFormEditor.addPages");
+        
+        // TODO
+        
+        Trace.tracePoint("Exit", "BlueprintFormEditor.addPages");
+    }
+
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.ui.part.EditorPart#isSaveAsAllowed()
+     */
+    public boolean isSaveAsAllowed() {
+        Trace.tracePoint("Entry", "BlueprintFormEditor.isSaveAsAllowed");
+        
+        // TODO
+        
+        Trace.tracePoint("Exit", "BlueprintFormEditor.isSaveAsAllowed, false");
+        return false;
+    }
+
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.ui.part.EditorPart#doSaveAs()
+     */
+    public final void doSaveAs() {
+        Trace.tracePoint("Entry", "BlueprintFormEditor.doSaveAs");
+        
+        // TODO
+        
+        Trace.tracePoint("Exit", "BlueprintFormEditor.doSaveAs");
+    }
+
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.ui.part.EditorPart#doSave(org.eclipse.core.runtime.IProgressMonitor)
+     */
+    public void doSave(IProgressMonitor monitor) {
+        Trace.tracePoint("Entry", "BlueprintFormEditor.doSave", monitor);
+        
+        // TODO
+        
+        Trace.tracePoint("Exit", "BlueprintFormEditor.doSave");
+    }
+}

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/src/main/java/org/apache/geronimo/st/v30/ui/editors/BlueprintFormEditor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/src/main/java/org/apache/geronimo/st/v30/ui/editors/BlueprintFormEditor.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.ui/src/main/java/org/apache/geronimo/st/v30/ui/editors/BlueprintFormEditor.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message