[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-ui-dev] How to present 'transient' information using a plugin
|
Gary,
You can do two things:
1) Create an editor that partitions its screen real estate into the area
for editing and the area for presenting the graph. Do this if the graph is
absolutely essential to operation of the editor. An example of this can be
found in PDE manifest editor (pages 'Extensions' and 'Extension Points')
where operation on the left is presented as a graph on the right.
2) Create a graph view that reacts to selections elsewhere in the desktop.
Doing this allows you to position the graph wherever you want on the
desktop. An example of this approach is property sheet view. However,
beware that views can be closed by the user, so you cannot count on them
being present. If you still insist on having it in a view, you can ensure
it is open and visible before sending information for graphical
presentation (there are APIs on the perspective to open the view, but these
APIs also give it focus, which may or may not be what you need).
On a side, this particular topic is more related to general Eclipse UI
mailing list than PDE (PDE is related to the particular tool that allows
you to build plug-ins inside Eclipse, not to building plug-ins in general).
Regards,
Dejan Glozic, Ph.D.
Application Development
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745 T/L 969-2745
Fax. 905 413-4854
"Gary Brown"
<Gary.Brown@spirit To: <pde-ui-dev@xxxxxxxxxxx>
-soft.com> cc:
Sent by: Subject: [pde-ui-dev] How to present 'transient' information
pde-ui-dev-admin@e using a plugin
clipse.org
12/04/2001 03:36
AM
Please respond to
pde-ui-dev
Hi,
I have recently started looking into developing a plugin. I understand the
purpose of views and editors, in respect of presenting information about a
resource.
However, if when a user is performing an operation within an editor, the
result of the operation needs to be presented - e.g. in the form of a
graph , how should this transient information be displayed - a view? Can
the editor dynamically cause a new view to be added to the user's
perspective?
Or is the suggested approach that a new independent frame be displayed?
If there is a document discussing this type of behaviour for a plugin, or
any relevant examples, I would appreciate any references/pointers.
Thanks in advance
Gary Brown
(See attached file: InterScan_Disclaimer.txt)
Attachment:
InterScan_Disclaimer.txt
Description: Binary data