Module org.nasdanika.models.gitlab
Package org.nasdanika.models.gitlab.util
Class GitLabAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.nasdanika.models.gitlab.util.GitLabAdapterFactory
- All Implemented Interfaces:
AdapterFactory
The Adapter Factory for the model.
It provides an adapter
createXXX method for each class of the model.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static GitLabPackageThe cached model package.protected GitLabSwitch<Adapter>The switch that delegates to thecreateXXXmethods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new adapter for an object of class 'Abstract User'.createAdapter(Notifier target) Creates an adapter for thetarget.Creates a new adapter for an object of class 'Binary Repository File'.Creates a new adapter for an object of class 'Blob'.Creates a new adapter for an object of class 'Branch'.Creates a new adapter for an object of class 'Contributor'.Creates a new adapter for an object of class 'Custom Attribute'.Creates a new adapter for the default case.Creates a new adapter for an object of class 'EObject Repository File'.Creates a new adapter for an object of class 'Git Lab'.Creates a new adapter for an object of class 'Group'.Creates a new adapter for an object of class 'List Repository File'.Creates a new adapter for an object of class 'Loadable'.Creates a new adapter for an object of class 'Load'.Creates a new adapter for an object of class 'Member'.Creates a new adapter for an object of class 'Tree'.Creates a new adapter for an object of class 'Tree Item'.Creates a new adapter for an object of class 'Owner'.Creates a new adapter for an object of class 'Project Access'.Creates a new adapter for an object of class 'Project'.Creates a new adapter for an object of class 'Project License'.Creates a new adapter for an object of class 'Project Shared Group'.Creates a new adapter for an object of class 'Project Statistics'.Creates a new adapter for an object of class 'Repository File'.Creates a new adapter for an object of class 'Text Repository File'.Creates a new adapter for an object of class 'Tree'.Creates a new adapter for an object of class 'Tree Item'.Creates a new adapter for an object of class 'User'.booleanisFactoryForType(Object object) Returns whether this factory is applicable for the type of the object.Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
-
Field Details
-
modelPackage
The cached model package. -
modelSwitch
The switch that delegates to thecreateXXXmethods.
-
-
Constructor Details
-
GitLabAdapterFactory
public GitLabAdapterFactory()Creates an instance of the adapter factory.
-
-
Method Details
-
isFactoryForType
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 interfaceAdapterFactory- Overrides:
isFactoryForTypein classAdapterFactoryImpl- Returns:
- whether this factory is applicable for the type of the object.
-
createAdapter
Creates an adapter for thetarget.- Overrides:
createAdapterin classAdapterFactoryImpl- Parameters:
target- the object to adapt.- Returns:
- the adapter for the
target.
-
createLoadableAdapter
Creates a new adapter for an object of class 'Loadable'. 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:
-
createLoadAdapter
Creates a new adapter for an object of class 'Load'. 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:
-
createGitLabAdapter
Creates a new adapter for an object of class 'Git Lab'. 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:
-
createGroupAdapter
Creates a new adapter for an object of class 'Group'. 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:
-
createMemberAdapter
Creates a new adapter for an object of class 'Member'. 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:
-
createAbstractUserAdapter
Creates a new adapter for an object of class 'Abstract User'. 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:
-
createUserAdapter
Creates a new adapter for an object of class 'User'. 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:
-
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:
-
createProjectStatisticsAdapter
Creates a new adapter for an object of class 'Project Statistics'. 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:
-
createProjectLicenseAdapter
Creates a new adapter for an object of class 'Project License'. 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:
-
createContributorAdapter
Creates a new adapter for an object of class 'Contributor'. 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:
-
createProjectAccessAdapter
Creates a new adapter for an object of class 'Project Access'. 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:
-
createCustomAttributeAdapter
Creates a new adapter for an object of class 'Custom Attribute'. 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:
-
createBranchAdapter
Creates a new adapter for an object of class 'Branch'. 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:
-
createOwnerAdapter
Creates a new adapter for an object of class 'Owner'. 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:
-
createTreeItemAdapter
Creates a new adapter for an object of class 'Tree Item'. 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:
-
createTreeAdapter
Creates a new adapter for an object of class 'Tree'. 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:
-
createBlobAdapter
Creates a new adapter for an object of class 'Blob'. 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:
-
createRepositoryFileAdapter
Creates a new adapter for an object of class 'Repository 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:
-
createTextRepositoryFileAdapter
Creates a new adapter for an object of class 'Text Repository 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:
-
createBinaryRepositoryFileAdapter
Creates a new adapter for an object of class 'Binary Repository 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:
-
createEObjectRepositoryFileAdapter
Creates a new adapter for an object of class 'EObject Repository 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:
-
createListRepositoryFileAdapter
Creates a new adapter for an object of class 'List Repository 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:
-
createNcore_TreeItemAdapter
Creates a new adapter for an object of class 'Tree Item'. 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:
-
TreeItem
-
createNcore_TreeAdapter
Creates a new adapter for an object of class 'Tree'. 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:
-
Tree
-
createEObjectAdapter
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
-