Class CmsPropertyDefinitionButton

  • All Implemented Interfaces:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

    public class CmsPropertyDefinitionButton
    extends CmsPushButton
    Button for defining new properties from the property dialog.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class
      • Nested classes/interfaces inherited from class,
      • Nested classes/interfaces inherited from interface,
    • Field Summary

      • Fields inherited from class

      • Fields inherited from interface

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void editPropertyDefinition()
      Opens the dialog for creating new property definitions.
      CmsFormDialog getDialog()
      Gets the dialog which this button is used for.
      void installOnDialog​(CmsFormDialog dialog)
      Installs the button on a dialog if the user has sufficient permissions.
      void onBeforeEditPropertyDefinition()
      Method which is called directly before the property definition dialog is opened.
      void onClosePropertyDefinitionDialog()
      Method which is called when the property definition dialog is closed.
      void setDialog​(CmsFormDialog dialog)
      Sets the dialog instance.
      • Methods inherited from class

        onClick, onClickCancel, onClickStart
      • Methods inherited from class

        getDownDisabledFace, getDownFace, getDownHoveringFace, getHTML, getTabIndex, getUpDisabledFace, getUpFace, getUpHoveringFace, onDetach, setAccessKey, setEnabled, setFocus, setHTML, setHTML, setTabIndex
      • Methods inherited from class

        addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, isEnabled, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener
      • Methods inherited from class

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, 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

    • Method Detail

      • getDialog

        public CmsFormDialog getDialog()
        Gets the dialog which this button is used for.

        the dialog for this button
      • installOnDialog

        public void installOnDialog​(CmsFormDialog dialog)
        Installs the button on a dialog if the user has sufficient permissions.

        dialog - the dialog to which the button should be added
      • onBeforeEditPropertyDefinition

        public void onBeforeEditPropertyDefinition()
        Method which is called directly before the property definition dialog is opened.

      • setDialog

        public void setDialog​(CmsFormDialog dialog)
        Sets the dialog instance.

        dialog - the dialog instance
      • editPropertyDefinition

        protected void editPropertyDefinition()
        Opens the dialog for creating new property definitions.