Package org.jabylon.properties.util
Class PropertiesAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.jabylon.properties.util.PropertiesAdapterFactory
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class PropertiesAdapterFactory extends org.eclipse.emf.common.notify.impl.AdapterFactoryImplThe Adapter Factory for the model. It provides an adaptercreateXXXmethod for each class of the model.- See Also:
PropertiesPackage
-
-
Field Summary
Fields Modifier and Type Field Description protected static PropertiesPackagemodelPackageThe cached model package.protected PropertiesSwitch<org.eclipse.emf.common.notify.Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods.
-
Constructor Summary
Constructors Constructor Description PropertiesAdapterFactory()Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.AdaptercreateAdapter(org.eclipse.emf.common.notify.Notifier target)Creates an adapter for thetarget.org.eclipse.emf.common.notify.AdaptercreateCommentAdapter()Creates a new adapter for an object of class 'Comment'.org.eclipse.emf.common.notify.AdaptercreateEObjectAdapter()Creates a new adapter for the default case.org.eclipse.emf.common.notify.AdaptercreateProjectAdapter()Creates a new adapter for an object of class 'Project'.org.eclipse.emf.common.notify.AdaptercreateProjectLocaleAdapter()Creates a new adapter for an object of class 'Project Locale'.org.eclipse.emf.common.notify.AdaptercreateProjectVersionAdapter()Creates a new adapter for an object of class 'Project Version'.org.eclipse.emf.common.notify.AdaptercreatePropertyAdapter()Creates a new adapter for an object of class 'Property'.org.eclipse.emf.common.notify.AdaptercreatePropertyAnnotationAdapter()Creates a new adapter for an object of class 'Property Annotation'.org.eclipse.emf.common.notify.AdaptercreatePropertyFileAdapter()Creates a new adapter for an object of class 'Property File'.org.eclipse.emf.common.notify.AdaptercreatePropertyFileDescriptorAdapter()Creates a new adapter for an object of class 'Property File Descriptor'.org.eclipse.emf.common.notify.AdaptercreatePropertyFileDiffAdapter()Creates a new adapter for an object of class 'Property File Diff'.org.eclipse.emf.common.notify.AdaptercreateResolvableAdapter()Creates a new adapter for an object of class 'Resolvable'.org.eclipse.emf.common.notify.AdaptercreateResourceFolderAdapter()Creates a new adapter for an object of class 'Resource Folder'.org.eclipse.emf.common.notify.AdaptercreateReviewAdapter()Creates a new adapter for an object of class 'Review'.org.eclipse.emf.common.notify.AdaptercreateScanConfigurationAdapter()Creates a new adapter for an object of class 'Scan Configuration'.org.eclipse.emf.common.notify.AdaptercreateWorkspaceAdapter()Creates a new adapter for an object of class 'Workspace'.booleanisFactoryForType(Object object)Returns whether this factory is applicable for the type of the object.
-
-
-
Field Detail
-
modelPackage
protected static PropertiesPackage modelPackage
The cached model package.
-
modelSwitch
protected PropertiesSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
The switch that delegates to thecreateXXXmethods.
-
-
Method Detail
-
isFactoryForType
public boolean isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object. This implementation returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceorg.eclipse.emf.common.notify.AdapterFactory- Overrides:
isFactoryForTypein classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl- Returns:
- whether this factory is applicable for the type of the object.
-
createAdapter
public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for thetarget.- Overrides:
createAdapterin classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl- Parameters:
target- the object to adapt.- Returns:
- the adapter for the
target.
-
createPropertyFileAdapter
public org.eclipse.emf.common.notify.Adapter createPropertyFileAdapter()
Creates a new adapter for an object of class 'Property File'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
PropertyFile
-
createPropertyAdapter
public org.eclipse.emf.common.notify.Adapter createPropertyAdapter()
Creates a new adapter for an object of class 'Property'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Property
-
createPropertyFileDescriptorAdapter
public org.eclipse.emf.common.notify.Adapter createPropertyFileDescriptorAdapter()
Creates a new adapter for an object of class 'Property File Descriptor'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
PropertyFileDescriptor
-
createProjectAdapter
public org.eclipse.emf.common.notify.Adapter createProjectAdapter()
Creates a new adapter for an object of class 'Project'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Project
-
createProjectVersionAdapter
public org.eclipse.emf.common.notify.Adapter createProjectVersionAdapter()
Creates a new adapter for an object of class 'Project Version'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ProjectVersion
-
createProjectLocaleAdapter
public org.eclipse.emf.common.notify.Adapter createProjectLocaleAdapter()
Creates a new adapter for an object of class 'Project Locale'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ProjectLocale
-
createWorkspaceAdapter
public org.eclipse.emf.common.notify.Adapter createWorkspaceAdapter()
Creates a new adapter for an object of class 'Workspace'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Workspace
-
createResolvableAdapter
public org.eclipse.emf.common.notify.Adapter createResolvableAdapter()
Creates a new adapter for an object of class 'Resolvable'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Resolvable
-
createScanConfigurationAdapter
public org.eclipse.emf.common.notify.Adapter createScanConfigurationAdapter()
Creates a new adapter for an object of class 'Scan Configuration'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ScanConfiguration
-
createReviewAdapter
public org.eclipse.emf.common.notify.Adapter createReviewAdapter()
Creates a new adapter for an object of class 'Review'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Review
-
createCommentAdapter
public org.eclipse.emf.common.notify.Adapter createCommentAdapter()
Creates a new adapter for an object of class 'Comment'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Comment
-
createPropertyFileDiffAdapter
public org.eclipse.emf.common.notify.Adapter createPropertyFileDiffAdapter()
Creates a new adapter for an object of class 'Property File Diff'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
PropertyFileDiff
-
createResourceFolderAdapter
public org.eclipse.emf.common.notify.Adapter createResourceFolderAdapter()
Creates a new adapter for an object of class 'Resource Folder'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ResourceFolder
-
createPropertyAnnotationAdapter
public org.eclipse.emf.common.notify.Adapter createPropertyAnnotationAdapter()
Creates a new adapter for an object of class 'Property Annotation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
PropertyAnnotation
-
createEObjectAdapter
public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
-
-