Package org.ametys.core.ui
Class RelationsManager
-
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<ClientSideRelation>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class RelationsManager extends AbstractClientSideExtensionPoint<ClientSideRelation>
This extension point handle the existing relations on the client side (relation system allow for example drag and drop).
-
-
Field Summary
Fields Modifier and Type Field Description static String
ROLE
Avalon role-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description RelationsManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private List<ClientSideElement>
_findSourceDependencies(String pattern)
private List<ClientSideElement>
_findTargetDependencies(String pattern)
private ClientSideElement
_getMessageTargetFactory(String pattern)
List<ClientSideElement>
findDependency(String pattern)
Find a dependency of this manager from the Client side elements it knows.-
Methods inherited from class org.ametys.core.ui.AbstractClientSideExtensionPoint
addExtension, getExtension, getExtensionsIds, initializeExtensions, registerRibbonManager, unregisterRibbonManager
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, contextualize, dispose, hasExtension, initialize, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
RelationsManager
public RelationsManager()
-
-
Method Detail
-
findDependency
public List<ClientSideElement> findDependency(String pattern)
Description copied from class:AbstractClientSideExtensionPoint
Find a dependency of this manager from the Client side elements it knows.- Overrides:
findDependency
in classAbstractClientSideExtensionPoint<ClientSideRelation>
- Parameters:
pattern
- The matching pattern to find the dependency.- Returns:
- The dependency, or null if no Client side element matched.
-
_findSourceDependencies
private List<ClientSideElement> _findSourceDependencies(String pattern)
-
_findTargetDependencies
private List<ClientSideElement> _findTargetDependencies(String pattern)
-
_getMessageTargetFactory
private ClientSideElement _getMessageTargetFactory(String pattern)
-
-