org.eclipse.birt.chart.model.component.util
Class ComponentAdapterFactory

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended byorg.eclipse.birt.chart.model.component.util.ComponentAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class ComponentAdapterFactory
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:
ComponentPackage

Constructor Summary
ComponentAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
          Creates an adapter for the target.
 org.eclipse.emf.common.notify.Adapter createAxisAdapter()
          Creates a new adapter for an object of class 'Axis'.
 org.eclipse.emf.common.notify.Adapter createChartPreferencesAdapter()
          Creates a new adapter for an object of class 'Chart Preferences'.
 org.eclipse.emf.common.notify.Adapter createCurveFittingAdapter()
          Creates a new adapter for an object of class 'Curve Fitting'.
 org.eclipse.emf.common.notify.Adapter createDialAdapter()
          Creates a new adapter for an object of class 'Dial'.
 org.eclipse.emf.common.notify.Adapter createDialRegionAdapter()
          Creates a new adapter for an object of class 'Dial Region'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createEStringToDataSetMapEntryAdapter()
          Creates a new adapter for an object of class 'EString To Data Set Map Entry'.
 org.eclipse.emf.common.notify.Adapter createGridAdapter()
          Creates a new adapter for an object of class 'Grid'.
 org.eclipse.emf.common.notify.Adapter createLabelAdapter()
          Creates a new adapter for an object of class 'Label'.
 org.eclipse.emf.common.notify.Adapter createMarkerLineAdapter()
          Creates a new adapter for an object of class 'Marker Line'.
 org.eclipse.emf.common.notify.Adapter createMarkerRangeAdapter()
          Creates a new adapter for an object of class 'Marker Range'.
 org.eclipse.emf.common.notify.Adapter createNeedleAdapter()
          Creates a new adapter for an object of class 'Needle'.
 org.eclipse.emf.common.notify.Adapter createScaleAdapter()
          Creates a new adapter for an object of class 'Scale'.
 org.eclipse.emf.common.notify.Adapter createSeriesAdapter()
          Creates a new adapter for an object of class 'Series'.
 boolean isFactoryForType(java.lang.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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentAdapterFactory

public ComponentAdapterFactory()
Creates an instance of the adapter factory.

Method Detail

isFactoryForType

public boolean isFactoryForType(java.lang.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.

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.

Parameters:
target - the object to adapt.
Returns:
the adapter for the target.

createAxisAdapter

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

createChartPreferencesAdapter

public org.eclipse.emf.common.notify.Adapter createChartPreferencesAdapter()
Creates a new adapter for an object of class 'Chart Preferences'. 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:
ChartPreferences

createCurveFittingAdapter

public org.eclipse.emf.common.notify.Adapter createCurveFittingAdapter()
Creates a new adapter for an object of class 'Curve Fitting'. 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:
CurveFitting

createDialAdapter

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

createDialRegionAdapter

public org.eclipse.emf.common.notify.Adapter createDialRegionAdapter()
Creates a new adapter for an object of class 'Dial Region'. 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:
DialRegion

createGridAdapter

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

createLabelAdapter

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

createMarkerLineAdapter

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

createMarkerRangeAdapter

public org.eclipse.emf.common.notify.Adapter createMarkerRangeAdapter()
Creates a new adapter for an object of class 'Marker Range'. 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:
MarkerRange

createNeedleAdapter

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

createScaleAdapter

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

createSeriesAdapter

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

createEStringToDataSetMapEntryAdapter

public org.eclipse.emf.common.notify.Adapter createEStringToDataSetMapEntryAdapter()
Creates a new adapter for an object of class 'EString To Data Set 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

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.


Copyright © 2005-2007 Actuate Corp. All rights reserved.