Interface DialogViewModel
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IContainerViewModel
,IDialogViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
DialogViewModelImpl
A representation of the model object 'Dialog View Model'.
The dialog view model.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Active Child View Model' reference.int
Returns the value of the 'Height' attribute.getTitle()
Returns the value of the 'Title' attribute.int
getWidth()
Returns the value of the 'Width' attribute.boolean
Returns the value of the 'Async Dialog' attribute.boolean
Returns the value of the 'Ok Button Enabled' attribute.boolean
Returns the value of the 'Resizable' attribute.void
Sets the value of the 'Active Child View Model
' reference.void
setAsyncDialog
(boolean value) Sets the value of the 'Async Dialog
' attribute.void
setHeight
(int value) Sets the value of the 'Height
' attribute.void
setOkButtonEnabled
(boolean value) Sets the value of the 'Ok Button Enabled
' attribute.void
setResizable
(boolean value) Sets the value of the 'Resizable
' attribute.void
Sets the value of the 'Title
' attribute.void
setWidth
(int value) Sets the value of the 'Width
' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface com._1c.g5.aef2.viewModels.IContainerViewModel
getChildren
Methods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getTitle
String getTitle()Returns the value of the 'Title' attribute. The title of the dialog.- Returns:
- the value of the 'Title' attribute.
- See Also:
-
setTitle
Sets the value of the 'Title
' attribute.- Parameters:
value
- the new value of the 'Title' attribute.- See Also:
-
getHeight
int getHeight()Returns the value of the 'Height' attribute. The height of the dialog.- Returns:
- the value of the 'Height' attribute.
- See Also:
-
setHeight
void setHeight(int value) Sets the value of the 'Height
' attribute.- Parameters:
value
- the new value of the 'Height' attribute.- See Also:
-
getWidth
int getWidth()Returns the value of the 'Width' attribute. The width of the dialog.- Returns:
- the value of the 'Width' attribute.
- See Also:
-
setWidth
void setWidth(int value) Sets the value of the 'Width
' attribute.- Parameters:
value
- the new value of the 'Width' attribute.- See Also:
-
isResizable
boolean isResizable()Returns the value of the 'Resizable' attribute. The resizable flag.- Returns:
- the value of the 'Resizable' attribute.
- See Also:
-
setResizable
void setResizable(boolean value) Sets the value of the 'Resizable
' attribute.- Parameters:
value
- the new value of the 'Resizable' attribute.- See Also:
-
isAsyncDialog
boolean isAsyncDialog()Returns the value of the 'Async Dialog' attribute. The async dialog creation flag- Returns:
- the value of the 'Async Dialog' attribute.
- See Also:
-
setAsyncDialog
void setAsyncDialog(boolean value) Sets the value of the 'Async Dialog
' attribute.- Parameters:
value
- the new value of the 'Async Dialog' attribute.- See Also:
-
isOkButtonEnabled
boolean isOkButtonEnabled()Returns the value of the 'Ok Button Enabled' attribute. The default value is"true"
. The 'ok' button enabled state.- Returns:
- the value of the 'Ok Button Enabled' attribute.
- See Also:
-
setOkButtonEnabled
void setOkButtonEnabled(boolean value) Sets the value of the 'Ok Button Enabled
' attribute.- Parameters:
value
- the new value of the 'Ok Button Enabled' attribute.- See Also:
-
getActiveChildViewModel
IViewModel getActiveChildViewModel()Returns the value of the 'Active Child View Model' reference. Currently active child view model.- Returns:
- the value of the 'Active Child View Model' reference.
- See Also:
-
setActiveChildViewModel
Sets the value of the 'Active Child View Model
' reference.- Parameters:
value
- the new value of the 'Active Child View Model' reference.- See Also:
-