You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by vs...@apache.org on 2008/04/07 15:23:36 UTC
svn commit: r645507 - in
/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui:
./ icons/ src/ src/main/ src/main/java/ src/main/java/org/
src/main/java/org/apache/ src/main/java/org/apache/maven/ src/main/j...
Author: vsiveton
Date: Mon Apr 7 06:23:31 2008
New Revision: 645507
URL: http://svn.apache.org/viewvc?rev=645507&view=rev
Log:
DOXIA-233: Create an Eclipse plugin to edit Doxia files
o added fml plugin
Added:
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.classpath (with props)
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.project (with props)
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/build.properties (with props)
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/icons/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/icons/doxia.gif (with props)
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.properties (with props)
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.xml (with props)
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/FmlPlugin.java (with props)
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditor.java (with props)
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditorContributor.java (with props)
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/FmlWizard.java (with props)
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/fml/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/fml/ui/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/
maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/new.fml (with props)
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.classpath
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.classpath?rev=645507&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.classpath (added)
+++ maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.classpath Mon Apr 7 06:23:31 2008
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry exported="true" kind="lib" path="target/classes/"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.classpath
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.classpath
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.project
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.project?rev=645507&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.project (added)
+++ maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.project Mon Apr 7 06:23:31 2008
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.apache.maven.doxia.ide.eclipse.fml.ui</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>
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.project
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/.project
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/build.properties
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/build.properties?rev=645507&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/build.properties (added)
+++ maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/build.properties Mon Apr 7 06:23:31 2008
@@ -0,0 +1,8 @@
+source.. = src/main/java/,\
+ src/main/resources
+output.. = target/classes/
+bin.includes = .,\
+ plugin.properties,\
+ plugin.xml,\
+ target/classes/
+jars.compile.order = .
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/build.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/build.properties
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/icons/doxia.gif
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/icons/doxia.gif?rev=645507&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/icons/doxia.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.properties
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.properties?rev=645507&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.properties (added)
+++ maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.properties Mon Apr 7 06:23:31 2008
@@ -0,0 +1,38 @@
+# 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.
+
+#
+# Plugin
+#
+plugin.name=Apache Doxia Fml Plug-in
+plugin.provider.name=Apache Maven
+
+#
+# Doxia Editor
+#
+editor.name=Doxia FML Editor
+
+#
+# Doxia Wizard
+#
+wizard.category.name=Apache Doxia
+wizard.name=Fml file
+
+#
+# Doxia popupMenus
+#
+menu.styles=&Styles
\ No newline at end of file
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.properties
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.xml?rev=645507&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.xml (added)
+++ maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.xml Mon Apr 7 06:23:31 2008
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
+<?eclipse version="3.2"?>
+<plugin
+ id="org.apache.maven.doxia.ide.eclipse.fml.ui"
+ name="%plugin.name"
+ version="1.0"
+ provider-name="%plugin.provider.name"
+ class="org.apache.maven.doxia.ide.eclipse.fml.ui.FmlPlugin">
+
+ <runtime>
+ <library name="target/classes/">
+ <export
+ name="org.apache.maven.doxia.ide.eclipse.fml.ui.*">
+ </export>
+ <export
+ name="org.apache.maven.doxia.ide.eclipse.fml.ui.editor.*">
+ </export>
+ <export
+ name="org.apache.maven.doxia.ide.eclipse.fml.ui.wizard.*">
+ </export>
+ </library>
+ <library name="."/>
+ </runtime>
+
+ <requires>
+ <import plugin="org.eclipse.ui"/>
+ <import plugin="org.eclipse.core.resources"/>
+ <import plugin="org.eclipse.core.runtime"/>
+ <import plugin="org.eclipse.jface.text"/>
+ <import plugin="org.eclipse.ui.editors"/>
+ <import plugin="org.eclipse.ui.ide"/>
+ <import plugin="org.eclipse.wst.sse.core"/>
+ <import plugin="org.eclipse.wst.sse.ui"/>
+ <import plugin="org.eclipse.wst.xml.core"/>
+ <import plugin="org.eclipse.wst.xml.ui"/>
+ <import plugin="org.eclipse.wst.common.ui"/>
+ <import plugin="org.apache.maven.doxia.ide.eclipse.common.ui"/>
+ </requires>
+
+ <!-- Doxia Plugin Text Editors -->
+ <extension
+ point="org.eclipse.ui.editors">
+ <editor
+ name="%editor.name"
+ extensions="fml"
+ icon="icons/doxia.gif"
+ contributorClass="org.apache.maven.doxia.ide.eclipse.fml.ui.editor.FmlEditorContributor"
+ class="org.apache.maven.doxia.ide.eclipse.fml.ui.editor.FmlEditor"
+ id="org.apache.maven.doxia.ide.eclipse.fml.ui.editor.FmlEditor">
+ </editor>
+ </extension>
+
+ <!-- Doxia Wizards -->
+ <extension
+ point="org.eclipse.ui.newWizards">
+ <category
+ name="%wizard.category.name"
+ id="org.apache.maven.doxia.ide.eclipse.ui.wizard.DoxiaWizard">
+ </category>
+ <wizard
+ name="%wizard.name"
+ icon="icons/doxia.gif"
+ category="org.apache.maven.doxia.ide.eclipse.ui.wizard.DoxiaWizard"
+ class="org.apache.maven.doxia.ide.eclipse.fml.ui.wizard.FmlWizard"
+ id="org.apache.maven.doxia.ide.eclipse.fml.ui.wizard.FmlWizard">
+ </wizard>
+ </extension>
+
+ <!-- http://www.eclipse.org/articles/article.php?file=Article-action-contribution/index.html -->
+ <!-- Doesn't work yet: needs WSTP M6
+ https://bugs.eclipse.org/bugs/show_bug.cgi?id=212330
+ https://bugs.eclipse.org/bugs/show_bug.cgi?id=224040 -->
+ <extension point="org.eclipse.ui.popupMenus">
+ <viewerContribution
+ id="org.apache.maven.doxia.ide.eclipse.fml.ui.editor.FmlEditor.EditorContext"
+ targetID="org.apache.maven.doxia.ide.eclipse.fml.ui.editor.FmlEditor.EditorContext">
+ <menu
+ id="subMenu"
+ label="%menu.styles"
+ path="additions">
+ <separator name="styles"/>
+ </menu>
+ <!-- Actions should be ordered -->
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.popup.actions.MonospacedAction"
+ label="%action.monospaced.label"
+ tooltip="%action.monospaced.tooltip"
+ menubarPath="subMenu/styles"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.MonospacedActionDelegate">
+ </action>
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.popup.actions.ItalicAction"
+ label="%action.italic.label"
+ tooltip="%action.italic.tooltip"
+ menubarPath="subMenu/styles"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.ItalicActionDelegate">
+ </action>
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.popup.actions.BoldAction"
+ label="%action.bold.label"
+ tooltip="%action.bold.tooltip"
+ menubarPath="subMenu/styles"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.BoldActionDelegate">
+ </action>
+ </viewerContribution>
+ </extension>
+ <extension point="org.eclipse.ui.editorActions">
+ <editorContribution
+ id="org.apache.maven.doxia.ide.eclipse.fml.ui.editor.FmlEditor"
+ targetID="org.apache.maven.doxia.ide.eclipse.fml.ui.editor.FmlEditor">
+ <!-- Contributing ordered actions to toolbar -->
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.contribution.actions.toolbar.TableAction"
+ label="%action.table.label"
+ tooltip="%action.table.tooltip"
+ toolbarPath="Normal/additions"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.TableActionDelegate">
+ </action>
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.contribution.actions.toolbar.LinkAction"
+ label="%action.link.label"
+ tooltip="%action.link.tooltip"
+ toolbarPath="Normal/additions"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.LinkActionDelegate">
+ </action>
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.contribution.actions.toolbar.MonospacedAction"
+ label="%action.monospaced.label"
+ tooltip="%action.monospaced.tooltip"
+ toolbarPath="Normal/additions"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.MonospacedActionDelegate">
+ </action>
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.contribution.actions.toolbar.ItalicAction"
+ label="%action.italic.label"
+ tooltip="%action.bold.tooltip"
+ toolbarPath="Normal/additions"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.ItalicActionDelegate">
+ </action>
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.contribution.actions.toolbar.BoldAction"
+ label="%action.bold.label"
+ tooltip="%action.bold.tooltip"
+ toolbarPath="Normal/additions"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.BoldActionDelegate">
+ </action>
+
+ <!-- Contributing ordererd actions to menu -->
+ <menu
+ id="editStyles"
+ label="%menu.styles"
+ path="edit/additions">
+ <separator name="styles"/>
+ </menu>
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.contribution.editor.menu.MonospacedAction"
+ label="%action.monospaced.label"
+ tooltip="%action.monospaced.tooltip"
+ menubarPath="edit/editStyles/styles"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.MonospacedActionDelegate">
+ </action>
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.contribution.editor.menu.ItalicAction"
+ label="%action.italic.label"
+ tooltip="%action.bold.tooltip"
+ menubarPath="edit/editStyles/styles"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.ItalicActionDelegate">
+ </action>
+ <action
+ id="org.apache.maven.doxia.ide.eclipse.common.ui.contribution.actions.menu.BoldAction"
+ label="%action.bold.label"
+ tooltip="%action.bold.tooltip"
+ menubarPath="edit/editStyles/styles"
+ class="org.apache.maven.doxia.ide.eclipse.common.ui.actions.BoldActionDelegate">
+ </action>
+ </editorContribution>
+ </extension>
+</plugin>
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/plugin.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/FmlPlugin.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/FmlPlugin.java?rev=645507&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/FmlPlugin.java (added)
+++ maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/FmlPlugin.java Mon Apr 7 06:23:31 2008
@@ -0,0 +1,96 @@
+package org.apache.maven.doxia.ide.eclipse.fml.ui;
+
+/*
+ * 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.
+ */
+
+import org.apache.maven.doxia.ide.eclipse.common.ui.AbstractDoxiaPlugin;
+import org.codehaus.plexus.util.StringUtils;
+import org.osgi.framework.BundleContext;
+
+/**
+ * FML plug-in.
+ *
+ * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
+ * @version $Id$
+ * @since 1.0
+ */
+public class FmlPlugin
+ extends AbstractDoxiaPlugin
+{
+ /** The plug-in ID */
+ public static final String PLUGIN_ID = "org.apache.maven.doxia.ide.eclipse.fml.ui";
+
+ /** The shared instance */
+ private static FmlPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public FmlPlugin()
+ {
+ plugin = this;
+ }
+
+ @Override
+ public void start( BundleContext context )
+ throws Exception
+ {
+ super.start( context );
+ plugin = this;
+ }
+
+ @Override
+ public void stop( BundleContext context )
+ throws Exception
+ {
+ plugin = null;
+ super.stop( context );
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static FmlPlugin getDefault()
+ {
+ return plugin;
+ }
+
+ /**
+ * @return the plugin ID
+ */
+ public static String getPluginId()
+ {
+ if ( StringUtils.isEmpty( getDefault().getBundle().getSymbolicName() ) )
+ {
+ return PLUGIN_ID;
+ }
+
+ return getDefault().getBundle().getSymbolicName();
+ }
+
+ /**
+ * @return the Doxia format
+ */
+ public static String getDoxiaFormat()
+ {
+ return "fml";
+ }
+}
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/FmlPlugin.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/FmlPlugin.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditor.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditor.java?rev=645507&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditor.java (added)
+++ maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditor.java Mon Apr 7 06:23:31 2008
@@ -0,0 +1,53 @@
+package org.apache.maven.doxia.ide.eclipse.fml.ui.editor;
+
+/*
+ * 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.
+ */
+
+import org.apache.maven.doxia.ide.eclipse.common.ui.editors.AbstractXmlMultiPageEditorPart;
+import org.apache.maven.doxia.ide.eclipse.fml.ui.FmlPlugin;
+
+/**
+ * FML editor.
+ *
+ * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
+ * @version $Id$
+ * @since 1.0
+ * @see <a href="http://maven.apache.org/doxia/references/fml-format.html">
+ * http://maven.apache.org/doxia/references/fml-format.html</a>
+ */
+public class FmlEditor
+ extends AbstractXmlMultiPageEditorPart
+{
+ public FmlEditor()
+ {
+ super();
+ }
+
+ @Override
+ public String getFormat()
+ {
+ return FmlPlugin.getDoxiaFormat();
+ }
+
+ @Override
+ public String getEditorId()
+ {
+ return "org.apache.maven.doxia.ide.eclipse.fml.ui.editor.FmlEditor";
+ }
+}
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditor.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditorContributor.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditorContributor.java?rev=645507&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditorContributor.java (added)
+++ maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditorContributor.java Mon Apr 7 06:23:31 2008
@@ -0,0 +1,38 @@
+package org.apache.maven.doxia.ide.eclipse.fml.ui.editor;
+
+/*
+ * 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.
+ */
+
+import org.apache.maven.doxia.ide.eclipse.common.ui.editors.AbstractEditorContributor;
+
+/**
+ * FML ontributor.
+ *
+ * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
+ * @version $Id$
+ * @since 1.0
+ */
+public class FmlEditorContributor
+ extends AbstractEditorContributor
+{
+ public FmlEditorContributor()
+ {
+ super();
+ }
+}
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditorContributor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/editor/FmlEditorContributor.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/FmlWizard.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/FmlWizard.java?rev=645507&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/FmlWizard.java (added)
+++ maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/FmlWizard.java Mon Apr 7 06:23:31 2008
@@ -0,0 +1,63 @@
+package org.apache.maven.doxia.ide.eclipse.fml.ui.wizard;
+
+/*
+ * 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.
+ */
+
+import org.apache.maven.doxia.ide.eclipse.common.ui.wizards.AbstractWizard;
+import org.apache.maven.doxia.ide.eclipse.common.ui.wizards.AbstractWizardPage;
+import org.apache.maven.doxia.ide.eclipse.fml.ui.FmlPlugin;
+import org.eclipse.jface.viewers.ISelection;
+
+/**
+ * FML wizard.
+ *
+ * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
+ * @version $Id$
+ * @since 1.0
+ */
+public class FmlWizard
+ extends AbstractWizard
+{
+ @Override
+ public AbstractWizardPage getWizardPage( ISelection selection )
+ {
+ return new FmlWizardPage( selection );
+ }
+
+ @Override
+ public String getWizardTemplate()
+ {
+ return "new.fml";
+ }
+
+ class FmlWizardPage
+ extends AbstractWizardPage
+ {
+ public FmlWizardPage( ISelection selection )
+ {
+ super( selection );
+ }
+
+ @Override
+ public String getExtension()
+ {
+ return FmlPlugin.getDoxiaFormat();
+ }
+ }
+}
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/FmlWizard.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/FmlWizard.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/new.fml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/new.fml?rev=645507&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/new.fml (added)
+++ maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/new.fml Mon Apr 7 06:23:31 2008
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!-- http://maven.apache.org/doxia/references/fml-format.html -->
+
+<faqs title="Frequently Asked Questions" toplink="false">
+
+ <part id="general">
+ <title>General</title>
+
+ <faq id="whats-foo">
+ <question>
+ What is Foo?
+ </question>
+ <answer>
+ <p>some markup goes here</p>
+
+ <source>some source code</source>
+
+ <p>some markup goes here</p>
+ </answer>
+ </faq>
+
+ <faq id="whats-bar">
+ <question>
+ What is Bar?
+ </question>
+ <answer>
+ <p>some markup goes here</p>
+ </answer>
+ </faq>
+ </part>
+</faqs>
\ No newline at end of file
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/new.fml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/doxia/doxia-tools/trunk/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.fml.ui/src/main/resources/org/apache/maven/doxia/ide/eclipse/fml/ui/wizard/new.fml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision