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 12:19
Geirr Winnem is currently offline Geirr Winnem
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:Adding DropAdapter causes Widge is Disposed error
Goto Forum:

Current Time: Thu Aug 21 02:26:03 EDT 2014

Powered by FUDForum. Page generated in 0.01466 seconds