public class CPerspectiveMultipleIdentifierCollection
extends java.lang.Object
CommonMultipleDockableFactory
, used when interacting with a CPerspective
.Constructor and Description |
---|
CPerspectiveMultipleIdentifierCollection(java.lang.String factoryId,
CPerspective perspective)
Creates a new object
|
Modifier and Type | Method and Description |
---|---|
CPerspective |
getPerspective()
Gets the owner of this access object.
|
java.lang.String |
getUniqueId(MultipleCDockablePerspective element)
Searches or creates a unique identifier that matches
element . |
void |
putDockable(java.lang.String id,
MultipleCDockablePerspective perspective)
Stores the element
perspective using the identifier id . |
public CPerspectiveMultipleIdentifierCollection(java.lang.String factoryId, CPerspective perspective)
factoryId
- the unique identifier of the factory that is using this collectionperspective
- the owner of this object, not null
public CPerspective getPerspective()
public java.lang.String getUniqueId(MultipleCDockablePerspective element)
element
.element
- the element whose identifier is searchednull
public void putDockable(java.lang.String id, MultipleCDockablePerspective perspective)
perspective
using the identifier id
.id
- the unique identifier of perspective
perspective
- the new perspective