Editable label [message #152631] |
Sun, 03 October 2004 00:04 |
Eclipse User |
|
|
|
Originally posted by: fukami.stanford.edu
I have an editable label.
But when I change the content of the label, the new content doesn't "stick,"
so when the focus is taken off, it reverts to the old content.
What do I need to fix to get rid of this problem?
I have a line, "firePropertyChange(...)"; but I don't really know how to use
it, if this is what is causing the problem.
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: Editable label [message #152646 is a reply to message #152631] |
Mon, 04 October 2004 03:47 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
1- cell editor fires apply editor value applied
2- celleditormanager receives notification and updates the request with
final value
3- CEM queries editpart for command
4- CEM executes command on stack
Now your part:
5- model fires notification to listener's
6- editpart is a listener, and refreshes the figure
"Chihiro Fukami" <fukami@stanford.edu> wrote in message
news:cjnfdl$li9$1@eclipse.org...
> I have an editable label.
> But when I change the content of the label, the new content doesn't
"stick,"
> so when the focus is taken off, it reverts to the old content.
> What do I need to fix to get rid of this problem?
> I have a line, "firePropertyChange(...)"; but I don't really know how to
use
> it, if this is what is causing the problem.
>
> 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."
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07554 seconds