components.UiTabMenu Class
addon/components/ui-tab-menu.js:4
ui-tab-menu component
Item Index
Methods
- _clearSelection
- _controlsRound
- _createAttributesTree
- _createPropertyDefinition
- _createTypeTree
- _deleteAttribute
- _findControlByAttribute
- _modelAttributesObserver
- _openNodeTree
- _propertyNameObserver
- _selectedNodesAttributesTreeObserver
- actions.addAttribute
- actions.applyAttribute
- actions.applyСlick
- actions.cancelСlick
- actions.changeLookupType
- actions.changeMasterNotNull
- actions.changeWidth
- actions.changeWidth
- actions.changeWidthType
- actions.editAttribute
- actions.handleTreeDidBecomeReady
- actions.onDropDownSelectionChanged
- actions.removeAttribute
- addControl
- controlClick
- deleteControl
- getAllTypes
- getTranslationString
- init
- selectedControlChanged
Properties
- _selectedIsControl
- _selectedIsGroup
- _selectedIsTab
- control
- controls
- createNewButton
- currentProjectContext
- customWidth
- dataAttributesTree
- dataAttributesTree
- deleteButton
- dropdownElements
- enums
- fbtypes
- itemsWidthType
- lookupTypeItems
- model
- model
- notNullDisabled
- oldPropertyName
- plugins
- propertyName
- readonly
- searchAttributes
- searchOptions
- searchType
- selectedAttribute
- selectedControl
- selectedControl
- selectedControl
- selectedItem
- selectedItem
- selectedNodesAttributesTree
- selectedNodesAttributesTree
- selectedType
- store
- store
- treeViewMode
- typeForm
- typemap
- types
- typesAsStrings
- typesOptions
- typeToString
- widthType
- widthValue
Methods
_clearSelection
()
private
Reset selection of controls in model.
_controlsRound
-
control
-
findAttributeName
-
result
Method for controls round.
Parameters:
-
control
FdEditformControl | FdEditformRow | FdEditformGroup | FdEditformTabgroup | FdEditformTabSome item in object model.
-
findAttributeName
StringName to search.
-
result
Ember.ArrayArray with search result.
_createAttributesTree
()
Method for create attributes tree.
_createPropertyDefinition
-
type
-
propertyName
Method for create new propertyDefinition.
_createTypeTree
()
Method for create type tree.
_deleteAttribute
-
selectedNode
Method delete attributes from class.
Parameters:
-
selectedNode
Objectselected node from attribute tree.
_findControlByAttribute
-
attributeName
Method for search control by attribute.
Parameters:
-
attributeName
StringName to search.
_modelAttributesObserver
()
Handles changes in model.attributes.
_openNodeTree
()
Overridden action for jsTree 'openNode'.
_propertyNameObserver
()
Handles changes in propertyName and selectedNodesTypeTree.
_selectedNodesAttributesTreeObserver
()
Handles changes in selectedNodesAttributesTree.
actions.addAttribute
()
Add new attribute.
actions.applyAttribute
()
Handles select node from attribute jsTree.
actions.applyСlick
()
Add new node in attributes tree.
actions.cancelСlick
()
Open attributes tree.
actions.changeLookupType
-
value
Resets 'masterPropertyName' and 'masterCustomizationString' if 'LookupType' is 'default'.
Parameters:
-
value
ObjectAn object with a new value in the
value
property.
actions.changeMasterNotNull
-
value
Changes the start multiplicity of the association.
Parameters:
-
value
ObjectAn object with a new value in the
checked
property.
actions.changeWidth
-
value
Changes the width Value.
Parameters:
-
value
ObjectAn object with a new value.
actions.changeWidth
-
value
Changes the width settings.
Parameters:
-
value
ObjectAn object with a new value in the
checked
property.
actions.changeWidthType
-
value
Changes the width type.
Parameters:
-
value
ObjectAn object with a new value.
actions.editAttribute
()
Edit select attribute.
actions.handleTreeDidBecomeReady
()
Handles creating jsTree.
actions.onDropDownSelectionChanged
()
Action, triggered by dropdown selection changed.
actions.removeAttribute
()
Handles remove node from attribute jsTree.
addControl
()
public
Handles form 'addControl' button click.
controlClick
()
public
Handles control-field 'controlClick' action.
deleteControl
()
public
Handles form 'deleteControl' button click.
getAllTypes
()
Gets types array from stage.
getTranslationString
()
Gets translated string for type.
Returns:
String
init
()
Initialization hook.
selectedControlChanged
()
Observer, checks if selected control changed and changes selectedType.
Properties
currentProjectContext
Class
Service that get current project contexts.
Default: Ember.inject.service()
enums
Ember.A()
Contains stage's enums.
Default: undefined
fbtypes
Ember.A()
Contains stage's types.
Default: undefined
lookupTypeItems
Array
Type of the selected master for editing.
Default: ['default', 'standard', 'combo']
oldPropertyName
Unknown
Old name for edit properties.
propertyName
Unknown
Name for create new properties.
selectedItem
Unknown
Selected item for change.
selectedItem
Unknown
Array item on the form.
store
Service
store
Service
treeViewMode
Unknown
Flag: indicates whether to show attributesTree or typesTree .
typeForm
Unknown
Type current form.
typemap
Ember.A()
Contains stage's typemap.
Default: undefined
types
Ember.A()
All types with properties.
Default: undefined
typesAsStrings
Ember.A()
Strings shown to user.