Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How can I use Editor for same model ?
How can I use Editor for same model ? [message #178035] Mon, 18 April 2005 02:53
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:Horizontal layout
Next Topic:use same model in different editpart
Goto Forum:
  


Current Time: Wed Feb 08 08:30:03 GMT 2023

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

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

Back to the top