Class CmsEditFile

    • Field Summary

      Modifier and Type Field Description
      protected I_CmsContextMenuHandler m_menuHandler
      The context menu handler for this command instance.
      protected boolean m_reload
      A flag which indicates whether the window should be reloaded after editing.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doEdit​(java.lang.String filename, org.opencms.util.CmsUUID structureId)
      Actually starts the XML content editor for a given file name.
      void execute​(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler handler, org.opencms.gwt.shared.CmsContextMenuEntryBean bean)
      Executed on context menu item click.
      static I_CmsContextMenuCommand getContextMenuCommand()
      Returns the context menu command according to I_CmsHasContextMenuCommand.
      A_CmsContextMenuItem getItemWidget​(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler handler, org.opencms.gwt.shared.CmsContextMenuEntryBean bean)
      Returns the special menu item widget for this command.
      boolean hasItemWidget()
      Returns if this command provides it's own menu item widget.
      boolean isEditorOpen()
      Checks if we currently have an editor open somewhere.
      boolean validate​(org.opencms.gwt.shared.CmsContextMenuEntryBean entry)
      Validates whether the context menu command should be visible.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait