Class ModelAdapterFactory

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

    public class ModelAdapterFactory
    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:
    ModelPackage
    • Field Detail

      • modelPackage

        protected static ModelPackage modelPackage
        The cached model package.
      • modelSwitch

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

      • ModelAdapterFactory

        public ModelAdapterFactory()
        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.
      • createGraphicalSchemeAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemeAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme'. 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:
        GraphicalScheme
      • createGraphicalSchemeItemAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemeItemAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme 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:
        GraphicalSchemeItem
      • createGraphicalSchemeFigureAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemeFigureAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme Figure'. 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:
        GraphicalSchemeFigure
      • createGraphicalSchemeDecorationAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemeDecorationAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme Decoration'. 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:
        GraphicalSchemeDecoration
      • createGraphicalSchemeSwitchAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemeSwitchAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme Switch'. 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:
        GraphicalSchemeSwitch
      • createGraphicalSchemeSubProcessAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemeSubProcessAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme Sub Process'. 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:
        GraphicalSchemeSubProcess
      • createGraphicalSchemeActivityAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemeActivityAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme Activity'. 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:
        GraphicalSchemeActivity
      • createGraphicalSchemeConditionAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemeConditionAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme Condition'. 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:
        GraphicalSchemeCondition
      • createGraphicalSchemeConnectionAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemeConnectionAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme Connection'. 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:
        GraphicalSchemeConnection
      • createGraphicalSchemeLineAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemeLineAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme Line'. 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:
        GraphicalSchemeLine
      • createSchemeItemAddressingAttributeAdapter

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

        public org.eclipse.emf.common.notify.Adapter createPrintPropItemAdapter()
        Creates a new adapter for an object of class 'Print Prop 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:
        PrintPropItem
      • createBoundsAdapter

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

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

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

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

        public org.eclipse.emf.common.notify.Adapter createEventHandlerAdapter()
        Creates a new adapter for an object of class 'Event Handler'. 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:
        EventHandler
      • createGraphicalSchemePictureAdapter

        public org.eclipse.emf.common.notify.Adapter createGraphicalSchemePictureAdapter()
        Creates a new adapter for an object of class 'Graphical Scheme Picture'. 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:
        GraphicalSchemePicture
      • createAbstractFlowchartAdapter

        public org.eclipse.emf.common.notify.Adapter createAbstractFlowchartAdapter()
        Creates a new adapter for an object of class 'Abstract Flowchart'. 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:
        AbstractFlowchart
      • createAbstractLineAdapter

        public org.eclipse.emf.common.notify.Adapter createAbstractLineAdapter()
        Creates a new adapter for an object of class 'Abstract Line'. 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:
        AbstractLine
      • createPictureAdapter

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

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