SWT and RCP

The Tensegrity Framework supports SWT. The Graph Framework can render into Eclipse views and will process all SWT events appropriately. The feature set of the SWT implementation and the Swing-based implementation are almost identical.

Reusable SWT components are part of the default implementation for creating and editing graphs. These are assembled in conjunction with the Graph Framework to the Graph Framework Eclipse plug-in. The reusable components and the Graph Framework can also be used within Rich-Client-Platform (RCP) applications. The Tensegrity Application Framework provides a number of customizable views, dialogs and widgets that are ready to use in your applications.

Graph Framework offers:

  • Modern interface-based software architecture with extensive documentation and sample code.
  • XML-based element and node library for the flexible and code-free design of complex graph elements.
  • Extensive layout library with path-detection and label placement strategies.
  • Abstract device layer to support various output device types (Jpeg, SVG and Custom).
  • Complete application frame with customizable and reusable GUI components.

 

 

The Tensegrity Graph Framework Eclipse Plug-in

The Tensegrity Graph Framework Eclipse Plug-in is an example for demonstrating the capability of a plug-in based on the Tensegrity Graph Framework.This plug-in allows creation and visualization of complex graphical objects within the Eclipse Framework. All created graph documents can be reused within the Eclipse IDE.

 

Overview of the Graph Framework Eclipse Plug-in

The Eclipse plug-in defines a separate perspective for editing graph files. This perspective offers the following views:

  • Repository:
    Shows the element repository with a set of preconfigured nodes and edges that can be added to the graph by dragging and dropping. The repository can be configured to adopt user-defined items via XML.
  • Navigator:
    Shows the complete graph and the currently visible area or viewport. This view can be manipulated with the mouse.
  • Attribute Table:
    Shows the editable attributes of the selected item or of the view.
  • Layout Tools:
    Provides access to the various layout types which can be applied to the actual graph.

The Graph Framework Eclipse plug-in integrates important commands into the menus and toolbars of Eclipse and provides the default interaction items for creating and managing new graphs, executing clipboard operations and changing preferences. Please click here to see how to install the Tensegrity Graph Framework Eclipse Plug-in.