Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Overriding New Wizard Tag label(Overriding New Wizard Tag label)
Overriding New Wizard Tag label [message #1810866] Wed, 21 August 2019 05:17 Go to next message
Madhan 1106 is currently offline Madhan 1106Friend
Messages: 6
Registered: June 2019
Junior Member
I am creating a rcp application and I have given the names of new wizards using extensions as shown below
 <menuContribution
            allPopups="false"
            locationURI="menu:org.eclipse.ui.newWizard">
         <command
               commandId="com.cts.adpart.ui.getwizards"
               icon=icon path
               label="My name"
               style="push">
         </command>
 /menuContribution>


Now I want to overrride this "My name" label from the code and change it.
Is there any I can achieve this programatically
Re: Overriding New Wizard Tag label [message #1810932 is a reply to message #1810866] Thu, 22 August 2019 09:19 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
No, I believe there is API (or public methods) for doing that. But with Java reflection you can do pretty much anything, even very bad things... Generally such names should be factored out into the plugin.properties so you can change it there, but even that you can't (shouldn't) do dynamically on the fly...

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:User Specified Entries in XML Catalog Are Ignored
Next Topic:Multiple IDE instances
Goto Forum:
  


Current Time: Fri Mar 29 10:46:22 GMT 2024

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

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

Back to the top