Home
Categories
Dictionary
Download
Project Details
Changes Log
Who We Are
FAQ
License

Developing a plugin


    1  Example
    2  Notes
    3  See also

J661 Plugins use the Open Source MDIFramework library.

A Plugin is a Java jar file with the following manifest properties:
  • MDIPluginClass: (mandatory) the path of the Plugin class
  • MDIPluginType: (mandatory) the type of Plugin, which can be:
    • "common" for a Plugin which can be used for the Client, the Server, or the Editor[1]
      For example, the Scenario Plugin can be used in the Client, the Server, or the Editor in the context of the Embedded Server
    • "server" for a Plugin which can be used only for the Server
    • "client" for a Plugin which can be used only for the Client
    • "editor" for a Plugin which can be used only for the Editor[2]
      For example, the UACDS Plugin or the EditorScript Plugin can be used only for the Editor
  • ui: (optional) the UI Framework (or list of frameworks) on which this Plugin is allowed to work:
    • "jfx" for the JavaFX framework
    • "jfx;swing" for the Swing framework

Example

The following manifest is used for the Scenario Plugin:
      MDIPluginClass: plugin.common.scenario.ScenarioPlugin
      MDIPluginType: common
      ui: jfx;swing

Notes

  1. ^ For example, the Scenario Plugin can be used in the Client, the Server, or the Editor in the context of the Embedded Server
  2. ^ For example, the UACDS Plugin or the EditorScript Plugin can be used only for the Editor

See also


Categories: client | dev | plugins | server

Copyright 2016-2017 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v2 licence