add a "console-like" view to the diagram [message #468194] |
Tue, 04 August 2009 09:29  |
Eclipse User |
|
|
|
Hi! in my diagram, now I have an editor (where add nodes and links), an
overview and the property sheet. I would add another view where write the
log. Now I use the console and the System.out.print , but when I will
build my rcp, I would use a view for the log.
I saw that views are in DiagramEditorPerspective, but I think that the
standard views of IPageLayout can't meet my requirement. How can I create
my view?
Thanks,
Daniele.
|
|
|
|
|
|
|
|
Re: add a "console-like" view to the diagram [SOLVED] [message #484562 is a reply to message #479218] |
Tue, 08 September 2009 05:15  |
Eclipse User |
|
|
|
oook!! problem solved!! I just create a static method "refresh" in the
view.
refresh(String event) add the event to the view, and I use the method
"viewer.setInput("null"); " to refresh grafically the table. that's work
fine, and I can invoke the method wherever I want, simply by
SampleView.refresh(event);
bye
|
|
|
Powered by
FUDForum. Page generated in 0.09027 seconds