StickyNoteFigure (Comment Box) in the logic example [message #187767] |
Fri, 15 July 2005 13:22 |
Eclipse User |
|
|
|
Originally posted by: harsh.ti.com
All,
I am in need of writing a Comment Box in my editor for storing textual
information about the editor. I saw the Logic diagram uses something
similar to what I need. My question is do we need to split up the figure
information from the actual model object? Because in this case, the model
object is fairly simply and is just storing text so why do we need a
BentCornerFigure which extends figure and then StickyNoteFigure which
extends BentCornerFigure? Can't we combine the functionality within the
model object? I understand the need for the feedback figure so we can
provide visual feedback when the object is being moved around.
Any thoughts?
Thank you,
Harsh
|
|
|
Re: StickyNoteFigure (Comment Box) in the logic example [message #187784 is a reply to message #187767] |
Fri, 15 July 2005 15:23 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
"Harsh Sabikhi" <harsh@ti.com> wrote in message
news:4e87adfa299c6d0fd7adfd7f9eee9c3b$1@www.eclipse.org...
> All,
>
> I am in need of writing a Comment Box in my editor for storing textual
> information about the editor. I saw the Logic diagram uses something
> similar to what I need. My question is do we need to split up the figure
> information from the actual model object? Because in this case, the model
> object is fairly simply and is just storing text so why do we need a
> BentCornerFigure which extends figure and then StickyNoteFigure which
> extends BentCornerFigure? Can't we combine the functionality within the
> model object? I understand the need for the feedback figure so we can
Combine what functionality in the model? I'm not sure what you're getting
at.
> provide visual feedback when the object is being moved around.
>
> Any thoughts?
>
> Thank you,
> Harsh
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03667 seconds