|
What this is
Other links
The source code<?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.0"?> <plugin id="org.eclipse.ui.examples.javaeditor" name="%pluginName" version="3.1.100.qualifier" provider-name="%providerName" class="org.eclipse.ui.examples.javaeditor.JavaEditorExamplePlugin"> <runtime> <library name="javaeditorexample.jar"> <export name="*"/> </library> <library name="templateeditorexample.jar"> <export name="*"/> </library> </runtime> <requires> <import plugin="org.eclipse.core.runtime"/> <import plugin="org.eclipse.ui"/> <import plugin="org.eclipse.jface.text"/> <import plugin="org.eclipse.ui.workbench.texteditor"/> <import plugin="org.eclipse.ui.editors"/> <import plugin="org.eclipse.ui.views"/> </requires> <!-- =========================================================================== --> <!-- Java Editor Example --> <!-- =========================================================================== --> <extension point="org.eclipse.ui.editors"> <editor name="%javaEditorName" icon="icons/obj16/java.gif" extensions="jav" contributorClass="org.eclipse.ui.examples.javaeditor.JavaActionContributor" class="org.eclipse.ui.examples.javaeditor.JavaEditor" id="org.eclipse.ui.JavaEditor"> </editor> </extension> <extension id="ExampleJavaDocumentSetupParticipant" name="%documentSetupParticipantName" point="org.eclipse.core.filebuffers.documentSetup"> <participant extensions="jav" class="org.eclipse.ui.examples.javaeditor.JavaDocumentSetupParticipant"> </participant> </extension> <!-- =========================================================================== --> <!-- Template Editor Example --> <!-- =========================================================================== --> <extension point="org.eclipse.ui.editors"> <editor name="%xml.editor.name" icon="icons/sample.gif" extensions="xml" contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor" class="org.eclipse.ui.examples.templateeditor.editors.TemplateEditor" id="org.eclipse.ui.examples.templateeditor.editors.TemplateEditor"> </editor> </extension> <extension point="org.eclipse.ui.preferencePages"> <page name="%xml.editor.preferencePage.label" class="org.eclipse.ui.examples.templateeditor.preferences.TemplatesPreferencePage" id="org.eclipse.ui.examples.templateeditor.preferencepage"> </page> </extension> <extension point="org.eclipse.ui.editors.templates"> <contextType name="%xml.contextType.name" class="org.eclipse.ui.examples.templateeditor.template.XMLContextType" id="org.eclipse.ui.examples.templateeditor.xml"> </contextType> <template name="%ant.tasks.copy.name" icon="icons/template.gif" description="%ant.tasks.copy.description" contextTypeId="org.eclipse.ui.examples.templateeditor.xml" id="org.eclipse.ui.examples.templateeditor.ant.copy"> <pattern><copy todir="${dst}"> <fileset dir="${src}"/> </copy></pattern> </template> <resolver name="%ant.resolvers.src" type="src" icon="icons/resolver.gif" description="%ant.resolvers.src.description" contextTypeId="org.eclipse.ui.examples.templateeditor.xml" class="org.eclipse.ui.examples.templateeditor.template.AntVariableResolver"> </resolver> <resolver name="%ant.resolvers.dst" type="dst" icon="icons/resolver.gif" description="%ant.resolvers.dst.description" contextTypeId="org.eclipse.ui.examples.templateeditor.xml" class="org.eclipse.ui.examples.templateeditor.template.AntVariableResolver"> </resolver> <include file="templates/ant.xml" translations="$nl$/templates/ant.properties"> </include> </extension> </plugin> |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.