Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » use same model in different editpart
use same model in different editpart [message #178044] Mon, 18 April 2005 02:55
Eclipse UserFriend
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
Previous Topic:How can I use Editor for same model ?
Next Topic:How to make different figures share same model and part
Goto Forum:
  


Current Time: Thu Feb 02 13:56:55 GMT 2023

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

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

Back to the top