Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Re: Common Navigator Framework
Re: Common Navigator Framework [message #5245] Tue, 03 June 2008 15:13 Go to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
(Moving to PDE)

Not sure why this is happening. The extension points show up the in the
dialog to allow them to be selected? And as you said privately, you
have org.eclipse.ui.navigator as a plugin dependency.

What do you do exactly to get this error?

Francis

Joe Hutson wrote:
> I�m working through Michael Elder�s CNF tutorials as a second pass at
> gaining some experience with the CNF. I am having trouble getting the
> manifest editor to find extension point schema and definition for
> org.eclipse.ui.navigator.viewer and
> org.eclipse.ui.navigator.navigatorContent. The error message is
> 'Extension point schema org.eclipse.ui.navigator.viewer cannot be found.'
> Eclipse version 3.3.2
> org.eclipse.ui.navigator is configured as dependency for my plug-in
> Any suggestions?
>
>
>


Re: Common Navigator Framework [message #5309 is a reply to message #5245] Tue, 03 June 2008 15:23 Go to previous messageGo to next message
Joe Hutson is currently offline Joe HutsonFriend
Messages: 6
Registered: July 2009
Junior Member
In the manifest editor extensions tab right click on the extension and
select Show Description or Open Schema which works for other extensions
e.g. org.eclipse.ui.views

The real issue is that because the schema isn't accessible there is no
validation of sub-elements, right clicking on
org.eclipse.ui.navigator.viewer presents the developer with the option to
add a new Generic or new Extension and nothing else.
Re: Common Navigator Framework [message #5363 is a reply to message #5309] Tue, 03 June 2008 15:50 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I'm not a PDE guy, but can you check the .jar (in the plugins directory
of your installation) that contains the navigator,
org.eclipse.ui.navigator...jar. Make sure it has a schemas folder with
3 .exsd files.

Hopefully one of the PDE people can help answer this.

Joe Hutson wrote:
> In the manifest editor extensions tab right click on the extension and
> select Show Description or Open Schema which works for other extensions
> e.g. org.eclipse.ui.views
> The real issue is that because the schema isn't accessible there is no
> validation of sub-elements, right clicking on
> org.eclipse.ui.navigator.viewer presents the developer with the option
> to add a new Generic or new Extension and nothing else.


Re: Common Navigator Framework [message #5654 is a reply to message #5363] Tue, 03 June 2008 16:08 Go to previous messageGo to next message
Joe Hutson is currently offline Joe HutsonFriend
Messages: 6
Registered: July 2009
Junior Member
The schema folder is not there. The schema attribute in the plugin.xml
(below) seems to indicate that it should be?

Jar Version: org.eclipse.ui.navigator_3.3.2.M20080207-0800

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

<extension-point id="navigatorContent"
name="%ExtPoint_navigatorContent" schema="schema/navigatorContent.exsd"/>
<extension-point id="viewer" name="%ExtPoint_navigatorViewer"
schema="schema/viewer.exsd"/>
<extension-point id="linkHelper" name="%Link_Helper"
schema="schema/linkHelper.exsd"/>

<extension
point="org.eclipse.ui.dropActions">
<action

class=" org.eclipse.ui.internal.navigator.dnd.NavigatorPluginDropAct ion "
id="org.eclipse.ui.navigator.PluginDropAction">
</action>
</extension>

</plugin>
Re: Common Navigator Framework [message #5671 is a reply to message #5654] Tue, 03 June 2008 16:11 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
That's bad news, don't know how it got that way, but you should
reinstall and hopefully that will fix your problem.

Joe Hutson wrote:
> The schema folder is not there. The schema attribute in the plugin.xml
> (below) seems to indicate that it should be?
> Jar Version: org.eclipse.ui.navigator_3.3.2.M20080207-0800
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin>
>
> <extension-point id="navigatorContent"
> name="%ExtPoint_navigatorContent" schema="schema/navigatorContent.exsd"/>
> <extension-point id="viewer" name="%ExtPoint_navigatorViewer"
> schema="schema/viewer.exsd"/>
> <extension-point id="linkHelper" name="%Link_Helper"
> schema="schema/linkHelper.exsd"/>
>
> <extension
> point="org.eclipse.ui.dropActions">
> <action
>
> class=" org.eclipse.ui.internal.navigator.dnd.NavigatorPluginDropAct ion "
> id="org.eclipse.ui.navigator.PluginDropAction">
> </action>
> </extension> </plugin>
>
>


Re: Common Navigator Framework [message #5690 is a reply to message #5654] Tue, 03 June 2008 16:16 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
No, I'm wrong about the schema folder needing to be in *that* jar file.
I found it in the source jar file (the one I was previously looking at
was one I built myself).

Do you have the _source plugin for the navigator?

(I'm just guessing here, we really need someone who understands the PDE,
I bet they could answer this in a second).

Francis

Joe Hutson wrote:
> The schema folder is not there. The schema attribute in the plugin.xml
> (below) seems to indicate that it should be?
> Jar Version: org.eclipse.ui.navigator_3.3.2.M20080207-0800
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin>
>
> <extension-point id="navigatorContent"
> name="%ExtPoint_navigatorContent" schema="schema/navigatorContent.exsd"/>
> <extension-point id="viewer" name="%ExtPoint_navigatorViewer"
> schema="schema/viewer.exsd"/>
> <extension-point id="linkHelper" name="%Link_Helper"
> schema="schema/linkHelper.exsd"/>
>
> <extension
> point="org.eclipse.ui.dropActions">
> <action
>
> class=" org.eclipse.ui.internal.navigator.dnd.NavigatorPluginDropAct ion "
> id="org.eclipse.ui.navigator.PluginDropAction">
> </action>
> </extension> </plugin>
>
>


Re: Common Navigator Framework [message #5741 is a reply to message #5690] Tue, 03 June 2008 18:02 Go to previous messageGo to next message
Joe Hutson is currently offline Joe HutsonFriend
Messages: 6
Registered: July 2009
Junior Member
Upgrading to 3.4 resolved this issue, thanks for the help.
Re: Common Navigator Framework [message #5759 is a reply to message #5690] Tue, 03 June 2008 21:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Francis Upton (News) wrote:
> No, I'm wrong about the schema folder needing to be in *that* jar file.
> I found it in the source jar file (the one I was previously looking at
> was one I built myself).
>
> Do you have the _source plugin for the navigator?
>
> (I'm just guessing here, we really need someone who understands the PDE,
> I bet they could answer this in a second).

Even tough I've been using PDE on a daily basis for over a year, I don't
really "understand" it. ;-)
But, I do know that if the user did not install the SDK or Eclipse for
RCP/Plugin Developers package, he won't have the source plugins for PDE.
That is probably why the manifest/plugin editor can't find the schemas.

I'd advise to get one of those packages that are specially built for
plugin development.

Hope this helps,
Eric


> Joe Hutson wrote:
>> The schema folder is not there. The schema attribute in the
>> plugin.xml (below) seems to indicate that it should be? Jar Version:
>> org.eclipse.ui.navigator_3.3.2.M20080207-0800
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <?eclipse version="3.0"?>
>> <plugin>
>>
>> <extension-point id="navigatorContent"
>> name="%ExtPoint_navigatorContent" schema="schema/navigatorContent.exsd"/>
>> <extension-point id="viewer" name="%ExtPoint_navigatorViewer"
>> schema="schema/viewer.exsd"/>
>> <extension-point id="linkHelper" name="%Link_Helper"
>> schema="schema/linkHelper.exsd"/>
>>
>> <extension
>> point="org.eclipse.ui.dropActions">
>> <action
>>
>> class=" org.eclipse.ui.internal.navigator.dnd.NavigatorPluginDropAct ion "
>> id="org.eclipse.ui.navigator.PluginDropAction">
>> </action>
>> </extension> </plugin>
>>
>>
Re: Common Navigator Framework [message #5876 is a reply to message #5309] Mon, 09 June 2008 19:19 Go to previous message
Eclipse UserFriend
Originally posted by: x_raajes.ugs.com

> The real issue is that because the schema isn't accessible there is no
> validation of sub-elements, right clicking on
> org.eclipse.ui.navigator.viewer presents the developer with the option to
> add a new Generic or new Extension and nothing else.

To fix this, you could do this (if you are using Eclipse 3.3):

- Copy the following folder from the Eclipse installation's "plugin" folder,
into your RCP application's "plugin" folder:

org.eclipse.platform.source_3.3.0.v20070612-_19UEkLEzwsdF9jS qQ-G

This folder contains the source and the schema definitions. You may have to
restart Eclipse, and then you will be able to right-click and see the
correct options when you add extensions.
Re: Common Navigator Framework [message #567885 is a reply to message #5245] Tue, 03 June 2008 15:23 Go to previous message
Joe Hutson is currently offline Joe HutsonFriend
Messages: 6
Registered: July 2009
Junior Member
In the manifest editor extensions tab right click on the extension and
select Show Description or Open Schema which works for other extensions
e.g. org.eclipse.ui.views

The real issue is that because the schema isn't accessible there is no
validation of sub-elements, right clicking on
org.eclipse.ui.navigator.viewer presents the developer with the option to
add a new Generic or new Extension and nothing else.
Re: Common Navigator Framework [message #567915 is a reply to message #5309] Tue, 03 June 2008 15:50 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I'm not a PDE guy, but can you check the .jar (in the plugins directory
of your installation) that contains the navigator,
org.eclipse.ui.navigator...jar. Make sure it has a schemas folder with
3 .exsd files.

Hopefully one of the PDE people can help answer this.

Joe Hutson wrote:
> In the manifest editor extensions tab right click on the extension and
> select Show Description or Open Schema which works for other extensions
> e.g. org.eclipse.ui.views
> The real issue is that because the schema isn't accessible there is no
> validation of sub-elements, right clicking on
> org.eclipse.ui.navigator.viewer presents the developer with the option
> to add a new Generic or new Extension and nothing else.


Re: Common Navigator Framework [message #567930 is a reply to message #5363] Tue, 03 June 2008 16:08 Go to previous message
Joe Hutson is currently offline Joe HutsonFriend
Messages: 6
Registered: July 2009
Junior Member
The schema folder is not there. The schema attribute in the plugin.xml
(below) seems to indicate that it should be?

Jar Version: org.eclipse.ui.navigator_3.3.2.M20080207-0800

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

<extension-point id="navigatorContent"
name="%ExtPoint_navigatorContent" schema="schema/navigatorContent.exsd"/>
<extension-point id="viewer" name="%ExtPoint_navigatorViewer"
schema="schema/viewer.exsd"/>
<extension-point id="linkHelper" name="%Link_Helper"
schema="schema/linkHelper.exsd"/>

<extension
point="org.eclipse.ui.dropActions">
<action

class=" org.eclipse.ui.internal.navigator.dnd.NavigatorPluginDropAct ion "
id="org.eclipse.ui.navigator.PluginDropAction">
</action>
</extension>

</plugin>
Re: Common Navigator Framework [message #567959 is a reply to message #5654] Tue, 03 June 2008 16:11 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
That's bad news, don't know how it got that way, but you should
reinstall and hopefully that will fix your problem.

Joe Hutson wrote:
> The schema folder is not there. The schema attribute in the plugin.xml
> (below) seems to indicate that it should be?
> Jar Version: org.eclipse.ui.navigator_3.3.2.M20080207-0800
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin>
>
> <extension-point id="navigatorContent"
> name="%ExtPoint_navigatorContent" schema="schema/navigatorContent.exsd"/>
> <extension-point id="viewer" name="%ExtPoint_navigatorViewer"
> schema="schema/viewer.exsd"/>
> <extension-point id="linkHelper" name="%Link_Helper"
> schema="schema/linkHelper.exsd"/>
>
> <extension
> point="org.eclipse.ui.dropActions">
> <action
>
> class=" org.eclipse.ui.internal.navigator.dnd.NavigatorPluginDropAct ion "
> id="org.eclipse.ui.navigator.PluginDropAction">
> </action>
> </extension> </plugin>
>
>


Re: Common Navigator Framework [message #567983 is a reply to message #5654] Tue, 03 June 2008 16:16 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
No, I'm wrong about the schema folder needing to be in *that* jar file.
I found it in the source jar file (the one I was previously looking at
was one I built myself).

Do you have the _source plugin for the navigator?

(I'm just guessing here, we really need someone who understands the PDE,
I bet they could answer this in a second).

Francis

Joe Hutson wrote:
> The schema folder is not there. The schema attribute in the plugin.xml
> (below) seems to indicate that it should be?
> Jar Version: org.eclipse.ui.navigator_3.3.2.M20080207-0800
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin>
>
> <extension-point id="navigatorContent"
> name="%ExtPoint_navigatorContent" schema="schema/navigatorContent.exsd"/>
> <extension-point id="viewer" name="%ExtPoint_navigatorViewer"
> schema="schema/viewer.exsd"/>
> <extension-point id="linkHelper" name="%Link_Helper"
> schema="schema/linkHelper.exsd"/>
>
> <extension
> point="org.eclipse.ui.dropActions">
> <action
>
> class=" org.eclipse.ui.internal.navigator.dnd.NavigatorPluginDropAct ion "
> id="org.eclipse.ui.navigator.PluginDropAction">
> </action>
> </extension> </plugin>
>
>


Re: Common Navigator Framework [message #568081 is a reply to message #5690] Tue, 03 June 2008 18:02 Go to previous message
Joe Hutson is currently offline Joe HutsonFriend
Messages: 6
Registered: July 2009
Junior Member
Upgrading to 3.4 resolved this issue, thanks for the help.
Re: Common Navigator Framework [message #568113 is a reply to message #5690] Tue, 03 June 2008 21:43 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Francis Upton (News) wrote:
> No, I'm wrong about the schema folder needing to be in *that* jar file.
> I found it in the source jar file (the one I was previously looking at
> was one I built myself).
>
> Do you have the _source plugin for the navigator?
>
> (I'm just guessing here, we really need someone who understands the PDE,
> I bet they could answer this in a second).

Even tough I've been using PDE on a daily basis for over a year, I don't
really "understand" it. ;-)
But, I do know that if the user did not install the SDK or Eclipse for
RCP/Plugin Developers package, he won't have the source plugins for PDE.
That is probably why the manifest/plugin editor can't find the schemas.

I'd advise to get one of those packages that are specially built for
plugin development.

Hope this helps,
Eric


> Joe Hutson wrote:
>> The schema folder is not there. The schema attribute in the
>> plugin.xml (below) seems to indicate that it should be? Jar Version:
>> org.eclipse.ui.navigator_3.3.2.M20080207-0800
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <?eclipse version="3.0"?>
>> <plugin>
>>
>> <extension-point id="navigatorContent"
>> name="%ExtPoint_navigatorContent" schema="schema/navigatorContent.exsd"/>
>> <extension-point id="viewer" name="%ExtPoint_navigatorViewer"
>> schema="schema/viewer.exsd"/>
>> <extension-point id="linkHelper" name="%Link_Helper"
>> schema="schema/linkHelper.exsd"/>
>>
>> <extension
>> point="org.eclipse.ui.dropActions">
>> <action
>>
>> class=" org.eclipse.ui.internal.navigator.dnd.NavigatorPluginDropAct ion "
>> id="org.eclipse.ui.navigator.PluginDropAction">
>> </action>
>> </extension> </plugin>
>>
>>
Re: Common Navigator Framework [message #568468 is a reply to message #5309] Mon, 09 June 2008 19:19 Go to previous message
Eclipse UserFriend
Originally posted by: x_raajes.ugs.com

> The real issue is that because the schema isn't accessible there is no
> validation of sub-elements, right clicking on
> org.eclipse.ui.navigator.viewer presents the developer with the option to
> add a new Generic or new Extension and nothing else.

To fix this, you could do this (if you are using Eclipse 3.3):

- Copy the following folder from the Eclipse installation's "plugin" folder,
into your RCP application's "plugin" folder:

org.eclipse.platform.source_3.3.0.v20070612-_19UEkLEzwsdF9jS qQ-G

This folder contains the source and the schema definitions. You may have to
restart Eclipse, and then you will be able to right-click and see the
correct options when you add extensions.
Previous Topic:Plugins Out of Sync
Next Topic:Re: Triggering updates?
Goto Forum:
  


Current Time: Thu Mar 28 15:15:45 GMT 2024

Powered by FUDForum. Page generated in 0.02570 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top