This page is under construction

construction sign

Writing a Mode Plugin

Preliminaries

A mode is a vertical tool bar located at the left side of a graph view window.
This document explains how a new mode can be realized using the plugin mechanism of Gravisto. For the following example(s) it is necessary to have Graffiti_Core and Graffiti_Editor in your classpath.

Restrictions

At the moment there can not be more than one mode which is also common for different views on graphs, e.g. standard view or matrix view. If a new mode is written, e.g., as plugin, it overwrites the existing standard mode. Therefore it makes currently not that much sense to write a mode plugin and thus it is not documented here.
Of course to the standard mode, which has the id "org.graffiti.plugins.modes.defaultEditMode", new tools can be added via a plugin, see Writing a Tool Plugin.