|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An IPlaceholderFolderLayout
is used to define the initial
view placeholders within a folder.
The folder itself is contained within an IPageLayout
.
This interface is not intended to be implemented by clients.
IPageLayout.createPlaceholderFolder(java.lang.String, int, float, java.lang.String)
Method Summary | |
---|---|
void |
addPlaceholder(String viewId)
Adds a view placeholder to this folder. |
String |
getProperty(String id)
Returns the property with the given id or null . |
void |
setProperty(String id,
String value)
Sets the given property to the given value. |
Method Detail |
public void addPlaceholder(String viewId)
IPageLayout
type documentation for more details about compound ids.
If the placeholder contains wildcards, it remains in the layout, otherwise
it is replaced by the view.
If the primary id of the placeholder has no wildcards, it must refer to a view
contributed to the workbench's view extension point
(named "org.eclipse.ui.views"
).
viewId
- the compound view id (wildcards allowed)public String getProperty(String id)
null
. Folder
properties are an extensible mechanism for perspective authors to
customize the appearance of view stacks. The list of customizable
properties is determined by the presentation factory.
id
- Must not be null
.
null
if the property is not
set.public void setProperty(String id, String value)
These folder properties are intended to be set during
IPerspectiveFactory#createInitialLayout
. Any subsequent
changes to property values after this method completes will not fire
change notifications and will not be reflected in the presentation.
id
- property id. Must not be null
.value
- property value. null
will clear the property.
|
Eclipse Platform Release 3.3 |
|||||||||||
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, 2007. All rights reserved.