Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Labeling and Outlines
Labeling and Outlines [message #152556] Fri, 01 October 2004 22:53 Go to next message
Eclipse UserFriend
Originally posted by: fukami.stanford.edu

In the flowchart example, the main object in use for the construction of the
chart is "Label."
However, such is not the case in the logic-diagram example, as each of the
components are
newly defined "logic subpart" objects. Is there any way to implement
*editable* labels in the
logic-diagram example without altering this structure?

Also, in the logic example (but NOT the flowchart), the outline subwindow is
maintained, keeping
track of each of the individual components used in the diagram. In what
class is all of this implemented? In other words, what part of the program
keeps track of all the parts of the diagram at the highest level (ie
maintaining the graphics, the functional elements, and the outline)?

Any help would be appreciated.

Thanks,
Chihiro

--
"Dance like nobody's watching;
love like you've never been hurt.
Sing like nobody's listening;
live like it's heaven on earth."
Re: Labeling and Outlines [message #152609 is a reply to message #152556] Sat, 02 October 2004 19:27 Go to previous message
Antony is currently offline AntonyFriend
Messages: 34
Registered: July 2009
Member
> In the flowchart example, the main object in use for the construction of the
> chart is "Label."
> However, such is not the case in the logic-diagram example, as each of the
> components are
> newly defined "logic subpart" objects. Is there any way to implement
> *editable* labels in the
> logic-diagram example without altering this structure?

Actually the Logic Example does have a Label implementation, which is an
indirect subclass of LogicSubpart. It is editable and almost fully
resizable.

> Also, in the logic example (but NOT the flowchart), the outline subwindow is
> maintained, keeping
> track of each of the individual components used in the diagram. In what
> class is all of this implemented? In other words, what part of the program
> keeps track of all the parts of the diagram at the highest level (ie
> maintaining the graphics, the functional elements, and the outline)?

I don't remember well, but I think that there's a class OutlinePage (or
something like that) inside the LogicEditorPart file. Take a look there
and see if it's what you wanted. Good work, pal!

Antony
Previous Topic:ShortestPaths Algorithm in Logic example
Next Topic:OS clash
Goto Forum:
  


Current Time: Fri Apr 26 12:58:55 GMT 2024

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

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

Back to the top