|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.toolbox.ui.ComponentMap
com.arsdigita.toolbox.ui.LayoutPanel
com.arsdigita.cms.ui.authoring.AuthoringKitWizard
This class represents a single authoring kit. The wizard
accepts a ContentType in the constructor; it then extracts
the AuthoringKit for the content type, and creates the
components for all the steps in the kit.
Note that the individual authoring kit steps must provide the following constructor:
This constructor will be called when the component is automatically instantiated by thepublic TheClass(ItemSelectionModel model, AuthoringKitWizard parent) { ... }
AuthoringKitWizard.
| Field Summary | |
static String |
CREATION
The key for the item creation step. |
static String |
IS_EDITING
The name of the state parameter that determines whether the wizard is in item creation mode or item editing mode. |
static String |
versionId
|
| Fields inherited from class com.arsdigita.bebop.SimpleComponent |
m_attr |
| Fields inherited from interface com.arsdigita.bebop.Component |
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE |
| Constructor Summary | |
AuthoringKitWizard(ContentType type,
ItemSelectionModel model)
Construct a new AuthoringKitWizard. |
|
| Method Summary | |
AuthoringKit |
getAuthoringKit()
|
ContentType |
getContentType()
|
ItemSelectionModel |
getItemSelectionModel()
|
com.arsdigita.bebop.List |
getList()
|
protected static com.arsdigita.globalization.GlobalizedMessage |
gz(String key)
|
protected com.arsdigita.bebop.Component |
instantiateStep(String name)
Instantiate the specified authoring kit step. |
protected com.arsdigita.bebop.Component |
instantiateUserDefinedStep(String name,
ContentType originatingType)
Instantiate the specified authoring kit step for a user defined content type. |
protected static String |
lz(String key)
|
void |
register(com.arsdigita.bebop.Page page)
|
static void |
registerAssetStep(String baseObjectType,
Class step,
com.arsdigita.globalization.GlobalizedMessage label,
com.arsdigita.globalization.GlobalizedMessage description,
int sortKey)
|
void |
reset(com.arsdigita.bebop.PageState state)
Reset the state of this wizard |
| Methods inherited from class com.arsdigita.toolbox.ui.LayoutPanel |
generateXML, setBody, setBottom, setLeft, setRight, setTop |
| Methods inherited from class com.arsdigita.toolbox.ui.ComponentMap |
children, containsKey, containsValue, get, put |
| 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 |
| Field Detail |
public static final String versionId
public static final String IS_EDITING
public static final String CREATION
| Constructor Detail |
public AuthoringKitWizard(ContentType type,
ItemSelectionModel model)
type - The content type of the items that this wizard will
handle| Method Detail |
public static void registerAssetStep(String baseObjectType,
Class step,
com.arsdigita.globalization.GlobalizedMessage label,
com.arsdigita.globalization.GlobalizedMessage description,
int sortKey)
public final void register(com.arsdigita.bebop.Page page)
register in interface com.arsdigita.bebop.Componentpublic ContentType getContentType()
public com.arsdigita.bebop.List getList()
public AuthoringKit getAuthoringKit()
public ItemSelectionModel getItemSelectionModel()
protected com.arsdigita.bebop.Component instantiateStep(String name)
protected com.arsdigita.bebop.Component instantiateUserDefinedStep(String name,
ContentType originatingType)
public final void reset(com.arsdigita.bebop.PageState state)
reset in interface com.arsdigita.bebop.Resettableprotected static final com.arsdigita.globalization.GlobalizedMessage gz(String key)
protected static final String lz(String key)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||