Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » killed by view submenu
killed by view submenu [message #156512] Thu, 13 November 2003 21:19 Go to next message
Miguel Griffa is currently offline Miguel GriffaFriend
Messages: 118
Registered: July 2009
Senior Member
I'm about to die trying to create a submenu in a view...

could anyone save me?

(I know I overstate a little the situation, but that's how I feel)
Re: killed by view submenu [message #158461 is a reply to message #156512] Tue, 18 November 2003 20:59 Go to previous messageGo to next message
Miguel Griffa is currently offline Miguel GriffaFriend
Messages: 118
Registered: July 2009
Senior Member
self Miguel Griffa wrote:
> I'm about to die trying to create a submenu in a view...
>
> could anyone save me?
>
> (I know I overstate a little the situation, but that's how I feel)
>
self reply:

private void fillLocalPullDown(IMenuManager manager) {

....

MenuManager prioritySubmenu = new MenuManager("&priority");
prioritySubmenu.add(p1Action);
prioritySubmenu.add(p2Action);
prioritySubmenu.add(p3Action);
prioritySubmenu.add(p4Action);
prioritySubmenu.add(p5Action);

manager.add(prioritySubmenu);
Re: killed by view submenu [message #159058 is a reply to message #158461] Wed, 19 November 2003 18:31 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.guide.removeMe.andMeToo.earthlink.net

FYI... among the many articles on http://eclipse.org/articles/index.html and
developerWorks (http://www-124.ibm.com/developerworks/oss/), specifically
there is the article "Creating an Eclipse View"
(http://eclipse.org/articles/viewArticle/ViewArticle2.html). There are also
several books on Eclipse plug-in development. I'm obviously biased, however
you can search on "eclipse" under Java titles to see everything that's
available today and coming out soon
( http://www.amazon.com/exec/obidos/tg/browse/-/3608/ref=br_bx _c_2_0/103-3856
821-2603008).

No point in suffering when an article or book explains it all.

-- Dan
-------------------------------------------------------
co-author, "The Java Developer's Guide to Eclipse"
http://www.amazon.com/exec/obidos/ASIN/0321159640

"Miguel Griffa" <mgriffa@technisys.net> wrote in message
news:bpe129$703$1@eclipse.org...
> self Miguel Griffa wrote:
> > I'm about to die trying to create a submenu in a view...
> >
> > could anyone save me?
> >
> > (I know I overstate a little the situation, but that's how I feel)
> >
> self reply:
>
> private void fillLocalPullDown(IMenuManager manager) {
>
> ...
>
> MenuManager prioritySubmenu = new MenuManager("&priority");
> prioritySubmenu.add(p1Action);
> prioritySubmenu.add(p2Action);
> prioritySubmenu.add(p3Action);
> prioritySubmenu.add(p4Action);
> prioritySubmenu.add(p5Action);
>
> manager.add(prioritySubmenu);
>
>
Previous Topic:Redirect InputStream to current text selection
Next Topic:Eclipse will not start.. please tell me what does my error mean??
Goto Forum:
  


Current Time: Sat Nov 09 04:06:20 GMT 2024

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

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

Back to the top