Package org.ametys.core.ui
-
Interface Summary Interface Description ClientSideElement Object binding of a client side element, ie something that is loaded and executed by the browser.
Such elements may be UI controls (buttons, menu, tools, ...) but also only JS or CSS files.
This interface only covers files to be loaded, but its implementations are also meant to hold associated business-logic, if any.
To implement such logic, implementing classes should write any method, annotated withCallable
, that will be directly called by the kernel upon execution of the JavaScript methodserverCall('methodeName', params)
.
AllMap<String, Object>
instances found in this class and its implementations are directly converted from and to JSON to interact with browser-site JavaScript.ClientSideRelation Interface for client side elements that supports relations between a source and a targetMenuClientSideElement Interface representing a menuRibbonImport This extension point handle the ribbon imports. -
Class Summary Class Description AbstractClientSideExtensionPoint<T extends ClientSideElement> Implementation of an ExtensionPoint for client side elements.AddTaskClientSideElement This implementation creates an element for adding a new taskClientSideElement.Script This class represents a scriptClientSideElement.ScriptFile This class represents a script fileClientSideElementDependenciesManager Dependencies manager, able to compute the full chain of dependencies.ClientSideElementHelper Helper for manipulating ClientSideElementExecuteClientCallsAction Action executing remote method calls coming from client-side elements.
Called methods should be annotated withCallable
.MessageTargetFactoriesManager This extension point handle the existing ribbon controls.RelationsManager This extension point handle the existing relations on the client side (relation system allow for example drag and drop).RibbonConfigurationManager This class handles the ribbon configuration needed for client side display.RibbonControlsManager This extension point handle the existing ribbon controls.RibbonImportManager This extension point handle the ribbon imports.RibbonManager Manager for ribbon elements that are created live during runtimeRibbonManagerCache Helper for RibbonManager, that support Thread safe usage of the managers, while implementing a cache for performances.RibbonTabsManager This extension point handle the existing ribbon controls.SAXClientSideElementHelper This helper allow to sax a client side elementSelectionAwareAddTaskClientSideElement This implementation creates an element for adding a new task with a schedulable parameter filled by the selected target.SimpleMenu This element creates a control button with a menuStaticClientSideElement This implementation creates an element from a static configurationStaticClientSideRelation Default implementation of the ClientSideRelation that expects the configuration to define the supported relations.StaticFileImportsClientSideElement This implementation creates an element from a static configurationStaticFileImportsManager This extension point handle the static import for JS or css filesStaticRibbonImportManager Static implementation for the ribbon import manager.UIToolsConfigurationManager Handles the configuration of uitools factoriesUIToolsFactoriesManager This extension point handle the existing ribbon controls. -
Enum Summary Enum Description RibbonConfigurationManager.CONTROLSIZE Size constants for controlsRibbonConfigurationManager.LAYOUTALIGN Size constants for controls -
Annotation Types Summary Annotation Type Description Callable Mark the annotated method as callable by a client-side component.