Class FeatureSettingsService
java.lang.Object
com.e1c.langtool.internal.emf.settings.FeatureSettingsService
- All Implemented Interfaces:
IFeatureSettingsProvider,IFeatureSettingsService
-
Field Summary
Fields inherited from interface com.e1c.langtool.emf.settings.IFeatureSettingsService
EXTENSION_POINT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallSettingsByObject(org.eclipse.emf.ecore.EObject object) Gets both model and interface feature settings by given object.getInterfaceSettings(org.eclipse.emf.ecore.EObject object) Gets only interface feature settings by the given object.getModelSettings(org.eclipse.emf.ecore.EObject object) Gets only model feature settings by the given object.getSettings(org.eclipse.emf.ecore.EStructuralFeature eFeature, org.eclipse.emf.ecore.EObject object) Gets the settings for the givenEStructuralFeatureof the object.booleanisInterfaceFeature(org.eclipse.emf.ecore.EStructuralFeature eFeature, org.eclipse.emf.ecore.EObject object) booleanisModelFeature(org.eclipse.emf.ecore.EStructuralFeature eFeature, org.eclipse.emf.ecore.EObject object)
-
Constructor Details
-
FeatureSettingsService
public FeatureSettingsService()
-
-
Method Details
-
allSettingsByObject
Description copied from interface:IFeatureSettingsProviderGets both model and interface feature settings by given object.- Specified by:
allSettingsByObjectin interfaceIFeatureSettingsProvider- Parameters:
object- the object- Returns:
- model and interface feature settings
-
getModelSettings
Description copied from interface:IFeatureSettingsProviderGets only model feature settings by the given object.- Specified by:
getModelSettingsin interfaceIFeatureSettingsProvider- Parameters:
object- the object- Returns:
- the model settings
-
getInterfaceSettings
Description copied from interface:IFeatureSettingsProviderGets only interface feature settings by the given object.- Specified by:
getInterfaceSettingsin interfaceIFeatureSettingsProvider- Parameters:
object- the object- Returns:
- the interface settings
-
getProviders
- Specified by:
getProvidersin interfaceIFeatureSettingsService
-
getSettings
public EFeatureSettings getSettings(org.eclipse.emf.ecore.EStructuralFeature eFeature, org.eclipse.emf.ecore.EObject object) Description copied from interface:IFeatureSettingsServiceGets the settings for the givenEStructuralFeatureof the object.- Specified by:
getSettingsin interfaceIFeatureSettingsService- Parameters:
eFeature- the efeatureobject- the object- Returns:
- the settings for the
EStructuralFeatureof the object, can returnnullif the object cannot contains such feature.
-
isInterfaceFeature
public boolean isInterfaceFeature(org.eclipse.emf.ecore.EStructuralFeature eFeature, org.eclipse.emf.ecore.EObject object) - Specified by:
isInterfaceFeaturein interfaceIFeatureSettingsService
-
isModelFeature
public boolean isModelFeature(org.eclipse.emf.ecore.EStructuralFeature eFeature, org.eclipse.emf.ecore.EObject object) - Specified by:
isModelFeaturein interfaceIFeatureSettingsService
-