Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.amp.agf.gef
Class ScapePartFactory

    java.lang.Object
      org.eclipse.amp.agf.gef.ScapePartFactory

All Implemented Interfaces:
  org.eclipse.gef.EditPartFactory

Direct Known Subclasses:
  Scape3DPartFactory

    public class ScapePartFactory

extends java.lang.Object
implements org.eclipse.gef.EditPartFactory

Author:
  mparker

Constructor Summary
`ScapePartFactory(IModel model, IGraphicsAdapter graphicsAdapter)`

Method Summary
`org.eclipse.gef.EditPart` | `createEditPart(org.eclipse.gef.EditPart context, java.lang.Object model)`
`ICompositionProvider` | `getCompositionProvider()`
`IGraphicsAdapter` | `getGraphicsAdapter()`
`IGraphProvider` | `getGraphProvider()`
`ILocationProvider` | `getLocationProvider()`
`void` | `setCompositionProvider(ICompositionProvider compositionProvider)`
`void` | `setGraphProvider(IGraphProvider graphProvider)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ScapePartFactory

    public ScapePartFactory(IModel model,
                            IGraphicsAdapter graphicsAdapter)

Method Detail

### createEditPart

    public org.eclipse.gef.EditPart createEditPart(org.eclipse.gef.EditPart context,
                                                   java.lang.Object model)

  Specified by:
    `createEditPart` in interface `org.eclipse.gef.EditPartFactory`
  Parameters:
    `context` -
    `model` -
  Returns:
  See Also:
    `EditPartFactory.createEditPart(org.eclipse.gef.EditPart, java.lang.Object)`

### getCompositionProvider

    public ICompositionProvider getCompositionProvider()

  Returns:
    the compositionProvider

### getGraphProvider

    public IGraphProvider getGraphProvider()

  Returns:
    the graphProvider

### setCompositionProvider

    public void setCompositionProvider(ICompositionProvider compositionProvider)

  Parameters:
    `compositionProvider` - the compositionProvider to set

### setGraphProvider

    public void setGraphProvider(IGraphProvider graphProvider)

  Parameters:
    `graphProvider` - the graphProvider to set

### getLocationProvider

    public ILocationProvider getLocationProvider()

### getGraphicsAdapter

    public IGraphicsAdapter getGraphicsAdapter()

  Returns:
    the graphicsAdapter

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD