You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by sh...@apache.org on 2008/07/01 13:32:10 UTC
svn commit: r673059 - in
/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui:
META-INF/MANIFEST.MF
src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoDeploymentPlanEditor.java
Author: shivahr
Date: Tue Jul 1 04:32:10 2008
New Revision: 673059
URL: http://svn.apache.org/viewvc?rev=673059&view=rev
Log:
GERONIMODEVTOOLS-411 Add Syntax-highlighting feature in Source page of Geronimo Deployment Plan Editor. Thanks to Sainath Chowdary for the patch!
Modified:
geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/META-INF/MANIFEST.MF
geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoDeploymentPlanEditor.java
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/META-INF/MANIFEST.MF?rev=673059&r1=673058&r2=673059&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/META-INF/MANIFEST.MF (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/META-INF/MANIFEST.MF Tue Jul 1 04:32:10 2008
@@ -23,7 +23,8 @@
org.eclipse.jdt.core,
org.eclipse.ui.workbench,
org.eclipse.core.resources,
- org.apache.geronimo.runtime.common
+ org.apache.geronimo.runtime.common,
+ org.eclipse.wst.sse.ui;bundle-version="1.1.0"
Eclipse-LazyStart: true
Export-Package: org,
org.apache,
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoDeploymentPlanEditor.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoDeploymentPlanEditor.java?rev=673059&r1=673058&r2=673059&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoDeploymentPlanEditor.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/AbstractGeronimoDeploymentPlanEditor.java Tue Jul 1 04:32:10 2008
@@ -16,18 +16,15 @@
*/
package org.apache.geronimo.st.ui.editors;
-import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
-import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
import org.apache.geronimo.st.core.operations.ImportDeploymentPlanDataModelProvider;
import org.apache.geronimo.st.core.operations.ImportDeploymentPlanOperation;
-import org.apache.geronimo.st.ui.Activator;
import org.apache.geronimo.st.ui.internal.Messages;
import org.apache.geronimo.st.ui.internal.Trace;
import org.eclipse.core.resources.IFile;
@@ -51,6 +48,7 @@
import org.eclipse.wst.common.frameworks.datamodel.IDataModelOperation;
import org.eclipse.wst.common.project.facet.core.IFacetedProject;
import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
+import org.eclipse.wst.sse.ui.StructuredTextEditor;
/**
* @version $Rev$ $Date$
@@ -136,7 +134,7 @@
}
protected void addSourcePage() throws PartInitException {
- TextEditor source = new TextEditor();
+ StructuredTextEditor source = new StructuredTextEditor();
int index = addPage(source, getEditorInput());
setPageText(index, Messages.editorTabSource);
}