Package org.eclnt.workplace
Class WorkplaceTileManager
java.lang.Object
org.eclnt.workplace.WorkplaceTileManager
- All Implemented Interfaces:
Serializable
Manages the "tiles" of a workplace. The workplace manager manages a hierarchy of
areas ("tiles"), each one containing a workpage container.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclass -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoiddestroyTile(String tileId) Destroy one tile - the neighbour tile is re-organized accordingly.voidensureTileForWorkpageContainerIsAvailable(String workpageContainerId) Exports current workplace configuration intoexportWorkplaceTileInfo()object.Animation that is applied inside a workpage container when its content is updated.intvoidimportWorkplaceTileInfo(String perspective) Imports a workplace perspective - the perspective is resolved by its name.voidimportWorkplaceTileInfo(String perspective, boolean withClosingCurrentContent) Same asimportWorkplaceTileInfo(String)- but with additional parameter.voidimportWorkplaceTileInfo(WorkplaceTileInfo tileInfo) Imports an existing workplace perspective into the current workplace.voidimportWorkplaceTileInfo(WorkplaceTileInfo tileInfo, boolean withClosingCurrentContent) Same asimportWorkplaceTileInfo(WorkplaceTileInfo)but now with additional parameter "withClosingCurrentContent".voidsetAnimationType(String animationType) voidsetDividerSize(int dividerSize) voidsetDividerSize(String value) booleansetPercentageWidthOfTile(String tileId, int percWidth) booleansetPixelWidthOfTile(String tileId, int pixelWidth) voidsetSelectorPosition(String selectorPosition) voidsetWpCloseImage(String wpCloseImage) voidsetWpPopupImage(String wpPopupImage) voidsetWpPopupMenu(String wpPopupMenu) Splits a tile with a given id.
-
Field Details
-
DIRECTION_TOP
public static int DIRECTION_TOP -
DIRECTION_BOTTOM
public static int DIRECTION_BOTTOM -
DIRECTION_LEFT
public static int DIRECTION_LEFT -
DIRECTION_RIGHT
public static int DIRECTION_RIGHT -
SELECTOR_POSITION_TOP
- See Also:
-
SELECTOR_POSITION_BOTTOM
- See Also:
-
SELECTOR_POSITION_NO
- See Also:
-
-
Constructor Details
-
WorkplaceTileManager
-
-
Method Details
-
construct
protected void construct() -
getWorkplaceTileSplits
-
getTopTile
-
getContent
-
getSelectorPosition
-
setSelectorPosition
-
getAnimationType
Animation that is applied inside a workpage container when its content is updated. Default is "fogdark". -
setAnimationType
-
getDividerSize
public int getDividerSize() -
setDividerSize
-
setDividerSize
public void setDividerSize(int dividerSize) -
getWpCloseImage
-
setWpCloseImage
-
getWpPopupImage
-
setWpPopupImage
-
getWpPopupMenu
-
setWpPopupMenu
-
setPixelWidthOfTile
-
setPercentageWidthOfTile
-
splitTile
Splits a tile with a given id. -
splitTile
- Parameters:
tileId- The id of the workplace container that is to be split.
-
destroyTile
Destroy one tile - the neighbour tile is re-organized accordingly. Pay attention: destroying the tile does NOT check if there are workpages within the tile - this needs to be checked in parallel! -
importWorkplaceTileInfo
Imports a workplace perspective - the perspective is resolved by its name. -
importWorkplaceTileInfo
Same asimportWorkplaceTileInfo(String)- but with additional parameter.- Parameters:
withClosingCurrentContent- True => all workpages that are openes ared closed. False => the workpages are kept and are moved into the new workplace-tile-arrangement.
-
importWorkplaceTileInfo
Imports an existing workplace perspective into the current workplace. Use this method to directly load a certain tile arrangement into an existing workplace. -
importWorkplaceTileInfo
Same asimportWorkplaceTileInfo(WorkplaceTileInfo)but now with additional parameter "withClosingCurrentContent".- Parameters:
withClosingCurrentContent- True => all workpages that are openes ared closed. False => the workpages are kept and are moved into the new workplace-tile-arrangement.
-
exportWorkplaceTileInfo
Exports current workplace configuration intoexportWorkplaceTileInfo()object. This is typically serialized in order to persist a workplace perspective. -
ensureTileForWorkpageContainerIsAvailable
-