com.arsdigita.cms.contenttypes.ui.mparticle
Class MultiPartArticleViewSections

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.TextStylable
              extended bycom.arsdigita.bebop.BlockStylable
                  extended bycom.arsdigita.bebop.SimpleContainer
                      extended bycom.arsdigita.cms.contenttypes.ui.ResettableContainer
                          extended bycom.arsdigita.cms.contenttypes.ui.mparticle.MultiPartArticleViewSections
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, com.arsdigita.util.Lockable, com.arsdigita.bebop.Resettable

public class MultiPartArticleViewSections
extends com.arsdigita.cms.contenttypes.ui.ResettableContainer

Authoring kit step to manage the section for a MultiPartArticle. Proces is implemented with three main vidual components that manipulate the currently selected MultiPartArticle and sections. The visibility of these components is managed by this class.

Version:
$Id: //cms/content-types/mparticle/dev/src/com/arsdigita/cms/contenttypes/ui/mparticle/MultiPartArticleViewSections.java#6 $
Author:
Dave Turner

Field Summary
static String ACTION_LINK
           
static String DATA_TABLE
          class attributes
protected  com.arsdigita.bebop.ActionLink m_beginLink
           
protected  com.arsdigita.bebop.parameters.BigDecimalParameter m_moveParameter
           
protected  com.arsdigita.cms.ItemSelectionModel m_moveSection
           
protected  SectionDeleteForm m_sectionDelete
           
protected  SectionEditForm m_sectionEdit
           
protected  SectionPreviewPanel m_sectionPreview
           
protected  SectionTable m_sectionTable
          visual components that do the 'real work'
protected  com.arsdigita.cms.ItemSelectionModel m_selArticle
           
protected  com.arsdigita.cms.ItemSelectionModel m_selSection
           
protected  com.arsdigita.cms.ui.authoring.AuthoringKitWizard m_wizard
           
static String SECTION_DEL
           
static String SECTION_EDIT
           
static String SECTION_PRVW
           
static String SECTION_TABLE
          id keys for each editing panel
 
Fields inherited from class com.arsdigita.bebop.SimpleContainer
versionId
 
Fields inherited from class com.arsdigita.bebop.BlockStylable
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, FULL_WIDTH, INSERT, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.Resettable
versionId
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
MultiPartArticleViewSections(com.arsdigita.cms.ItemSelectionModel selArticle, com.arsdigita.cms.ui.authoring.AuthoringKitWizard wizard)
           
 
Method Summary
protected  com.arsdigita.bebop.ActionLink buildAddLink()
          Utility method to create a link to display the section list.
protected  com.arsdigita.bebop.Container buildSectionDelete()
          Builds a container to hold the component to confirm deletion of a section.
protected  com.arsdigita.bebop.Container buildSectionEdit()
          Builds a container to hold a SectionEditForm and a link to return to the section list.
protected  com.arsdigita.bebop.Container buildSectionTable()
          Builds a container to hold a SectionTable and a link to add a new section.
protected  com.arsdigita.bebop.ActionLink buildViewAllLink()
          Utility method to create a link to display the section list.
 String getTypeIDStr()
           
 void register(com.arsdigita.bebop.Page p)
           
 
Methods inherited from class com.arsdigita.cms.contenttypes.ui.ResettableContainer
add, add, add, onlyShowComponent, onlyShowComponent, reset
 
Methods inherited from class com.arsdigita.bebop.SimpleContainer
children, contains, generateChildrenXML, generateParent, generateXML, get, getNamespace, getTag, indexOf, isEmpty, setNamespace, setTag, size
 
Methods inherited from class com.arsdigita.bebop.BlockStylable
setBorder, setBorder, setBorderColor, setHorizontalAlignment, setMargin, setMargin, setPadding, setPadding, setVerticalAlignment
 
Methods inherited from class com.arsdigita.bebop.TextStylable
setBackgroundColor, setColor
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arsdigita.bebop.Component
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, respond, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked, lock
 

Field Detail

SECTION_TABLE

public static final String SECTION_TABLE
id keys for each editing panel

See Also:
Constant Field Values

SECTION_EDIT

public static final String SECTION_EDIT
See Also:
Constant Field Values

SECTION_PRVW

public static final String SECTION_PRVW
See Also:
Constant Field Values

SECTION_DEL

public static final String SECTION_DEL
See Also:
Constant Field Values

DATA_TABLE

public static final String DATA_TABLE
class attributes

See Also:
Constant Field Values

ACTION_LINK

public static final String ACTION_LINK
See Also:
Constant Field Values

m_wizard

protected com.arsdigita.cms.ui.authoring.AuthoringKitWizard m_wizard

m_selArticle

protected com.arsdigita.cms.ItemSelectionModel m_selArticle

m_selSection

protected com.arsdigita.cms.ItemSelectionModel m_selSection

m_moveSection

protected com.arsdigita.cms.ItemSelectionModel m_moveSection

m_moveParameter

protected com.arsdigita.bebop.parameters.BigDecimalParameter m_moveParameter

m_sectionTable

protected SectionTable m_sectionTable
visual components that do the 'real work'


m_sectionEdit

protected SectionEditForm m_sectionEdit

m_sectionPreview

protected SectionPreviewPanel m_sectionPreview

m_sectionDelete

protected SectionDeleteForm m_sectionDelete

m_beginLink

protected com.arsdigita.bebop.ActionLink m_beginLink
Constructor Detail

MultiPartArticleViewSections

public MultiPartArticleViewSections(com.arsdigita.cms.ItemSelectionModel selArticle,
                                    com.arsdigita.cms.ui.authoring.AuthoringKitWizard wizard)
Method Detail

buildSectionTable

protected com.arsdigita.bebop.Container buildSectionTable()
Builds a container to hold a SectionTable and a link to add a new section.


buildSectionEdit

protected com.arsdigita.bebop.Container buildSectionEdit()
Builds a container to hold a SectionEditForm and a link to return to the section list.


buildSectionDelete

protected com.arsdigita.bebop.Container buildSectionDelete()
Builds a container to hold the component to confirm deletion of a section.


buildViewAllLink

protected com.arsdigita.bebop.ActionLink buildViewAllLink()
Utility method to create a link to display the section list.


buildAddLink

protected com.arsdigita.bebop.ActionLink buildAddLink()
Utility method to create a link to display the section list.


register

public void register(com.arsdigita.bebop.Page p)

getTypeIDStr

public String getTypeIDStr()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:0019 UTC