Skip to main content



      Home
Home » Newcomers » Newcomers » Programatically associating a EditorPart to a domain/model object
Programatically associating a EditorPart to a domain/model object [message #162726] Fri, 28 July 2006 15:00
Eclipse UserFriend
I am bulding an editor (class extends EditorPart) which has an associated
IEditorInput that provides model data (a domain object) to my editor. this
model data is shown as the text values within my editor Text objects. When
my editor becomes dirty and the doSave() method is called I want to save
my newly modified model/domain object but there is no clear way to tie the
text values of the Text objects to the domain object through the
IEditorInput object.

What is the best way to get text data(value) from a Text widget and set it
that data into a domain object before saving? I would hope I don't have to
write a mapping of the Text inputs (widgets) to my domain object.

Thoughts?
Previous Topic:eclipse 3.2/Calisto updates routinely fail @ /gmf/update-site/. how to fix?
Next Topic:Language Packs 3.2.x
Goto Forum:
  


Current Time: Sun Jul 27 08:48:39 EDT 2025

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

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

Back to the top