Includes a few public utilities: any detail view client can use these
to help assure consistent alignment.
More docs to come, but the key points:
|
String
|
|
|
|
makeArea(parcel,
name,
stretchFactor=<Locale: en_US>,
border=<Locale: en_US>,
minimumSize=<Locale: en_US>,
baseClass=<class 'osaf.framework.blocks.ControlBlocks.ContentItemDetail'>,
**kwds)
Make a block template that'll contain one horizontal slice of the
detail view. |
source code
|
|
|
|
makeLabel(parcel,
label=u'',
borderTop=5,
border=<Locale: en_US>,
width=60,
baseClass=<class 'osaf.framework.blocks.ControlBlocks.StaticText'>,
textAlignmentEnum=<Locale: en_US>,
**kwds)
Make a StaticText label template for use in the detail view. |
source code
|
|
|
|
makeSpacer(parcel,
size=<Locale: en_US>,
width=-1,
height=-1,
name=<Locale: en_US>,
baseClass=<class 'osaf.framework.blocks.ControlBlocks.StaticText'>,
**kwds)
Make a spacer block template for use in the detail view. |
source code
|
|
|
|
makeEditor(parcel,
name,
viewAttribute,
border=<Locale: en_US>,
baseClass=<class 'osaf.views.detail.detail.DetailSynchronizedAttributeEd...,
characterStyle=<Locale: en_US>,
presentationStyle=<Locale: en_US>,
**kwds)
Make an Attribute Editor block template for the detail view. |
source code
|
|
|
|
makeSubtree(parcel,
kindOrClass,
rootBlocks)
Make a BranchSubtree annotation for this Kind, containing these
top-level blocks. |
source code
|
|
|
|
installParcel(parcel,
oldVersion=<Locale: en_US>)
Instantiate all the blocks, events, etc for the detail view. |
source code
|
|
|
|
| registerAttributeEditors(parcel,
oldVersion) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
makeMarkupBar(parcel,
oldVersion)
Build the markup bar. |
source code
|
|
|
|
makeNoteSubtree(parcel,
oldVersion)
Build the subtree (and related stuff) for Note. |
source code
|
|
|
|
|