Geometric Shapes Example
Introduction
This guide describes the
geometric shapes example in the SDK. This example demonstrates a
very simple editor for creating geometric shapes and some basic
capability for editing and rendering them..
References
n/a
Description
This example plug-in is named org.eclipse.gmf.examples.runtime.diagram.geoshapes.
It allows creation of a
simple editor based on a resource file with extension *.geo. The editor is actually a
container for the geometric shape capability defined in the plug-in
org.eclipse.gmf.runtime.diagram.ui.geoshapes.
There is no extended
contribution in the examples plug-in except for the providers for
creating the diagram views and EditPart
for the diagram editor. The geometric shapes
functionality is actually contributed by the org.eclipse.gmf.runtime.diagram.ui.geoshapes
plug-in.
Usage
Refer to this example if you need:
- How to set-up a resource based GMF diagram layer editor based
on a specific extension.
- How to inherit notation based functionality that is provided
for by the diagram layer.
- How to integrate the property view into your editor.
Copyright
(c) 2000,2005 IBM Corporation and others. All Rights
Reserved.