5.1 Editors

5.1.1 Using an Editor

Editors enable you to modify projects or other items that are listed in the Navigator or the Project view. Designer comes with a number of editors, and a default editor is designated for most file types.

To select an editor other than the default:

  1. Expand a project in the Project or Navigator view (there are more editors in the Navigator view).

  2. Select the Documents\Generated folder.

  3. Right-click any of the files, such as .xml, .pdf, or .txt, and select Open With > Editor Name. The example below shows the process of opening a file with the Text Editor from the Navigator view.

    Opening with the Text Editor

    The editor you choose depends on the type of file you select. Designer lists what it considers to be the best editor for the selected file type.

The following figure illustrates a text editor. When you right-click the editor, a menu is available:

Figure 5-1 The Text Editor’s Menu

The Preferences window lets you set a text editor’s preferences. You get to this window by selecting Window > Preferences > General > Editors > Text Editors.

Figure 5-2 Preferences: Text Editors

For information on the settings, see Setting Preferences in the Designer 3.0.1 for Identity Manager 3.6 Administration Guide.

Each file type you right-click brings up a list of editors.

  • .xml extension:

    • Novell XML Editor (default)

    • Text Editor

    • System Editor

    • In-Place Editor

    • Default Editor

  • .txt extension:

    • Text Editor (default)

    • System Editor

    • In-Place Editor

    • Default Editor

  • .pdf extension:

    • Text Editor

    • System Editor (default)

    • In-Place Editor

    • Default Editor

  • .project extension:

    • Text Editor (default)

    • System Editor

    • In-Place Editor

    • Default Editor

  • .proj extension:

    • Modeler (default)

    • Text Editor

    • System Editor

    • In-Place Editor

    • Default Editor

  • .log extension:

    • DS Trace Editor

    • Text Editor

    • System Editor

    • In-Place Editor

    • Default Editor

You can also select Open With > Other to open the Editor Selection page.

Figure 5-3 Selecting an Internal or External Editor

Select an appropriate editor and click OK. If you have a particular editor in mind, select External Programs, then click Browse to select that program.

Below are some examples of editors and their functionality.

5.1.2 XML Editor

You can use the XML editor in policy management and configuration editing. The XML editor can do the following:

  • Outline view support

  • Find and replace

  • Highlight syntax

  • Auto suggest

  • Auto-insert end tags

5.1.3 Filter Editor

  • Add classes and attributes

  • Copy the filter

  • Delete

  • Multiselect support

  • Keyboard support

  • Refresh the schema

  • Expand/collapse all

  • Configure default values

  • Create a home directory

  • Track member templates

  • Merge authority

  • Optimize modifications

  • Undo/redo

  • XML editor integration

5.1.4 Schema Map Editor

  • Add classes and attributes

  • Delete

  • Multiselect support

  • Keyboard support

  • Refresh the schema

  • Expand/collapse all

  • Non-class-specific handling

  • Integrated XML editor