diff options
author | pfullbright | 2008-03-26 19:33:56 +0000 |
---|---|---|
committer | pfullbright | 2008-03-26 19:33:56 +0000 |
commit | 058f61dbe68ed2a4e0422588db92300cfcd75237 (patch) | |
tree | ba2f0265d6fc3a6b9c9e651503d27f2cf406687d | |
parent | 10ba748c8bc43dfa3dd65c03f83ef08449f6c50a (diff) | |
download | webtools.dali-058f61dbe68ed2a4e0422588db92300cfcd75237.tar.gz webtools.dali-058f61dbe68ed2a4e0422588db92300cfcd75237.tar.xz webtools.dali-058f61dbe68ed2a4e0422588db92300cfcd75237.zip |
changed persistence xml editor to work with content type rather than file name
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.ui/plugin.xml | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.ui/plugin.xml b/jpa/plugins/org.eclipse.jpt.ui/plugin.xml index 56574ff729..5888890b18 100644 --- a/jpa/plugins/org.eclipse.jpt.ui/plugin.xml +++ b/jpa/plugins/org.eclipse.jpt.ui/plugin.xml @@ -73,6 +73,26 @@ </extension> +<!-- =================================================================================== --> +<!-- Extension: Persistence Editor --> +<!-- =================================================================================== --> + + <extension + point="org.eclipse.ui.editors"> + + <editor + class="org.eclipse.jpt.ui.internal.editors.PersistenceEditor" + contributorClass="org.eclipse.jpt.ui.internal.editors.PersistenceContributor" + icon="$nl$/icons/full/obj16/jpa-file.gif" + id="org.eclipse.jpt.ui.internal.editors.PersistenceEditor" + name="%persistenceEditor"> + <contentTypeBinding + contentTypeId="org.eclipse.jpt.core.content.persistence"/> + </editor> + + </extension> + + <extension point="org.eclipse.ui.navigator.viewer"> @@ -398,20 +418,5 @@ </wizard-pages> </extension> - -<!-- =================================================================================== --> -<!-- Extension: Persistence Editor --> -<!-- =================================================================================== --> - - <extension - point="org.eclipse.ui.editors"> - <editor - class="org.eclipse.jpt.ui.internal.editors.PersistenceEditor" - contributorClass="org.eclipse.jpt.ui.internal.editors.PersistenceContributor" - filenames="persistence.xml" - icon="$nl$/icons/full/obj16/jpa-file.gif" - id="org.eclipse.jpt.ui.internal.editors.PersistenceEditor" - name="%persistenceEditor"> - </editor> - </extension> + </plugin> |