apps.remotecontrol.tableportal
Class WorkspaceManager

java.lang.Object
  extended by apps.remotecontrol.tableportal.WorkspaceManager

public class WorkspaceManager
extends java.lang.Object

The Class WorkspaceManager.


Field Summary
 java.util.List<TablePortal> inspectedPortals
          The inspected portals.
 java.util.HashMap<java.lang.String,Location> itemLoc
          The item loc.
 
Method Summary
 void addWorkspaceListener(ContentItem item)
          Adds the workspace listener.
 void disableInspectionForPortal(TablePortal tablePortal)
          Disable inspection for portal.
 void enableInspectionForPortal(TablePortal tablePortal)
          Enable inspection for portal.
static WorkspaceManager getInstance()
          Gets the single instance of WorkspaceManager.
 TablePortal getSourceTablePortal(ContentItem item)
          Gets the source table portal.
 boolean isInspectionEnabledForPortal(TablePortal tablePortal)
          Checks if is inspection enabled for portal.
 void setNetworkedContentManager(NetworkedContentManager networkManager)
          Sets the networked content manager.
 void unregisterContentItem(ContentItem item)
          Unregister content item.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inspectedPortals

public java.util.List<TablePortal> inspectedPortals
The inspected portals.


itemLoc

public java.util.HashMap<java.lang.String,Location> itemLoc
The item loc.

Method Detail

getInstance

public static WorkspaceManager getInstance()
Gets the single instance of WorkspaceManager.

Returns:
single instance of WorkspaceManager

addWorkspaceListener

public void addWorkspaceListener(ContentItem item)
Adds the workspace listener.

Parameters:
item - the item

disableInspectionForPortal

public void disableInspectionForPortal(TablePortal tablePortal)
Disable inspection for portal.

Parameters:
tablePortal - the table portal

enableInspectionForPortal

public void enableInspectionForPortal(TablePortal tablePortal)
Enable inspection for portal.

Parameters:
tablePortal - the table portal

getSourceTablePortal

public TablePortal getSourceTablePortal(ContentItem item)
Gets the source table portal.

Parameters:
item - the item
Returns:
the source table portal

isInspectionEnabledForPortal

public boolean isInspectionEnabledForPortal(TablePortal tablePortal)
Checks if is inspection enabled for portal.

Parameters:
tablePortal - the table portal
Returns:
true, if is inspection enabled for portal

setNetworkedContentManager

public void setNetworkedContentManager(NetworkedContentManager networkManager)
Sets the networked content manager.

Parameters:
networkManager - the new networked content manager

unregisterContentItem

public void unregisterContentItem(ContentItem item)
Unregister content item.

Parameters:
item - the item