OptionaladditionalAdditional actions for the editor
OptionaladditionalAdditional restrictions for the current user. Effective only for this project editor.
OptionalclipboardOptional predefined clipboard data which can be used to fill the clipboard of the editor in advance.
OptionalcloseIf true the eaiws session will be closed if the activity gets disposed. (default: true)
OptionaleditorThe editor mode defines the primary purpose of the project editor. If not defined Default
will be used. The mode may be used by plugins to react to different use cases.
OptionalimportIf true and the project was last edited using a different pricing procedure than the current default one, the user will be asked if he wants to import the calculation.
OptionallockedOptional list of locked items (map from basket item id to lock state) which will be used to lock certain item related operations.
OptionalmigrateIf true, legacy data (e.g. header or address data) will be loaded and migrated. Should be used when loading obk files of older applications.
OptionalonCan be used to create a custom eaiws session. If not implemented a default session will be created. Null should be returned if the start of the project editor should be aborted.
OptionalonWill be called everytime the main menu gets opened. Can be used to add new actions or override the project editor actions. Note: use pProjectEditor.getMainMenuActions() to get the default actions of the editor.
OptionalonWill be called directly before creating the project editor. Can be used to change options dynamically depending on the session/context.
OptionalonWill be called before creating the project editor to define a pre-created ProjectInfo instance.
OptionalonCan be implemented to make preparations before the activity gets stopped and disposed.
If pCancelable is true and the promise resolves with false, the activity stop will be canceled.
Otherwise true should be returned.
OptionalonWill be called directly after the project editor was started.
OptionalonCan be used to prepare the eaiws session before starting the project editor. False should be returned if the start of the project editor should be aborted. E.g. Can be used to load an existing project.
OptionalprojectOptional project related meta data which may be used by certain operations (e.g. ordering)
OptionalselectedList of item ids for items which should be initially selected.
OptionaltriggerIf true the user will be asked if he wants to update the OFML articles currently inside the basket
OptionaluseIf true the project name will be used as the title for the activity. (default: true)
Options for
ComponentFactory.createProjectEditorActivity()