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, setPluginInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:SupporterCheck if an element is supported- Parameters:
content- The element- Returns:
trueif the element is supported,falseotherwise
-
getDisplayCode
Description copied from interface:DisplayCodeProviderGet the display code of this content- Parameters:
content- the content- Returns:
- the display code
-