Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » new wizard page extending WizardNewFileCreationPage(properly rename file label)
new wizard page extending WizardNewFileCreationPage [message #682667] Sat, 11 June 2011 20:00
nicolas h is currently offline nicolas hFriend
Messages: 60
Registered: February 2011
Location: Grenoble, France
Member
Hi there,
I added to my wizard a new page extending WizardNewFileCreationPage.
I noticed that WizardNewFileCreationPage defines getNewFileLabel getter method :

protected String getNewFileLabel() {
	return IDEWorkbenchMessages.WizardNewFileCreationPage_fileLabel;
}


Nonetheless there isn't setter method to change the file label. I directly change the file label in my page like this :

IDEWorkbenchMessages.WizardNewFileCreationPage_fileLabel = "new file label";


but it's discouraged access :

Quote:
Discouraged access: The type IDEWorkbenchMessages is not accessible due to restriction


Moreover, my change affects the other wizards, I want to change the label file only for my wizard.

Is there exist an other way to change the fileLabel please ?


Best regards,

--
Nicolas
Previous Topic:Mouse scroll event
Next Topic:Link with editor not working
Goto Forum:
  


Current Time: Wed Nov 26 03:34:04 GMT 2014

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

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