Package org.ametys.odf.content.code
Class AmetysDisplayCodeProvider
java.lang.Object
org.ametys.odf.content.code.AbstractStaticProgramItemDisplayCodeProvider
org.ametys.odf.content.code.AmetysDisplayCodeProvider
- All Implemented Interfaces:
DisplayCodeProvider
,PluginAware
,Supporter<Content>
,Configurable
Implementation of
DisplayCodeProvider
that returns the Ametys code of the program item-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ametys.odf.content.code.AbstractStaticProgramItemDisplayCodeProvider
configure, getId, getLabel, setPluginInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.odf.content.code.DisplayCodeProvider
isActive
-
Field Details
-
ID
Id of the default display code provider- See Also:
-
-
Constructor Details
-
AmetysDisplayCodeProvider
public AmetysDisplayCodeProvider()
-
-
Method Details
-
supports
Description copied from interface:Supporter
Check if an element is supported- Parameters:
content
- The element- Returns:
true
if the element is supported,false
otherwise
-
getDisplayCode
Description copied from interface:DisplayCodeProvider
Get the display code of this content- Parameters:
content
- the content- Returns:
- the display code
-