public class ERDDefaultActionAssignment extends ERDAssignment
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support
Modifier and Type | Field and Description |
---|---|
static NSArray |
_DEPENDENT_KEYS
holds the array of keys this assignment depends upon
|
D2WContextClassArray, log
_CLASS
Constructor and Description |
---|
ERDDefaultActionAssignment(EOKeyValueUnarchiver u)
Public constructor
|
ERDDefaultActionAssignment(String key,
Object value)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
static Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
Static constructor required by the EOKeyValueUnarchiver
interface.
|
NSDictionary |
defaultActions(com.webobjects.directtoweb.D2WContext c)
Calculates the actions names for a given context.
|
NSArray |
defaultLeftActions(com.webobjects.directtoweb.D2WContext c)
Calculates the default left actions names for a given context.
|
NSArray |
defaultRightActions(com.webobjects.directtoweb.D2WContext c)
Calculates the default right actions names for a given context.
|
NSArray |
dependentKeys(String keyPath)
Implementation of the
ERDComputingAssignmentInterface . |
booleanContextValueForKey, fire, keyForMethodLookup, localizedTemplateStringForKeyInContext, localizedValueForKeyInContext, localizedValueForKeyWithDefaultInContext, localizerForContext, logDeprecatedMessage
public static final NSArray _DEPENDENT_KEYS
public ERDDefaultActionAssignment(EOKeyValueUnarchiver u)
u
- key-value unarchiver used when unarchiving
from rule files.public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
eokeyvalueunarchiver
- to be unarchivedpublic NSArray dependentKeys(String keyPath)
ERDComputingAssignmentInterface
. This
assignment depends upon the context keys: "entity.name" and
"object.entityName". This array of keys is used when constructing the
significant keys for the passed in keyPath.keyPath
- to compute significant keys for.public NSDictionary defaultActions(com.webobjects.directtoweb.D2WContext c)
c
- a D2W contextpublic NSArray defaultLeftActions(com.webobjects.directtoweb.D2WContext c)
c
- a D2W contextpublic NSArray defaultRightActions(com.webobjects.directtoweb.D2WContext c)
c
- a D2W contextCopyright © 2002 – 2024 Project Wonder.