Visible editor bounds [message #165098] |
Tue, 11 December 2007 15:43 |
Eclipse User |
|
|
|
Originally posted by: template.tut.by
Hi all, please could you help me? Diagram edit part can contain a lot of
objects, if this objects can't be placed on visible part scrolling bar
appears. It need to know bounds (size) of visible editor part (only that
we can see on a monitor) for every started as a plug-in eclipse workbench
(visible space depends of view positions and other custom settings). This
bounds should be smaller than editor bounds if scrolling presents.
Thanks in advance.
|
|
|
Re: Visible editor bounds [message #165391 is a reply to message #165098] |
Fri, 14 December 2007 10:49 |
Eclipse User |
|
|
|
Originally posted by: 5d5.mail.ru
Diagram is typically hosted by FigureCanvas and it's bounds is the
diagram visible area. It uses Viewport to reveal appropriate diagram
part so you may find the window location.
Denis wrote:
> Hi all, please could you help me? Diagram edit part can contain a lot of
> objects, if this objects can't be placed on visible part scrolling bar
> appears. It need to know bounds (size) of visible editor part (only that
> we can see on a monitor) for every started as a plug-in eclipse
> workbench (visible space depends of view positions and other custom
> settings). This bounds should be smaller than editor bounds if scrolling
> presents.
> Thanks in advance.
>
|
|
|
Powered by
FUDForum. Page generated in 0.04003 seconds