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 Details

  • Constructor Details

  • Method Details

    • isFactoryForType

      public boolean isFactoryForType(Object object)
      Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.
      Specified by:
      isFactoryForType in interface AdapterFactory
      Overrides:
      isFactoryForType in class AdapterFactoryImpl
      Returns:
      whether this factory is applicable for the type of the object.
    • createAdapter

      public Adapter createAdapter(Notifier target)
      Creates an adapter for the target.
      Overrides:
      createAdapter in class AdapterFactoryImpl
      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:
    • createProjectSharedGroupAdapter

      Creates a new adapter for an object of class 'Project Shared 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:
    • 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.