|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditorPage
Method Summary | |
---|---|
void |
applyData(java.lang.Object data)
|
Point |
computeSize()
Computes a size for this page's UI component. |
boolean |
isValid()
Returns whether this dialog page is in a valid state. |
boolean |
okToLeave()
Checks whether it is alright to leave this page. |
boolean |
performApply()
Executed immediately before an apply action. |
boolean |
performCancel()
Notifies that the container of this preference page has been canceled. |
boolean |
performOk()
Notifies that the OK button of this page's container has been pressed. |
void |
refresh()
|
void |
setContainer(IEditorPageContainer dialog)
|
void |
setSize(Point size)
Sets the size of this page's UI component. |
Method Detail |
---|
Point computeSize()
new Point(width,height)
, or
(0,0)
if the page doesn't currently have any UI componentboolean isValid()
true
if the page is in a valid state,
and false
if invalidboolean okToLeave()
false
to abort page flipping and the
have the current page remain visible, and true
to allow the page flipboolean performCancel()
false
to abort the container's cancel
procedure and true
to allow the cancel to happenboolean performOk()
false
to abort the container's OK
processing and true
to allow the OK to happenboolean performApply()
void setSize(Point size)
size
- the size of the preference page encoded as
new Point(width,height)
void setContainer(IEditorPageContainer dialog)
void applyData(java.lang.Object data)
void refresh()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |