Class DialogViewModelImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- com._1c.g5.aef2.standard.viewModels.impl.DialogViewModelImpl
-
- All Implemented Interfaces:
DialogViewModel
,IContainerViewModel
,IDialogViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
public class DialogViewModelImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements DialogViewModel
An implementation of the model object 'Dialog View Model'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected IViewModel
activeChildViewModel
The cached value of the 'Active Child View Model
' reference.protected static boolean
ASYNC_DIALOG_EDEFAULT
The default value of the 'Async Dialog
' attribute.protected boolean
asyncDialog
The cached value of the 'Async Dialog
' attribute.protected org.eclipse.emf.common.util.EList<IViewModel>
children
The cached value of the 'Children
' containment reference list.protected static IEventChannel
EVENT_CHANNEL_EDEFAULT
The default value of the 'Event Channel
' attribute.protected IEventChannel
eventChannel
The cached value of the 'Event Channel
' attribute.protected int
height
The cached value of the 'Height
' attribute.protected static int
HEIGHT_EDEFAULT
The default value of the 'Height
' attribute.protected static boolean
OK_BUTTON_ENABLED_EDEFAULT
The default value of the 'Ok Button Enabled
' attribute.protected boolean
okButtonEnabled
The cached value of the 'Ok Button Enabled
' attribute.protected boolean
resizable
The cached value of the 'Resizable
' attribute.protected static boolean
RESIZABLE_EDEFAULT
The default value of the 'Resizable
' attribute.protected String
title
The cached value of the 'Title
' attribute.protected static String
TITLE_EDEFAULT
The default value of the 'Title
' attribute.protected int
width
The cached value of the 'Width
' attribute.protected static int
WIDTH_EDEFAULT
The default value of the 'Width
' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DialogViewModelImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IViewModel
basicGetActiveChildViewModel()
IContainerViewModel
basicGetParent()
org.eclipse.emf.common.notify.NotificationChain
basicSetParent(IContainerViewModel newParent, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
Object
eGet(int featureID, boolean resolve, boolean coreType)
org.eclipse.emf.common.notify.NotificationChain
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
IViewModel
getActiveChildViewModel()
org.eclipse.emf.common.util.EList<IViewModel>
getChildren()
IEventChannel
getEventChannel()
int
getHeight()
IContainerViewModel
getParent()
String
getTitle()
int
getWidth()
boolean
isAsyncDialog()
boolean
isOkButtonEnabled()
boolean
isResizable()
void
setActiveChildViewModel(IViewModel newActiveChildViewModel)
void
setAsyncDialog(boolean newAsyncDialog)
void
setEventChannel(IEventChannel newEventChannel)
void
setHeight(int newHeight)
void
setOkButtonEnabled(boolean newOkButtonEnabled)
void
setParent(IContainerViewModel newParent)
void
setResizable(boolean newResizable)
void
setTitle(String newTitle)
void
setWidth(int newWidth)
String
toString()
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
EVENT_CHANNEL_EDEFAULT
protected static final IEventChannel EVENT_CHANNEL_EDEFAULT
The default value of the 'Event Channel
' attribute.- See Also:
getEventChannel()
-
eventChannel
protected IEventChannel eventChannel
The cached value of the 'Event Channel
' attribute.- See Also:
getEventChannel()
-
children
protected org.eclipse.emf.common.util.EList<IViewModel> children
The cached value of the 'Children
' containment reference list.- See Also:
getChildren()
-
TITLE_EDEFAULT
protected static final String TITLE_EDEFAULT
The default value of the 'Title
' attribute.- See Also:
getTitle()
-
title
protected String title
The cached value of the 'Title
' attribute.- See Also:
getTitle()
-
HEIGHT_EDEFAULT
protected static final int HEIGHT_EDEFAULT
The default value of the 'Height
' attribute.- See Also:
getHeight()
, Constant Field Values
-
height
protected int height
The cached value of the 'Height
' attribute.- See Also:
getHeight()
-
WIDTH_EDEFAULT
protected static final int WIDTH_EDEFAULT
The default value of the 'Width
' attribute.- See Also:
getWidth()
, Constant Field Values
-
width
protected int width
The cached value of the 'Width
' attribute.- See Also:
getWidth()
-
RESIZABLE_EDEFAULT
protected static final boolean RESIZABLE_EDEFAULT
The default value of the 'Resizable
' attribute.- See Also:
isResizable()
, Constant Field Values
-
resizable
protected boolean resizable
The cached value of the 'Resizable
' attribute.- See Also:
isResizable()
-
ASYNC_DIALOG_EDEFAULT
protected static final boolean ASYNC_DIALOG_EDEFAULT
The default value of the 'Async Dialog
' attribute.- See Also:
isAsyncDialog()
, Constant Field Values
-
asyncDialog
protected boolean asyncDialog
The cached value of the 'Async Dialog
' attribute.- See Also:
isAsyncDialog()
-
OK_BUTTON_ENABLED_EDEFAULT
protected static final boolean OK_BUTTON_ENABLED_EDEFAULT
The default value of the 'Ok Button Enabled
' attribute.- See Also:
isOkButtonEnabled()
, Constant Field Values
-
okButtonEnabled
protected boolean okButtonEnabled
The cached value of the 'Ok Button Enabled
' attribute.- See Also:
isOkButtonEnabled()
-
activeChildViewModel
protected IViewModel activeChildViewModel
The cached value of the 'Active Child View Model
' reference.- See Also:
getActiveChildViewModel()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getEventChannel
public IEventChannel getEventChannel()
- Specified by:
getEventChannel
in interfaceIViewModel
- Returns:
- the value of the 'Event Channel' attribute.
- See Also:
IViewModel.setEventChannel(IEventChannel)
,AefPackage.getIViewModel_EventChannel()
-
setEventChannel
public void setEventChannel(IEventChannel newEventChannel)
- Specified by:
setEventChannel
in interfaceIViewModel
- Parameters:
newEventChannel
- the new value of the 'Event Channel' attribute.- See Also:
IViewModel.getEventChannel()
-
getParent
public IContainerViewModel getParent()
- Specified by:
getParent
in interfaceIViewModel
- Returns:
- the value of the 'Parent' container reference.
- See Also:
IViewModel.setParent(IContainerViewModel)
,AefPackage.getIViewModel_Parent()
,IContainerViewModel.getChildren()
-
basicGetParent
public IContainerViewModel basicGetParent()
-
basicSetParent
public org.eclipse.emf.common.notify.NotificationChain basicSetParent(IContainerViewModel newParent, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setParent
public void setParent(IContainerViewModel newParent)
- Specified by:
setParent
in interfaceIViewModel
- Parameters:
newParent
- the new value of the 'Parent' container reference.- See Also:
IViewModel.getParent()
-
getChildren
public org.eclipse.emf.common.util.EList<IViewModel> getChildren()
- Specified by:
getChildren
in interfaceIContainerViewModel
- Returns:
- the value of the 'Children' containment reference list.
- See Also:
AefPackage.getIContainerViewModel_Children()
,IViewModel.getParent()
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceDialogViewModel
- Returns:
- the value of the 'Title' attribute.
- See Also:
DialogViewModel.setTitle(String)
,AefStandardPackage.getDialogViewModel_Title()
-
setTitle
public void setTitle(String newTitle)
- Specified by:
setTitle
in interfaceDialogViewModel
- Parameters:
newTitle
- the new value of the 'Title' attribute.- See Also:
DialogViewModel.getTitle()
-
getHeight
public int getHeight()
- Specified by:
getHeight
in interfaceDialogViewModel
- Returns:
- the value of the 'Height' attribute.
- See Also:
DialogViewModel.setHeight(int)
,AefStandardPackage.getDialogViewModel_Height()
-
setHeight
public void setHeight(int newHeight)
- Specified by:
setHeight
in interfaceDialogViewModel
- Parameters:
newHeight
- the new value of the 'Height' attribute.- See Also:
DialogViewModel.getHeight()
-
getWidth
public int getWidth()
- Specified by:
getWidth
in interfaceDialogViewModel
- Returns:
- the value of the 'Width' attribute.
- See Also:
DialogViewModel.setWidth(int)
,AefStandardPackage.getDialogViewModel_Width()
-
setWidth
public void setWidth(int newWidth)
- Specified by:
setWidth
in interfaceDialogViewModel
- Parameters:
newWidth
- the new value of the 'Width' attribute.- See Also:
DialogViewModel.getWidth()
-
isResizable
public boolean isResizable()
- Specified by:
isResizable
in interfaceDialogViewModel
- Returns:
- the value of the 'Resizable' attribute.
- See Also:
DialogViewModel.setResizable(boolean)
,AefStandardPackage.getDialogViewModel_Resizable()
-
setResizable
public void setResizable(boolean newResizable)
- Specified by:
setResizable
in interfaceDialogViewModel
- Parameters:
newResizable
- the new value of the 'Resizable' attribute.- See Also:
DialogViewModel.isResizable()
-
isAsyncDialog
public boolean isAsyncDialog()
- Specified by:
isAsyncDialog
in interfaceDialogViewModel
- Returns:
- the value of the 'Async Dialog' attribute.
- See Also:
DialogViewModel.setAsyncDialog(boolean)
,AefStandardPackage.getDialogViewModel_AsyncDialog()
-
setAsyncDialog
public void setAsyncDialog(boolean newAsyncDialog)
- Specified by:
setAsyncDialog
in interfaceDialogViewModel
- Parameters:
newAsyncDialog
- the new value of the 'Async Dialog' attribute.- See Also:
DialogViewModel.isAsyncDialog()
-
isOkButtonEnabled
public boolean isOkButtonEnabled()
- Specified by:
isOkButtonEnabled
in interfaceDialogViewModel
- Returns:
- the value of the 'Ok Button Enabled' attribute.
- See Also:
DialogViewModel.setOkButtonEnabled(boolean)
,AefStandardPackage.getDialogViewModel_OkButtonEnabled()
-
setOkButtonEnabled
public void setOkButtonEnabled(boolean newOkButtonEnabled)
- Specified by:
setOkButtonEnabled
in interfaceDialogViewModel
- Parameters:
newOkButtonEnabled
- the new value of the 'Ok Button Enabled' attribute.- See Also:
DialogViewModel.isOkButtonEnabled()
-
getActiveChildViewModel
public IViewModel getActiveChildViewModel()
- Specified by:
getActiveChildViewModel
in interfaceDialogViewModel
- Returns:
- the value of the 'Active Child View Model' reference.
- See Also:
DialogViewModel.setActiveChildViewModel(IViewModel)
,AefStandardPackage.getDialogViewModel_ActiveChildViewModel()
-
basicGetActiveChildViewModel
public IViewModel basicGetActiveChildViewModel()
-
setActiveChildViewModel
public void setActiveChildViewModel(IViewModel newActiveChildViewModel)
- Specified by:
setActiveChildViewModel
in interfaceDialogViewModel
- Parameters:
newActiveChildViewModel
- the new value of the 'Active Child View Model' reference.- See Also:
DialogViewModel.getActiveChildViewModel()
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseAdd
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeature
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-