Adding new Applications to IDM Designer palette

0 Likes

This is a short tutorial about adding new applications (palette entries) to the Designer palette. After an application is added to the palette it becomes quite easy to create a driver for that application. All you need to do is drag the application icon from the palette and drop it in the modeler. Designer then detects which entry has been dropped in the modeler and displays the driver creation wizard with the appropriate base package already selected.

Please see below for the details or the attached pdf file.

How does it work?

The palette consists of multiple Palette Groups each with a set of Palette Entries. Each Palette Entry has an icon, a label, and a tool-tip. There is more internal information associated with a Palette Entry which is may not be directly visible to the user, such as: palette ID, the shim-module name, label and icon to be displayed over the driver connector line, and a few other things.

In order to create a new Palette Entry you'll need to create a few XML, properties, and icon files under specific directories in Designer. The rest of this tutorial talks about the structure and location of the required files.

The files mentioned below are required to add a new palette entry in designer. You have to decide the palette group that the palette entry belongs to and depending on that create these files in the appropriate directory under the "Applications" directory. The names of the sub-directories under "Application" correspond to the palette groups. The eDirectory palette entry is used here as an example to explain the structure of the files.

The application xml file

This file defines the labels and icons to use for the application in the palette

<designer_install>/plugins/com.novell.idm_4.0.0.201204170740/defs/model_items/Applications/Directory/eDir.xml

The Application properties file

The name of this file should match that of the application xml file

<designer_install>/plugins/com.novell.idm_4.0.0.201204170740/defs/model_items/Applications/Directory/props/eDir.properties

Name = eDirectory
Tip = Novell eDirectory

The Application Icons

The medium sized icon that is displayed in the modeler

<designer_install>/plugins/com.novell.idm_4.0.0.201204170740/defs/model_items/Applications/Directory/icons/ad.png

The small sized icon that is displayed in the palette

<designer_install>/plugins/com.novell.idm_4.0.0.201204170740/defs/model_items/Applications/Directory/icons/small/ad.gif

The Driver files

The Driver XML file

This file defines the palette ID and the shim module name. It also defines the icons and tool-tip to use
for the driver connector line.

<designer_install>/plugins/com.novell.idm_4.0.0.201204170740/defs/model_items/Drivers/EDIR.xml

The Driver properties file

The name of this file should match that of the Driver xml file

Name = eDir Driver
Tip = eDirectory Driver

The Driver iManager icon

The name of this file should match that of the driver xml file.

<designer_install>/plugins/com.novell.core_4.0.0.201204170740/icons/iManager/EDIR.gif

Base templates for the icons

Application regular icon:

Application small icon:

Driver iManager icon:

Labels:

How To-Best Practice
New Release-Feature
Comment List
Related
Recommended