use same model in different editpart [message #178044] |
Mon, 18 April 2005 02:55 |
Eclipse User |
|
|
|
Originally posted by: finegs.nate.com
I develop Gef Editor .
but i have problem
Defferent Edit part , one is Root editpart , and other is edit part of
another parent Root editpart
but use same model
that is
== > model
class Job {
}
== > editpart of RootEditPart
class RuleEditPart {
}
== >used in RootEditpart of edit
class JobPart {
}
== > use Job model for RootEditpart
class JobEditpart {
}
i have resolve changing PaletteView according to model change
if Root model is Rule , then i use Ruleeditpart to rooteditpart
if Root model is Job , then i use JobEditPart to rooteditpart
open one GEF Editor is well
but , use model which is part of Editpart open Editor has problem in
EditpartFactory
how can i do that ~~~~` ?
plz help me
|
|
|
Powered by
FUDForum. Page generated in 0.04288 seconds