Show:

ui-tab-menu component

Methods

_clearSelection

() private

Reset selection of controls in model.

_controlsRound

(
  • control
  • findAttributeName
  • result
)

Method for controls round.

Parameters:

_createAttributesTree

()

Method for create attributes tree.

_createPropertyDefinition

(
  • type
  • propertyName
)

Method for create new propertyDefinition.

Parameters:

_createTypeTree

()

Method for create type tree.

_deleteAttribute

(
  • selectedNode
)

Method delete attributes from class.

Parameters:

  • selectedNode Object

    selected node from attribute tree.

_findControlByAttribute

(
  • attributeName
)

Method for search control by attribute.

Parameters:

  • attributeName String

    Name 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 Object

    An object with a new value in the value property.

actions.changeMasterNotNull

(
  • value
)

Changes the start multiplicity of the association.

Parameters:

  • value Object

    An object with a new value in the checked property.

actions.changeWidth

(
  • value
)

Changes the width Value.

Parameters:

  • value Object

    An object with a new value.

actions.changeWidth

(
  • value
)

Changes the width settings.

Parameters:

  • value Object

    An object with a new value in the checked property.

actions.changeWidthType

(
  • value
)

Changes the width type.

Parameters:

  • value Object

    An 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

_selectedIsControl

Boolean private

_selectedIsGroup

Boolean private

_selectedIsTab

Boolean private

control

Object

Control view.

Default: undefined

controls

DS.ManyArray

Controls array from model.

Default: undefined

createNewButton

Boolean

Flag: indicates whether to show creation button at toolbar.

Default: true

currentProjectContext

Class

Service that get current project contexts.

Default: Ember.inject.service()

customWidth

Boolean

Flag: indicates whether to show settings custom width.

Default: false

dataAttributesTree

Array

Data for jsTree.

Default: []

dataAttributesTree

Array

Data for jsTree.

Default: []

deleteButton

Boolean

Flag: indicates whether to show delete button at toolbar.

Default: true

dropdownElements

Object

Computes view for details and list forms for masters.

enums

Ember.A()

Contains stage's enums.

Default: undefined

fbtypes

Ember.A()

Contains stage's types.

Default: undefined

itemsWidthType

Array

Array units of width.

Default: ['%', 'px']

lookupTypeItems

Array

Type of the selected master for editing.

Default: ['default', 'standard', 'combo']

model

Object

Model view.

Default: undefined

model

Object

Model view.

Default: undefined

notNullDisabled

Boolean

Setting off property notNull.

Default: false

oldPropertyName

Unknown

Old name for edit properties.

plugins

String

Included plugins for jsTree.

Default: 'wholerow, types, search'

propertyName

Unknown

Name for create new properties.

readonly

Boolean

Flag: indicates whether selected property is readonly.

Default: false

searchAttributes

String

Data for search for attributes.

Default: ''

searchOptions

Object

Search settings for jsTree.

searchType

String

Data for search for type.

Default: ''

selectedAttribute

Object

Data selected attribute for editing.

selectedControl

Object

Current selected control.

Default: undefined

selectedControl

Object

Current selected control.

Default: null

selectedControl

FdEditformControl | FdEditformGroup | FdEditformTab

The selected control.

selectedItem

Unknown

Selected item for change.

selectedItem

Unknown

Array item on the form.

selectedNodesAttributesTree

Array

Selected nodes in jsTree.

Default: []

selectedNodesAttributesTree

Array

Selected nodes in jsTree.

Default: []

selectedType

String

Contains selected type locale key.

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.

typesOptions

Object

Type settings for jsTree.

typeToString

Object

Dictionary: type to locale key.

widthType

String

Selected unit of width.

Default: '%'

widthValue

Number

Value custom width.

Default: 100