Class CmsCreatableListItem
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- org.opencms.gwt.client.ui.CmsListItem
-
- org.opencms.ade.sitemap.client.ui.CmsCreatableListItem
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.IsRenderable
,com.google.gwt.user.client.ui.IsWidget
,I_CmsDraggable
,I_CmsListItem
,I_CmsTruncable
public class CmsCreatableListItem extends CmsListItem
A list item widget class which also contains a resource type info bean, for use in creating new sitemap entries.- Since:
- 8.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmsCreatableListItem.NewEntryType
The types of creatable sitemap entries.-
Nested classes/interfaces inherited from class org.opencms.gwt.client.ui.CmsListItem
CmsListItem.MoveHandle
-
-
Field Summary
-
Fields inherited from class org.opencms.gwt.client.ui.CmsListItem
m_checkbox, m_decoratedPanel, m_decorationWidgets, m_decorationWidth, m_id, m_listItemWidget, m_mainWidget, m_panel, m_placeholder, m_provisionalParent, MOVE_HANDLE_MARKER_CLASS
-
-
Constructor Summary
Constructors Constructor Description CmsCreatableListItem(CmsListItemWidget content, org.opencms.ade.sitemap.shared.CmsNewResourceInfo typeInfo, CmsCreatableListItem.NewEntryType newEntryType)
Creates a new list item with a given resource type info bean.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opencms.util.CmsUUID
getCopyResourceId()
Returns the copy resource structure id.CmsCreatableListItem.NewEntryType
getNewEntryType()
Returns the new sitemap entry type.org.opencms.ade.sitemap.shared.CmsNewResourceInfo
getResourceTypeInfo()
Returns the resource type information bean.int
getTypeId()
Returns the resource type id.java.lang.String
getTypeName()
Returns the resource type name.-
Methods inherited from class org.opencms.gwt.client.ui.CmsListItem
add, addCheckBox, addDecoration, addDecorationWidget, addMainWidget, cloneForPlaceholder, getCheckBox, getCursorOffsetDelta, getData, getDecorationWidgets, getDndHelperClass, getDndParentClass, getDragHelper, getId, getListItemWidget, getMainWidget, getMoveHandle, getParentList, getParentTarget, getPlaceholder, initContent, initContent, initContent, initMoveHandle, initMoveHandle, moveHandleLeft, onDragCancel, onDrop, onStartDrag, removeDecorationWidget, setData, setDndHelperClass, setDndParentClass, setId, setSmallView, truncate
-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opencms.gwt.client.dnd.I_CmsDraggable
getElement
-
-
-
-
Constructor Detail
-
CmsCreatableListItem
public CmsCreatableListItem(CmsListItemWidget content, org.opencms.ade.sitemap.shared.CmsNewResourceInfo typeInfo, CmsCreatableListItem.NewEntryType newEntryType)
Creates a new list item with a given resource type info bean.- Parameters:
content
- the content for the list item widgettypeInfo
- the resource type info beannewEntryType
- the type of the creatable sitemap entry type
-
-
Method Detail
-
getCopyResourceId
public org.opencms.util.CmsUUID getCopyResourceId()
Returns the copy resource structure id.- Returns:
- the copy resource structure id
-
getNewEntryType
public CmsCreatableListItem.NewEntryType getNewEntryType()
Returns the new sitemap entry type.- Returns:
- the new sitemap entry type
-
getResourceTypeInfo
public org.opencms.ade.sitemap.shared.CmsNewResourceInfo getResourceTypeInfo()
Returns the resource type information bean.- Returns:
- the resource type info bean
-
getTypeId
public int getTypeId()
Returns the resource type id.- Returns:
- the resource type id
-
getTypeName
public java.lang.String getTypeName()
Returns the resource type name.- Returns:
- the resource type name
-
-