Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

DSDP/TML/Creating TmL Plugins update

< DSDP‎ | TML
Revision as of 15:25, 5 December 2008 by Unnamed Poltroon (Talk) (Initial requirements)

Creating TmL devices

Purpose and Target audience

This tutorial provides directions on creating devices:LINK_CONCEPT for TmL.

The target audience is anyone who wants to create a device:LINK_CONCEPT in TmL context.

Initial requirements

Here follows the steps necessary to prepare the environment to create TmL devices.

  1. Download and install the most recent Eclipse Europa (3.3) version. Click site for the eclipse download site.
  2. Connect to Eclipse CVS Repository and get the project set for Common utilities (see instructions here).

After that, your workspace should have a new project named org.eclipse.tml.common.utilities.

Creating the TmL plugin

  1. Create a new Plug-in project using the Eclipse New Project Wizard.
    Step1.jpg
  2. If this plug-in will be contributed to TmL certify that it is using the naming conventions in Development Conventions and Guidelines or check with TmL committer the best name for that. (ex: org.eclipse.tml.sample)
    Step2.jpg
  3. Fill provider, version and name and change the default name for activator to this format "<your-plugin-name>Plugin". (ex: SamplePlugin)
    Step3.jpg
  4. Uncheck option to select a code template.
    Step4.jpg

Configuring the plugin to work with the TmL framework

  1. Open plugin.xml in the dependencies tab
  2. Add org.eclipse.tml.common.utilities
    Tml plugin dependencies.jpg

Defining Icons

Inserting I18N support

Inserting LOG support

Inserting Exception support

Conclusion

Back to the top