palette-model-figure [message #161307] |
Sun, 12 December 2004 02:45  |
Eclipse User |
|
|
|
Originally posted by: fukami.stanford.edu
When I create my palette, I defined some inner classes for some of my
models.
However, I'm having difficulty linking them to the figure (and editpart?)
classes.
The reason why I need inner classes is because I don't want to use
"predefined" (i.e. hardcoded) models for my program. Ultimately, I want to
be able to create the models and figures from reading in a series of XML
files. Is this possible from the creation of inner (i.e. anonymous)
classes?
Any help would be appreciated.
-C
|
|
|
Re: palette-model-figure [message #161355 is a reply to message #161307] |
Mon, 13 December 2004 11:04  |
Eclipse User |
|
|
|
Are you talking about the GEF palette, or one of your own? The GEF palette
only understands the model defined in the org.eclipse.gef.palette package.
You can still read in what tools you want to put on there. If you're
talking about your own palette, you'll have to provide a little more
information about what these problems are exactly.
"Chihiro Fukami" <fukami@stanford.edu> wrote in message
news:cpgsus$cm6$1@www.eclipse.org...
> When I create my palette, I defined some inner classes for some of my
> models.
> However, I'm having difficulty linking them to the figure (and editpart?)
> classes.
>
> The reason why I need inner classes is because I don't want to use
> "predefined" (i.e. hardcoded) models for my program. Ultimately, I want
to
> be able to create the models and figures from reading in a series of XML
> files. Is this possible from the creation of inner (i.e. anonymous)
> classes?
>
> Any help would be appreciated.
>
> -C
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02324 seconds