new OSH.UI.DialogView()
Example
var dialogView new OSH.UI.DialogView(containerDivId, {
draggable: false,
css: "dialog",
name: title,
show:false,
dockable: true,
closeable: true,
connectionIds : dataSources ,
swapId: "main-container"
});
Extends
Methods
-
inherited addViewItem(viewItem)
-
Add viewItem to the view
Name Type Description viewItem -
inherited attachTo(divId)
-
Name Type Description divId -
inherited beforeAddingItems(options)
-
Name Type Description options -
-
connect()
-
-
drag_over(event){boolean}
-
Name Type Description eventReturns:
Type Description boolean -
drag_start(event)
-
Name Type Description event -
drop(event){boolean}
-
Name Type Description eventReturns:
Type Description boolean -
inherited getDataSourcesId(){Array}
-
Returns:
Type Description Array -
inherited getDivId(){string|*}
-
Returns:
Type Description string | * -
inherited getId(){string|*}
-
Returns:
Type Description string | * -
inherited handleEvents()
-
-
inherited hide()
-
-
onClose(callback)
-
Name Type Description callback -
inherited onResize()
-
-
inherited reset()
-
-
inherited selectDataView($super, dataSourcesIds, entitiesIds)
-
Should be called after receiving osh:SELECT_VIEW event
Name Type Description $superdataSourcesIdsentitiesIds -
inherited setData(dataSourceId, data)
-
Name Type Description dataSourceIddata -
show($super, properties)
-
Name Type Description $superproperties -
inherited shows(properties)
-
Name Type Description properties -
-
swapClick()
-
Swap the current div with the div given as parameter
-