@jcs:jc-jar Annotation

Specifies characteristics of the control as it appears in the Weblogic Workshop IDE. These include icons associated with the control, its name on menus and palettes, and so on.

Syntax

@jcs:jc-jar
    description="descriptionInPropertyEditor"
    display-in-palette="true | false"
    group-priority="numberIndicatingGroupPriority"
    group-name="nameOfSubmenu"
    icon-16="pathToGifFile"
    icon-32="pathToGifFile"
    insert-wizard-class="fullyQualifiedNameOfWizardClass"
    label="nameOnMenusAndPalettes"
    palette-priority="numberIndicatingPalettePriority"
    requires-extension="true | false"
    resource-file="nameOfLocalizationResource"
    version="versionNumber"

Attributes

description

Optional. The text that will appear in the Description pane when the control is selected in Design View.

display-in-palette

Optional. Defines whether this control should be shown in the palette.

group-priority

Optional. A number indicating where in the Insert menu the group named in the group-name attribute should appear. Higher numbers (relative to other groups) place the group higher in the menu. Default is 0.

group-name

Optional. The name of the submenu under which this control should appear. If the group-name atribute value ends with the string "Menu" (such as "MyGroupMenu"), then the groupname, stripped of the word Menu, always becomes a submenu name, and all controls sharing that group appear on the submenu. If the group name does not end in the word Menu, then controls in that group appear as top-level items in the Insert Controls menu, unless there are more than five controls in that group. In that case, the group name becomes the top level menu name and all controls in that group appear as sub-menu items.

icon-16

Optional. A path (relative to the JCS file) to a .gif file that should be used as the control's icon on menus, palettes, in Design View, and so on.

icon-32

Optional. A path (relative to the JCS file) to a .gif file that should be used as the control's large icon.

insert-wizard-class

Optional. A fully-qualified name for a class that implements a custom insert dialog box.

label

Optional. The name used for the control on menus and palettes.

palette-priority

Optional. A number that suggests a priority for this control when the IDE is ordering controls in the palette.

requires-extension

Optional. Defines whether this control must be customized. Usually set to false.

resource-file

Optional. Name of the resource to use in loading localization strings.

version

Optional. The control's version number.

Remarks

None.

Related Topics

Tutorial: Java Control

How Do I: Specify IDE Characteristics for a Java Control?