What's the entry point for Shape/DynamicObject?

Chris Seaton chris.seaton at oracle.com
Tue May 8 23:17:24 UTC 2018

The entry point looks something like this.

Layout layout = Layout.newLayout()…...build()

Shape shape = layout.createShape().addProperty()….  // each .addProperty returns a new shape also containing that property

DynamicObject object = shape.newInstance()


> On 9 May 2018, at 00:08, Timothy Baldridge <tbaldridge at gmail.com> wrote:
> I've been looking into the code behind Shape, DynamicObject, Layouts, etc.
> And I can't seem to find what the top level object is. What should I be
> calling to build a shape implementation? Should I be using
> object.basic.ShapeBasic or something else? Also is there an example
> language I could look at that uses these classes?
> Thanks,
> Timothy

More information about the graal-dev mailing list