Labeling and Outlines [message #152556] |
Fri, 01 October 2004 22:53 |
Eclipse User |
|
|
|
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 |
Antony 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
|
|
|
Powered by
FUDForum. Page generated in 0.03171 seconds