|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension interface for IInformationControl
.
Adds API which allows to get this information control's bounds and introduces
the concept of persistent size and location by introducing predicates for
whether the information control supports restoring of size and location.
Note: An information control which implements this interface can ignore calls
to
IInformationControl.setSizeConstraints(int, int)
or use it as hint for its very first appearance.
IInformationControl
Method Summary | |
---|---|
Rectangle |
computeTrim()
Computes the trim for this control. |
Rectangle |
getBounds()
Returns a rectangle describing the receiver's size and location relative to its parent (or its display if its parent is null). |
boolean |
restoresLocation()
Tells whether this control allows to restore the previously used location. |
boolean |
restoresSize()
Tells whether this control allows to restore the previously used size. |
Method Detail |
public Rectangle getBounds()
Note: If the receiver is already disposed then this methods must return the last valid location and size.
public Rectangle computeTrim()
public boolean restoresSize()
Note: This is not a static property - it can change during the lifetime of this control.
true
if restoring size is supportedpublic boolean restoresLocation()
Note: This is not a static property - it can change during the lifetime of this control.
true
if restoring location is supported
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.