Skip to main content



      Home
Home » Eclipse Projects » GEF » palette-model-figure
palette-model-figure [message #161307] Sun, 12 December 2004 02:45 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Delete EditPart/Figure
Next Topic:Automating Nightly Builds with PDE Build
Goto Forum:
  


Current Time: Fri May 09 19:43:42 EDT 2025

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

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

Back to the top