|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.admin.wizardframework.components.AbstractWizardComponent
com.sapportals.admin.wizardframework.components.GridContainer
com.sap.portal.admin.wizard.panes.InfoPane
public class InfoPane
The class that represents the info pane for entering general properties for the object. Provides a user interface to enable the administrator to enter standard fields for all objects. The properties include: name, ID, ID prefix, description, and master language.
| Nested Class Summary | |
|---|---|
static class |
InfoPane.OptionalControl
Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com). |
static class |
InfoPane.UIStrings
Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com). |
| Field Summary | |
|---|---|
protected static String |
INFO_COLLECTION_CONTROL_KEY
Deprecated. |
protected static String |
INFO_DESCRIPTION_MULTILINE_KEY
Deprecated. |
protected static String |
INFO_DOMAIN_CONTROL_KEY
Deprecated. |
protected static String |
INFO_ID_NAMESPACE_TEXTBOX_KEY
Deprecated. |
protected static String |
INFO_ID_TEXTBOX_KEY
Deprecated. |
protected static String |
INFO_MASTER_LANGUAGE_SELECTION_KEY
Deprecated. |
protected static String |
INFO_NAME_TEXTBOX_KEY
Deprecated. |
static String |
INFO_PANE_KEY
Deprecated. The pane key, which is used by the wizard in the state machine. |
| Fields inherited from class com.sapportals.admin.wizardframework.components.GridContainer |
|---|
GRID |
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT |
| Constructor Summary | |
|---|---|
InfoPane()
Deprecated. A blank constructor. |
|
InfoPane(Hashtable optionalComponentsVals)
Deprecated. A constructor that creates an info pane with optional controls that are not included by default. |
|
InfoPane(Hashtable optionalComponentsVals,
int maxNameLength)
Deprecated. A constructor that creates an info pane with optional controls and sets a specified maximum length for the name field. |
|
InfoPane(int maxNameLength)
Deprecated. A constructor that creates an info pane that sets a specified maximum length for the name field. |
|
| Method Summary | |
|---|---|
protected void |
createDescriptionControl(int index,
IWizardContext context)
Deprecated. Creates description input field. |
protected void |
createIDControl(int index,
IWizardContext context)
Deprecated. Creates id input field. |
protected void |
createMasterLanguageControl(int index,
IWizardContext context)
Deprecated. Creates dropDown list to select the master language from. |
protected void |
createNameControl(int index,
IWizardContext context)
Deprecated. Creates name input field. |
protected void |
createNamespaceControl(int index,
IWizardContext context)
Deprecated. Creates prefix input field. |
protected void |
createOriginalLocaleControls(int index,
String compKey,
String attrId,
IWizardContext context)
Deprecated. |
List |
getErrorMessages(IWizardContext context)
Deprecated. Validates the data for the pane. |
String |
getTitle(IWizardContext context)
Deprecated. Gets a component title. |
protected void |
myProcessInput(IWizardContext context)
Deprecated. Saves to the data model the data from any HTMLB controls created in the pane. |
protected void |
mySetupComponent(IWizardContext context)
Deprecated. Implement this method to create your own setup for a component. |
| Methods inherited from class com.sapportals.admin.wizardframework.components.GridContainer |
|---|
addComponent, addComponent, clearIfInconsistent, delegateDoBeforeDisplay, delegateProcessInput, delegateSetupComponent, doAfterSubmit, doBeforeDisplay, getCell, getComponent, getControlInFocus, getDisplay, getGrid, getPath, init, isInitialized, myDoBeforeDisplay, processInput, setPath, setSize, setupComponent, wasChanged |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
getDescription, getProperty, isComplete, isMandatory, setMandatory, setProperty, setTempProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String INFO_PANE_KEY
protected static final String INFO_ID_TEXTBOX_KEY
protected static final String INFO_ID_NAMESPACE_TEXTBOX_KEY
protected static final String INFO_NAME_TEXTBOX_KEY
protected static final String INFO_MASTER_LANGUAGE_SELECTION_KEY
protected static final String INFO_DESCRIPTION_MULTILINE_KEY
protected static final String INFO_DOMAIN_CONTROL_KEY
protected static final String INFO_COLLECTION_CONTROL_KEY
| Constructor Detail |
|---|
public InfoPane()
public InfoPane(Hashtable optionalComponentsVals)
public void setupWizard(IConfigurableWizard wizard, IPortalComponentProfile profile) {
HashMap infoOptionalMap = new HashMap();
infoOptionalTemplateMap.put(InfoPane.OptionalControl.NameSpace, Boolean.FALSE);
Object[] infoArgs = new Object[] { infoOptionalMap };
wizard.addPane(InfoPane.INFO_PANE_KEY, InfoPane.class.getName(), infoArgs);
//The rest of the code
}
optionalComponentsVals - a map that contains the optional
controlspublic InfoPane(int maxNameLength)
ObjectCreationWizardConstants
maxNameLength - a maximum length for the name field
public InfoPane(Hashtable optionalComponentsVals,
int maxNameLength)
optionalComponentsVals - a map that contains the values of the
optional controlsmaxNameLength - a maximum length for the name field| Method Detail |
|---|
public String getTitle(IWizardContext context)
AbstractWizardComponent
getTitle in interface IWizardComponentgetTitle in class AbstractWizardComponentcontext - the current wizard context
protected void mySetupComponent(IWizardContext context)
GridContainer
mySetupComponent in class GridContainercontext - the current wizard context
protected void createNameControl(int index,
IWizardContext context)
index - row indexcontext - wizard context
protected void createIDControl(int index,
IWizardContext context)
index - row indexcontext - wizard context
protected void createNamespaceControl(int index,
IWizardContext context)
index - row indexcontext - wizard context
protected void createMasterLanguageControl(int index,
IWizardContext context)
index - row indexcontext - wizard context
protected void createDescriptionControl(int index,
IWizardContext context)
index - row indexcontext - wizard context
protected void createOriginalLocaleControls(int index,
String compKey,
String attrId,
IWizardContext context)
protected void myProcessInput(IWizardContext context)
GridContainer
myProcessInput in class GridContainercontext - the current wizard contextpublic List getErrorMessages(IWizardContext context)
GridContainer
getErrorMessages in interface IWizardComponentgetErrorMessages in class GridContainercontext - the current wizard context
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||