public interface EMFFormsSettingToControlMapper
UniqueSettings
and Sets of VControls
.Modifier and Type | Method and Description |
---|---|
void |
checkAndUpdateSettingToControlMapping(org.eclipse.emf.ecore.EObject eObject)
Checks and updates the mapping for the given
EObject . |
Set<VControl> |
getControlsFor(org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
Returns all controls which are associated with the provided
EStructuralFeature.Setting . |
Set<VElement> |
getControlsFor(UniqueSetting setting)
Returns all controls which are associated with the provided
UniqueSetting . |
Collection<org.eclipse.emf.ecore.EObject> |
getEObjectsWithSettings()
Returns a collection of all EObjects which have a mapped setting.
|
boolean |
hasControlsFor(org.eclipse.emf.ecore.EObject eObject)
Checks whether any feature of this EObject has a registered control.
|
void |
updateControlMapping(VControl vControl)
Updates the setting to control mapping for the given
VControl . |
void |
vControlAdded(VControl vControl)
Adds a
VControl to the setting to control mapping. |
void |
vControlRemoved(VControl vControl)
Removes a
VControl from the setting to control mapping. |
Set<VControl> getControlsFor(org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
EStructuralFeature.Setting
. The EStructuralFeature.Setting
is converted to
a UniqueSetting
.setting
- the EStructuralFeature.Setting
to search controls forSet<VElement> getControlsFor(UniqueSetting setting)
UniqueSetting
.setting
- the UniqueSetting
to search controls forvoid updateControlMapping(VControl vControl)
VControl
.vControl
- The VControl
void vControlRemoved(VControl vControl)
VControl
from the setting to control mapping.vControl
- The VControl
to removevoid vControlAdded(VControl vControl)
VControl
to the setting to control mapping.vControl
- The VControl
to addvoid checkAndUpdateSettingToControlMapping(org.eclipse.emf.ecore.EObject eObject)
EObject
.eObject
- The EObject
boolean hasControlsFor(org.eclipse.emf.ecore.EObject eObject)
eObject
- the EObject to checktrue
if there is at least one control for any feature of the given EObject,
false
otherwiseCollection<org.eclipse.emf.ecore.EObject> getEObjectsWithSettings()
Copyright © 2016. All rights reserved.