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.escape.ascape.adapt
Class AscapePartTreeFactory

    java.lang.Object
      org.eclipse.amp.escape.ascape.adapt.AscapePartTreeFactory

    public class AscapePartTreeFactory

extends java.lang.Object

A factory for creating ScapePartTree objects.

Field Summary
`AscapeProvider` | `provider`

Constructor Summary
`AscapePartTreeFactory()`

Method Summary
`EditPart` | `createEditPart(EditPart context, java.lang.Object model)`
`protected EditPart` | `getPartForElement(java.lang.Object model)` Maps an object to an EditPart.

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

Field Detail

### provider

    public AscapeProvider provider

Constructor Detail

### AscapePartTreeFactory

    public AscapePartTreeFactory()

Method Detail

### createEditPart

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

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

### getPartForElement

    protected EditPart getPartForElement(java.lang.Object model)

  Maps an object to an EditPart.

  Parameters:
    `model` - the model
  Returns:
    the part for element
  Throws:
    `java.lang.RuntimeException` - if no match was found (programming error)

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

Copyright (C) 2007-2009 Metascape, LLC, 2009 Miles Parker, 2006-2007 Argonne National Labs, and Contributors