setDocumentUpdatingEnabled(DataObject dataObject, boolean enabled) Sets whether a document updating is enabled.
Method Detail
createEditorSupportPane
public static MultiViewDescription[] createEditorSupportPane(DataObjectContext context)(Code)
Creates an array of multi view descriptions for editor support for a specified context.
Parameters: context - the data object context the arra of multi view descriptions
forceUpdateCode
public static void forceUpdateCode(DataObject dataObject)(Code)
Force update of code. This is usually invoked immediately after a document is loaded and immediately a document is saved
to keep the generated code synchronized with related design document.
Parameters: dataObject - the data object
getCloneableEditorSupport
public static CloneableEditorSupport getCloneableEditorSupport(DataObject dataObject)(Code)
Returns a cloneable editor lookup for specified data object.
The CloneableEditorSupport has to be in data object lookup.
Parameters: dataObject - the data object the cloneable editor support
getDataEditorView
public static DataEditorView getDataEditorView(MultiViewDescription description)(Code)
Returns data editor view instance assigned to a multi view description.
Parameters: description - the description the data editor view
getDataObjectContext
public static synchronized DataObjectContext getDataObjectContext(DataObject dataObject)(Code)
Returns a data object context representing specified data object.
Parameters: dataObject - the data object the data object context
Returns data object interface for specified data object.
DataObject must implement DataObjectInterface.
Parameters: dataObject - the data object the data object interface