Skip to main content



      Home
Home » Newcomers » Newcomers » Adding a menu item to File>New
Adding a menu item to File>New [message #152771] Tue, 16 May 2006 11:04 Go to next message
Eclipse UserFriend
Hi,
I have created a new editor and would like to make it available within a new
category via the File>New drop-down menu. For example File>New>My
Category...
When the user clicks My Category..., they will see the item for launching my
editor. Eventually there will be other items there for other editors. An
example of this is when you select File>New>Example... So basically, I am
looking for the most elegant solution for adding the category to the
File>New menu.
thanks alot - Barry
Re: Adding a menu item to File>New [message #152811 is a reply to message #152771] Tue, 16 May 2006 13:08 Go to previous messageGo to next message
Eclipse UserFriend
All about extension points and extensions :-)

See
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/extension-points/org_eclipse_ui_n ewWizards.html

HTH
Darins

"Barry Dresdner" <barry.dresdner@softwareagusa.com> wrote in message
news:e4cpmc$vh3$1@utils.eclipse.org...
> Hi,
> I have created a new editor and would like to make it available within a
> new category via the File>New drop-down menu. For example File>New>My
> Category...
> When the user clicks My Category..., they will see the item for launching
> my editor. Eventually there will be other items there for other editors.
> An example of this is when you select File>New>Example... So basically, I
> am looking for the most elegant solution for adding the category to the
> File>New menu.
> thanks alot - Barry
>
Re: Adding a menu item to File>New [message #152817 is a reply to message #152811] Tue, 16 May 2006 13:23 Go to previous messageGo to next message
Eclipse UserFriend
Thank you Darin for the link.
Using this information, I have been able to create a new category and my
selection correctly appears under the category. Now the next step is to get
my category to appear under the File>New drop-down. I assume this can be
done by assigning a parent category (parentCategory) that will point to that
menu. Do you know how I can find out what the category is for the File>New
menu?
regards - Barry

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:e4d0tn$lpi$1@utils.eclipse.org...
> All about extension points and extensions :-)
>
> See
> http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/extension-points/org_eclipse_ui_n ewWizards.html
>
> HTH
> Darins
>
> "Barry Dresdner" <barry.dresdner@softwareagusa.com> wrote in message
> news:e4cpmc$vh3$1@utils.eclipse.org...
>> Hi,
>> I have created a new editor and would like to make it available within a
>> new category via the File>New drop-down menu. For example File>New>My
>> Category...
>> When the user clicks My Category..., they will see the item for launching
>> my editor. Eventually there will be other items there for other editors.
>> An example of this is when you select File>New>Example... So basically,
>> I am looking for the most elegant solution for adding the category to the
>> File>New menu.
>> thanks alot - Barry
>>
>
>
Re: Adding a menu item to File>New [message #152914 is a reply to message #152817] Wed, 17 May 2006 04:17 Go to previous messageGo to next message
Eclipse UserFriend
Barry Dresdner wrote:

>Thank you Darin for the link.
>Using this information, I have been able to create a new category and my
>selection correctly appears under the category. Now the next step is to get
>my category to appear under the File>New drop-down. I assume this can be
>done by assigning a parent category (parentCategory) that will point to that
>menu. Do you know how I can find out what the category is for the File>New
>menu?
>
>
See org.eclipse.ui.perspectiveExtensions extension-point.

Dani

>regards - Barry
>
>"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
>news:e4d0tn$lpi$1@utils.eclipse.org...
>
>
>>All about extension points and extensions :-)
>>
>>See
>> http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/extension-points/org_eclipse_ui_n ewWizards.html
>>
>>HTH
>>Darins
>>
>>"Barry Dresdner" <barry.dresdner@softwareagusa.com> wrote in message
>>news:e4cpmc$vh3$1@utils.eclipse.org...
>>
>>
>>>Hi,
>>>I have created a new editor and would like to make it available within a
>>>new category via the File>New drop-down menu. For example File>New>My
>>>Category...
>>>When the user clicks My Category..., they will see the item for launching
>>>my editor. Eventually there will be other items there for other editors.
>>>An example of this is when you select File>New>Example... So basically,
>>>I am looking for the most elegant solution for adding the category to the
>>>File>New menu.
>>>thanks alot - Barry
>>>
>>>
>>>
>>
>>
>
>
>
>
Re: Adding a menu item to File>New [message #152990 is a reply to message #152914] Wed, 17 May 2006 12:02 Go to previous message
Eclipse UserFriend
Thanks Dani!!
Barry

"Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
news:e4em6s$89g$3@utils.eclipse.org...
> Barry Dresdner wrote:
>
>>Thank you Darin for the link.
>>Using this information, I have been able to create a new category and my
>>selection correctly appears under the category. Now the next step is to
>>get my category to appear under the File>New drop-down. I assume this can
>>be done by assigning a parent category (parentCategory) that will point to
>>that menu. Do you know how I can find out what the category is for the
>>File>New menu?
>>
> See org.eclipse.ui.perspectiveExtensions extension-point.
>
> Dani
>
>>regards - Barry
>>
>>"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
>>news:e4d0tn$lpi$1@utils.eclipse.org...
>>
>>>All about extension points and extensions :-)
>>>
>>>See
>>> http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/extension-points/org_eclipse_ui_n ewWizards.html
>>>
>>>HTH
>>>Darins
>>>
>>>"Barry Dresdner" <barry.dresdner@softwareagusa.com> wrote in message
>>>news:e4cpmc$vh3$1@utils.eclipse.org...
>>>
>>>>Hi,
>>>>I have created a new editor and would like to make it available within a
>>>>new category via the File>New drop-down menu. For example File>New>My
>>>>Category...
>>>>When the user clicks My Category..., they will see the item for
>>>>launching my editor. Eventually there will be other items there for
>>>>other editors. An example of this is when you select File>New>Example...
>>>>So basically, I am looking for the most elegant solution for adding the
>>>>category to the File>New menu.
>>>>thanks alot - Barry
>>>>
>>>>
>>>
>>
>>
>>
Previous Topic:stored procedure
Next Topic:Console interaction with classes
Goto Forum:
  


Current Time: Mon May 12 19:26:54 EDT 2025

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

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

Back to the top