Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] How to avoid single entry submenus?

Sorry for the late reply.  Are you asking for a new feature, or whether the
existing implementation supports it?  Currently we do not support the
behavior you are looking for.

Dave


                                                                                               
                    Andre Weinand                                                              
                    <weinand@xxxxxxx>              To:     platform-ui-dev@xxxxxxxxxxx         
                    Sent by:                       cc:                                         
                    platform-ui-dev-admin@e        Subject:     [platform-ui-dev] How to avoid 
                    clipse.org                     single entry submenus?                      
                                                                                               
                                                                                               
                    12/11/01 09:49 AM                                                          
                    Please respond to                                                          
                    platform-ui-dev                                                            
                                                                                               
                                                                                               




Both the Compare and VCM plugins use the object contribution mechanism to
add
the 'Compare With' & 'Replace With' sub menus to the context menu.

This works great as long as there are at least two items in a submenu.
However, in the Java editor's outliner the submenus happen to have
only a single entry
which makes them look silly.

Is there a way to have something like an 'optional submenu' that exists
only if
it contains more than one entry?

Thanks,
--andre
_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev






Back to the top