Package org.eclipse.ui
Interface IViewLayout
-
public interface IViewLayoutRepresents the layout info for a view or placeholder in anIPageLayout.This interface is not intended to be implemented by clients.
- Since:
- 3.0
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetShowTitle()Returns whether the view shows its title.booleanisCloseable()Returns whether the view is closeable.booleanisMoveable()Returns whether the view is moveable.booleanisStandalone()Returns whether the view is a standalone view.voidsetCloseable(boolean closeable)Sets whether the view is closeable.voidsetMoveable(boolean moveable)Sets whether the view is moveable.
-
-
-
Method Detail
-
isCloseable
boolean isCloseable()
Returns whether the view is closeable. The default istrue.- Returns:
trueif the view is closeable,falseif not
-
setCloseable
void setCloseable(boolean closeable)
Sets whether the view is closeable.- Parameters:
closeable-trueif the view is closeable,falseif not
-
isMoveable
boolean isMoveable()
Returns whether the view is moveable. The default istrue.- Returns:
trueif the view is moveable,falseif not
-
setMoveable
void setMoveable(boolean moveable)
Sets whether the view is moveable.- Parameters:
moveable-trueif the view is moveable,falseif not
-
isStandalone
boolean isStandalone()
Returns whether the view is a standalone view.- Returns:
- true if standalone, false otherwise.
- See Also:
IPageLayout.addStandaloneView(java.lang.String, boolean, int, float, java.lang.String)
-
getShowTitle
boolean getShowTitle()
Returns whether the view shows its title. This is only applicable to standalone views.- Returns:
- true if the title is shown, false otherwise.
- See Also:
IPageLayout.addStandaloneView(java.lang.String, boolean, int, float, java.lang.String)
-
-