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(
"PureMvc &Singlecore:",
puremvcSinglecore.setFileExtensions(new String[] { "*.swc" });

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

Anyone know why this is happening ?
Previous Topic:Ant pde.exportProducts?
Next Topic:PDE Junit Test runner forwarding args to Eclipse application
Goto Forum:

Current Time: Wed Apr 25 03:18:15 GMT 2018

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

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