Class CPerspectiveMultipleIdentifierCollection
java.lang.Object
bibliothek.gui.dock.common.perspective.CPerspectiveMultipleIdentifierCollection
A helper class for
CommonMultipleDockableFactory, used when interacting with a CPerspective.- Author:
- Benjamin Sigg
-
Constructor Summary
ConstructorsConstructorDescriptionCPerspectiveMultipleIdentifierCollection(String factoryId, CPerspective perspective) Creates a new object -
Method Summary
Modifier and TypeMethodDescriptionGets the owner of this access object.getUniqueId(MultipleCDockablePerspective element) Searches or creates a unique identifier that matcheselement.voidputDockable(String id, MultipleCDockablePerspective perspective) Stores the elementperspectiveusing the identifierid.
-
Constructor Details
-
CPerspectiveMultipleIdentifierCollection
Creates a new object- Parameters:
factoryId- the unique identifier of the factory that is using this collectionperspective- the owner of this object, notnull
-
-
Method Details
-
getPerspective
Gets the owner of this access object.- Returns:
- the owner
-
getUniqueId
Searches or creates a unique identifier that matcheselement.- Parameters:
element- the element whose identifier is searched- Returns:
- the identifier, may be
null
-
putDockable
Stores the elementperspectiveusing the identifierid.- Parameters:
id- the unique identifier ofperspectiveperspective- the new perspective
-