|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.directtoweb.D2WComponent
er.directtoweb.components.ERD2WCheatSheet
public class ERD2WCheatSheet
Given a configured D2WContext ((entity+task or pageconfig) and propertyKey) and - depending on task - d2wContext.object or displayGroup displays all the available components together with their configuration info. As this info is pulled from the d2wclientConfiguration.plist, it is of high importance that you keep these files up to date. They are also used by the D2WAssistant and ERD2Ws component debugging features.
| D2W Keys | |
object | object |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
|---|
WOComponent._EventLoggingEnabler, WOComponent.Event |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
|---|
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
| Field Summary | |
|---|---|
static ERD2WContextDictionary.Configuration |
configuration
|
String |
currentComponentName
|
String |
currentEditorKey
|
| Fields inherited from class com.webobjects.directtoweb.D2WComponent |
|---|
_eo, _localContext, currentObjectKey |
| Fields inherited from class com.webobjects.appserver.WOComponent |
|---|
_Extension, _IsEventLoggingEnabled, _keyAssociations |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling |
|---|
_CLASS |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
|---|
NullValue |
| Fields inherited from interface com.webobjects.foundation.NSValidation |
|---|
_CLASS |
| Constructor Summary | |
|---|---|
ERD2WCheatSheet(WOContext context)
|
|
| Method Summary | |
|---|---|
NSDictionary |
componentConfiguration()
|
String |
componentName()
|
Object |
currentContextValue()
|
NSDictionary |
currentEditor()
|
com.webobjects.directtoweb.D2WContext |
d2wContext()
|
WODisplayGroup |
displayGroup()
|
NSDictionary |
editors()
|
NSArray |
keys()
|
com.webobjects.directtoweb.D2WContext |
localContext()
|
EOEnterpriseObject |
object()
|
void |
setComponentName(String value)
|
boolean |
synchronizesVariablesWithBindings()
|
boolean |
useDisplayGroup()
|
boolean |
useObject()
|
| Methods inherited from class com.webobjects.directtoweb.D2WComponent |
|---|
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContextVisibleEntityNamesCountPlus1, defaultRowspan, displayNameForKeyWhenRelationship, displayNameForProperty, displayPropertyKeys, dynamicPages, entity, entityName, formatter, generationReplacementFor, generationReplacementForCurrentObject, hasCustomKey, hasEntity, hasNoColor, homeClicked, homeHref, isEditing, isEntityReadOnly, isEntityReadOnly, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, logout, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, replacementAssociationForAssociation, resourcePathURL, sessionID, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, setLocalContext, setObject, setPropertyKey, setResourcePathURL, setTask, setTasks, showBanner, showWebAssistant, submitActionName, target, task, tasks, visibleEntityNames |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static ERD2WContextDictionary.Configuration configuration
public String currentComponentName
public String currentEditorKey
| Constructor Detail |
|---|
public ERD2WCheatSheet(WOContext context)
| Method Detail |
|---|
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings in class WOComponentpublic com.webobjects.directtoweb.D2WContext localContext()
localContext in class com.webobjects.directtoweb.D2WComponentpublic com.webobjects.directtoweb.D2WContext d2wContext()
d2wContext in class com.webobjects.directtoweb.D2WComponentpublic EOEnterpriseObject object()
object in class com.webobjects.directtoweb.D2WComponentpublic WODisplayGroup displayGroup()
public NSArray keys()
public NSDictionary editors()
public NSDictionary currentEditor()
public Object currentContextValue()
public String componentName()
public NSDictionary componentConfiguration()
public void setComponentName(String value)
public boolean useObject()
public boolean useDisplayGroup()
|
Last updated: Wed, Feb 22, 2012 07:00 AM EST | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||