Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Can't get my plugin to show in the "Window\Show View\Other" view.
Can't get my plugin to show in the "Window\Show View\Other" view. [message #310649] Tue, 12 December 2006 12:49 Go to next message
Eclipse UserFriend
Originally posted by: mak1.markknet.net

Hi All,

I am a newcomer and I hope somebody can help me with my problem. I have
created a new plugin and it all seems to work fine when I run it the Eclipse
SDK.

When the run button is pushed it opens another Eclipse SDK where I can run
my plugin by selecting the "Window\Show View\Other" menu item. However, when
I try to package the plugin with the "File\Export..." selection, and then
close and open the Eclipse SDK, the plugin does not appear in the
"Windows\Show View\Other" dialog box. I have been able to verify that the
..jar file for my plugin is in the eclipse\plugins directory. Can anybody
tell me what could make the plugin not show up in the "Windows\Show
View\Other" view? Thanks for your help.

Mark
Re: Can't get my plugin to show in the "Window\Show View\Other" view. [message #310651 is a reply to message #310649] Tue, 12 December 2006 12:56 Go to previous messageGo to next message
Piotr Górny is currently offline Piotr GórnyFriend
Messages: 72
Registered: July 2009
Member
Eclipse Newsgroups napisał(a):
> Hi All,
>
> I am a newcomer and I hope somebody can help me with my problem. I have
> created a new plugin and it all seems to work fine when I run it the Eclipse
> SDK.
>
> When the run button is pushed it opens another Eclipse SDK where I can run
> my plugin by selecting the "Window\Show View\Other" menu item. However, when
> I try to package the plugin with the "File\Export..." selection, and then
> close and open the Eclipse SDK, the plugin does not appear in the
> "Windows\Show View\Other" dialog box. I have been able to verify that the
> ..jar file for my plugin is in the eclipse\plugins directory. Can anybody
> tell me what could make the plugin not show up in the "Windows\Show
> View\Other" view? Thanks for your help.
>
> Mark
>
>
Hi,
you have to look at your plugin.xml file and on the "Extensions" tab
verify that you have defined an extension for "org.eclipse.ui.views".
You can right-click on that extension and choose "New" -> "category".

You have to define name and id for your category.

Then you define your view (right-click "New"->"view"):
id, name, categoryId (defined previously) and class name
which implements your view. After those steps you'll find your view
under menu
Window -> Open view...
Re: Can't get my plugin to show in the "Window\Show View\Other" view. [message #310667 is a reply to message #310649] Tue, 12 December 2006 17:47 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Eclipse Newsgroups wrote:
> Hi All,
>
> I am a newcomer and I hope somebody can help me with my problem. I have
> created a new plugin and it all seems to work fine when I run it the Eclipse
> SDK.
>
> When the run button is pushed it opens another Eclipse SDK where I can run
> my plugin by selecting the "Window\Show View\Other" menu item. However, when
> I try to package the plugin with the "File\Export..." selection, and then
> close and open the Eclipse SDK, the plugin does not appear in the
> "Windows\Show View\Other" dialog box. I have been able to verify that the
> .jar file for my plugin is in the eclipse\plugins directory. Can anybody
> tell me what could make the plugin not show up in the "Windows\Show
> View\Other" view? Thanks for your help.

You are exporting it into your main eclipse install?

You have to restart with -clean for eclipse to see the new plugin.

Later,
PW


Previous Topic:Dynamicaly creating menu
Next Topic:pluginName and pluginProvider properties question
Goto Forum:
  


Current Time: Mon Aug 19 17:26:41 GMT 2024

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

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

Back to the top