|
|
|
Re: Get extension point from plugin.. [message #334882 is a reply to message #334881] |
Fri, 06 March 2009 10:48 |
Eclipse User |
|
|
|
Originally posted by: mickael.istria.openwide.fr
Hello Alexander,
You'd rather try to use
Platform.getExtensionRegistry().getConfigurationElementsFor( "org.eclipse.team.core.fileTypes")
that returns you some IConfigurationElement s (see javadoc) which
contains everything you'll need to know about the extensions of
"org.eclipse.team.core.fileTypes".
Hope that helps
Mickael
Alexander Mack a écrit :
> Hello,
> first thanks for your reply.
>
> Now I can get the IExtensionPoint:
>
> <extension point="org.eclipse.team.core.fileTypes">
> <?gmfgen generated="true"?>
> <fileTypes
> type="text"
> extension="dm">
> </fileTypes>
> </extension>
>
> By:
> Platform.getExtensionRegistry().getExtensionPoint("org.eclipse.team.core.fileTypes ");
>
>
> But how can I now get that attribute: extension="dm" ?
>
> Thanks for your help.
> Best regards
> Alex
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.06380 seconds