Class WorkplaceTileManager

java.lang.Object
org.eclnt.workplace.WorkplaceTileManager
All Implemented Interfaces:
Serializable

public class WorkplaceTileManager extends Object implements Serializable
Manages the "tiles" of a workplace. The workplace manager manages a hierarchy of areas ("tiles"), each one containing a workpage container.
See Also:
  • 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
  • Constructor Details

    • WorkplaceTileManager

      public WorkplaceTileManager(WorkpageContainer workpageContainer)
  • Method Details

    • construct

      protected void construct()
    • getWorkplaceTileSplits

      public List<WorkplaceTileManager.WorkplaceTileSplit> getWorkplaceTileSplits()
    • getTopTile

    • getContent

      public ROWDYNAMICCONTENTBinding getContent()
    • getSelectorPosition

      public String getSelectorPosition()
    • setSelectorPosition

      public void setSelectorPosition(String selectorPosition)
    • getAnimationType

      public String getAnimationType()
      Animation that is applied inside a workpage container when its content is updated. Default is "fogdark".
    • setAnimationType

      public void setAnimationType(String animationType)
    • getDividerSize

      public int getDividerSize()
    • setDividerSize

      public void setDividerSize(String value)
    • setDividerSize

      public void setDividerSize(int dividerSize)
    • getWpCloseImage

      public String getWpCloseImage()
    • setWpCloseImage

      public void setWpCloseImage(String wpCloseImage)
    • getWpPopupImage

      public String getWpPopupImage()
    • setWpPopupImage

      public void setWpPopupImage(String wpPopupImage)
    • getWpPopupMenu

      public String getWpPopupMenu()
    • setWpPopupMenu

      public void setWpPopupMenu(String wpPopupMenu)
    • setPixelWidthOfTile

      public boolean setPixelWidthOfTile(String tileId, int pixelWidth)
    • setPercentageWidthOfTile

      public boolean setPercentageWidthOfTile(String tileId, int percWidth)
    • splitTile

      public String splitTile(String tileId, int direction)
      Splits a tile with a given id.
    • splitTile

      public String splitTile(String tileId, String newTileId, int direction)
      Parameters:
      tileId - The id of the workplace container that is to be split.
    • destroyTile

      public void destroyTile(String tileId)
      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

      public void importWorkplaceTileInfo(String perspective)
      Imports a workplace perspective - the perspective is resolved by its name.
    • importWorkplaceTileInfo

      public void importWorkplaceTileInfo(String perspective, boolean withClosingCurrentContent)
      Same as importWorkplaceTileInfo(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

      public void importWorkplaceTileInfo(WorkplaceTileInfo tileInfo)
      Imports an existing workplace perspective into the current workplace. Use this method to directly load a certain tile arrangement into an existing workplace.
    • importWorkplaceTileInfo

      public void importWorkplaceTileInfo(WorkplaceTileInfo tileInfo, boolean withClosingCurrentContent)
      Same as importWorkplaceTileInfo(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

      public WorkplaceTileInfo exportWorkplaceTileInfo()
      Exports current workplace configuration into exportWorkplaceTileInfo() object. This is typically serialized in order to persist a workplace perspective.
    • ensureTileForWorkpageContainerIsAvailable

      public void ensureTileForWorkpageContainerIsAvailable(String workpageContainerId)