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

< DSDP‎ | TML
Revision as of 15:10, 8 April 2008 by Unnamed Poltroon (Talk) (Creating your TmL plugin)

Creating TmL plugins using log,i18n and exceptions

Purpose

This guide shows how to create TmL plugins. The target users of this tutorial are any kind of plugin inside TmL context. It is mandatory use this template to contribute plugins to TmL project. But , if you just need to use the framework feel free to choose your best plugin template. We suggest use this template because some features as internationalization, log messages and exception mechanism were already implemented in common classes of TmL project.

Initial requirements

Follow the steps below to prepare your environment before you be able to create TmL plugins.If you already had an Eclipse Europa installed in your machine go to step 2.

  1. Download and install the most recent Eclipse Europa version.[1]
  2. Connect to Eclipse CVS Repository and get the project set for Common utilities (see instructions here).

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

Creating the TmL plugin

Create a new Plug-in project using the Eclipse New Project Wizard . 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.

Connecting the plugin with TmL framework

Defining Icons

Inserting I18N support

Inserting LOG support

Inserting Exception support

Conclusion

Back to the top