Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Multiple FileFieldEditors problem
Multiple FileFieldEditors problem [message #647991] Mon, 10 January 2011 17:19
Geirr Winnem is currently offline Geirr WinnemFriend
Messages: 1
Registered: January 2011
Junior Member
I am new to plugin development and i am trying to create a preference page with multiple FileFieldEditor's

Having one is no problem and the preference page is working ok, but when adding more then all editor's are getting the value from the last added editor when setting and retrieving properties.

Code used to adding editors:
FileFieldEditor puremvcSinglecore = new FileFieldEditor(
PreferenceConstants.P_PUREMVCSINGLECORE_SWC,
"PureMvc &Singlecore:",
getFieldEditorParent());
puremvcSinglecore.setFileExtensions(new String[] { "*.swc" });
addField(puremvcSinglecore);

FileFieldEditor puremvcMulticore = new FileFieldEditor(
PreferenceConstants.P_PUREMVCMULTICORE_SWC,
"PureMvc &Multicore:",
getFieldEditorParent());
puremvcMulticore.setFileExtensions(new String[] { "*.swc" });
addField(puremvcMulticore);

Anyone know why this is happening ?
Previous Topic:Ant pde.exportProducts?
Next Topic:Adding DropAdapter causes Widge is Disposed error
Goto Forum:
  


Current Time: Fri Apr 19 16:02:37 GMT 2024

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

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

Back to the top