Package org.opencms.gwt.shared
Class CmsListElementCreationOption
java.lang.Object
org.opencms.gwt.shared.CmsListElementCreationOption
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsListElementCreationOption
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
Represents a single option (type) that can be selected in the list element creation dialog.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Hidden default constructor.CmsListElementCreationOption
(String type, CmsListInfoBean info, String newLink) Creates a new instance. -
Method Summary
-
Constructor Details
-
CmsListElementCreationOption
protected CmsListElementCreationOption()Hidden default constructor.
-
Method Details
-
getInfo
Gets the list info bean representing the type.- Returns:
- the list info bean for the type
-
getNewLink
Gets the string used by the content editor to create the new resource.- Returns:
- the string used by the content editor to create the new resource
-
getType
Gets the resource type name.- Returns:
- the type name
-