Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Saving values modified from property sheet
Saving values modified from property sheet [message #597634] Tue, 19 May 2009 08:31
Eclipse UserFriend
Originally posted by:


I want to know how to setDirty my editor when a property of my model is
changed from the propertySheetPage.

I have this in my editor:

protected PropertySheetPage getPropertySheetPage()
if (null == propertySheetPage)
propertySheetPage = new PropertySheetPage();
return propertySheetPage;

public Object getAdapter(Class adapter) {
if (adapter == IPropertySheetPage.class)
return getPropertySheetPage();
// the super implementation handles the rest
return super.getAdapter(adapter);

The propertySheet shows the differents properties of my model and let me
edit, but I need to save the new values.

Any idea?

Thanks in advance.
Previous Topic:RCP roduct Launch fails when defining "-configuration" switch
Next Topic:How to detect if launching from eclipse
Goto Forum:

Current Time: Sat Sep 24 20:52:38 GMT 2022

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

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

Back to the top