Class MappingAdapterFactory

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.AdapterFactory

    public class MappingAdapterFactory
    extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
    The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.
    See Also:
    MappingPackage
    • Field Detail

      • modelPackage

        protected static MappingPackage modelPackage
        The cached model package.
      • modelSwitch

        protected MappingSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
        The switch that delegates to the createXXX methods.
    • Constructor Detail

      • MappingAdapterFactory

        public MappingAdapterFactory()
        Creates an instance of the adapter factory.
    • Method Detail

      • 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 org.eclipse.emf.common.notify.AdapterFactory
        Overrides:
        isFactoryForType in class org.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 the target.
        Overrides:
        createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
        Parameters:
        target - the object to adapt.
        Returns:
        the adapter for the target.
      • createIMappingModelAdapter

        public org.eclipse.emf.common.notify.Adapter createIMappingModelAdapter()
        Creates a new adapter for an object of class 'IMapping Model'. 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:
        IMappingModel
      • createMappingNamedAdapter

        public org.eclipse.emf.common.notify.Adapter createMappingNamedAdapter()
        Creates a new adapter for an object of class 'Named'. 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:
        MappingNamed
      • createPathAdapter

        public org.eclipse.emf.common.notify.Adapter createPathAdapter()
        Creates a new adapter for an object of class 'Path'. 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:
        Path
      • createItemsHolderAdapter

        public org.eclipse.emf.common.notify.Adapter createItemsHolderAdapter()
        Creates a new adapter for an object of class 'Items Holder'. 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:
        ItemsHolder
      • createFormMappingAdapter

        public org.eclipse.emf.common.notify.Adapter createFormMappingAdapter()
        Creates a new adapter for an object of class 'Form Mapping'. 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:
        FormMapping
      • createItemAdapter

        public org.eclipse.emf.common.notify.Adapter createItemAdapter()
        Creates a new adapter for an object of class '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:
        Item
      • createItemContainerAdapter

        public org.eclipse.emf.common.notify.Adapter createItemContainerAdapter()
        Creates a new adapter for an object of class 'Item Container'. 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:
        ItemContainer
      • createCommandNameAdapter

        public org.eclipse.emf.common.notify.Adapter createCommandNameAdapter()
        Creates a new adapter for an object of class 'Command Name'. 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:
        CommandName
      • createParameterizedCommandMappingAdapter

        public org.eclipse.emf.common.notify.Adapter createParameterizedCommandMappingAdapter()
        Creates a new adapter for an object of class 'Parameterized Command Mapping'. 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:
        ParameterizedCommandMapping
      • createParameterizedItemAdapter

        public org.eclipse.emf.common.notify.Adapter createParameterizedItemAdapter()
        Creates a new adapter for an object of class 'Parameterized 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:
        ParameterizedItem
      • createParameterizedAttributeItemAdapter

        public org.eclipse.emf.common.notify.Adapter createParameterizedAttributeItemAdapter()
        Creates a new adapter for an object of class 'Parameterized Attribute 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:
        ParameterizedAttributeItem
      • createParameterizedTableItemAdapter

        public org.eclipse.emf.common.notify.Adapter createParameterizedTableItemAdapter()
        Creates a new adapter for an object of class 'Parameterized Table 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:
        ParameterizedTableItem
      • createParameterizedCommandAdapter

        public org.eclipse.emf.common.notify.Adapter createParameterizedCommandAdapter()
        Creates a new adapter for an object of class 'Parameterized Command'. 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:
        ParameterizedCommand
      • createParameterizedCommandPathAdapter

        public org.eclipse.emf.common.notify.Adapter createParameterizedCommandPathAdapter()
        Creates a new adapter for an object of class 'Parameterized Command Path'. 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:
        ParameterizedCommandPath
      • createIndependentCommandMappingAdapter

        public org.eclipse.emf.common.notify.Adapter createIndependentCommandMappingAdapter()
        Creates a new adapter for an object of class 'Independent Command Mapping'. 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:
        IndependentCommandMapping
      • createIndependentNodeAdapter

        public org.eclipse.emf.common.notify.Adapter createIndependentNodeAdapter()
        Creates a new adapter for an object of class 'Independent Node'. 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:
        IndependentNode
      • createIndependentNodeCotainerAdapter

        public org.eclipse.emf.common.notify.Adapter createIndependentNodeCotainerAdapter()
        Creates a new adapter for an object of class 'Independent Node Cotainer'. 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:
        IndependentNodeCotainer
      • createDesktopNodeAdapter

        public org.eclipse.emf.common.notify.Adapter createDesktopNodeAdapter()
        Creates a new adapter for an object of class 'Desktop Node'. 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:
        DesktopNode
      • createGroupNodeAdapter

        public org.eclipse.emf.common.notify.Adapter createGroupNodeAdapter()
        Creates a new adapter for an object of class 'Group Node'. 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:
        GroupNode
      • createSubsystemNodeAdapter

        public org.eclipse.emf.common.notify.Adapter createSubsystemNodeAdapter()
        Creates a new adapter for an object of class 'Subsystem Node'. 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:
        SubsystemNode
      • createIndependentCommandAdapter

        public org.eclipse.emf.common.notify.Adapter createIndependentCommandAdapter()
        Creates a new adapter for an object of class 'Independent Command'. 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:
        IndependentCommand
      • createCommandInterfaceMappingAdapter

        public org.eclipse.emf.common.notify.Adapter createCommandInterfaceMappingAdapter()
        Creates a new adapter for an object of class 'Command Interface Mapping'. 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:
        CommandInterfaceMapping
      • createAutoCommandMapEntryAdapter

        public org.eclipse.emf.common.notify.Adapter createAutoCommandMapEntryAdapter()
        Creates a new adapter for an object of class 'Auto Command Map Entry'. 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:
        Map.Entry
      • createPanelAdapter

        public org.eclipse.emf.common.notify.Adapter createPanelAdapter()
        Creates a new adapter for an object of class 'Panel'. 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:
        Panel
      • createGroupAdapter

        public org.eclipse.emf.common.notify.Adapter 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:
        Group
      • createGroupItemAdapter

        public org.eclipse.emf.common.notify.Adapter createGroupItemAdapter()
        Creates a new adapter for an object of class 'Group 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:
        GroupItem
      • createPersistedGroupItemAdapter

        public org.eclipse.emf.common.notify.Adapter createPersistedGroupItemAdapter()
        Creates a new adapter for an object of class 'Persisted Group 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:
        PersistedGroupItem
      • createAutoGroupItemAdapter

        public org.eclipse.emf.common.notify.Adapter createAutoGroupItemAdapter()
        Creates a new adapter for an object of class 'Auto Group 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:
        AutoGroupItem
      • 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.