Package com.luciad.view.gxy
Interface ILcdGXYEditorProvider<T extends ILcdGXYEditor>
- All Superinterfaces:
Cloneable
,Serializable
- All Known Implementing Classes:
TLcdAIXM51GXYPainterEditorProvider
,TLcdAPP6AGXYEditorProvider
,TLcdDatabaseGXYPainterProvider
,TLcdGXYAISIconProviderPainter
,TLcdGXYAISPointListPainter
,TLcdGXYArcBandPainter
,TLcdGXYArcPainter
,TLcdGXYAreaShapeListPainter
,TLcdGXYBoundsPainter
,TLcdGXYBufferPainter
,TLcdGXYCircleBy3PointsPainter
,TLcdGXYCirclePainter
,TLcdGXYCircularArcPainter
,TLcdGXYCompositeCurvePainter
,TLcdGXYCompositeRingPainter
,TLcdGXYEditableLabelPainter
,TLcdGXYEditorProvider
,TLcdGXYEllipsePainter
,TLcdGXYGeoBufferPainter
,TLcdGXYIconPainter
,TLcdGXYLonLatHeightBufferPainter
,TLcdGXYOffsetIconPainter
,TLcdGXYPointListPainter
,TLcdGXYPointShapeListPainter
,TLcdGXYPolylineShapeListPainter
,TLcdGXYRoundedPointListPainter
,TLcdGXYRoutePainter
,TLcdGXYShapeListPainter
,TLcdGXYShapePainter
,TLcdGXYSurfacePainter
,TLcdGXYTextPainter
,TLcdMagneticNorthGXYPainter
,TLcdMS2525bGXYEditorProvider
,TLcdNVGGXYPainterProvider
,TLcdPOLPainter
,TLcdSingleGXYEditorProvider
,TLcdSLDFeatureTypeStylePainter
,TLcdVPFPointListPainter
,TLcdVPFPointPainter
Provides an
ILcdGXYLayer
with an ILcdGXYEditor
to edit
the objects in the layers model.
An ILcdGXYEditorProvider
is part of an ILcdGXYLayer
and is responsible to
provide a suitable editor for every object that is in the layers model.
Since editors are stateful with regard to the object they are editing, their state has to be updated
by the editor provider before it is returned to the layer that will use the editor to edit the object based
on user interactions on the view. An implementation of the getGXYEditor(Object)
getGXYEditor} method
therefore should have the following structure:
public ILcdGXYEditor getGXYEditor(Object aObject) {
ILcdGXYEditor editor = ... // find the editor for the object
editor.setObject( aObject );
return editor;
}
-
Method Summary
Modifier and TypeMethodDescriptionclone()
RedefinesObject.clone()
to make it public.getGXYEditor
(Object aObject) Finds anILcdGXYEditor
that can be used to edit the object passed.
-
Method Details
-
getGXYEditor
Finds anILcdGXYEditor
that can be used to edit the object passed.The editor provider is responsible for setting the object to the editor before returning the editor. An implementation should therefore have the following structure:
public ILcdGXYEditor getGXYEditor(Object aObject) { ILcdGXYEditor editor = ... // find the editor for the object editor.setObject( aObject ); return editor; }
- Parameters:
aObject
- the object to find an editor for- Returns:
- an editor that can be used to edit the object.
-
clone
Object clone()RedefinesObject.clone()
to make it public.- Returns:
- a clone of this editor provider.
-