public class IconExtension extends ModelExtensionObject
| Constructor and Description |
|---|
IconExtension(java.lang.String pId,
java.lang.String pLabel,
java.lang.String pCategory,
FunctionPackageExtension pFunctionPackage,
java.net.URL pIcon,
java.net.URL pIconDisabled)
Creates a new icon model extension.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCategory()
Gets the category of the icon extension.
|
java.net.URL |
getIcon()
Gets the image URL.
|
java.net.URL |
getIconDisabled()
The URL for the disabled image.
|
getFunctionPackageExtension, getHelpContextId, getID, getLabel, isDeprecated, setDeprecated, setHelpContextId, toStringpublic IconExtension(java.lang.String pId,
java.lang.String pLabel,
java.lang.String pCategory,
FunctionPackageExtension pFunctionPackage,
java.net.URL pIcon,
java.net.URL pIconDisabled)
pId - the model extension IDpLabel - the icon labelpCategory - the icon category for the model editor (can be
null)pFunctionPackage - the corresponding function package extensionpIcon - the image URLpIconDisabled - the disabled image URL (can be null)public java.net.URL getIcon()
public java.net.URL getIconDisabled()
null, since the
disabled image is optional for icons.nullpublic java.lang.String getCategory()
null)Copyright © 2015 Micro Focus GmbH. All rights reserved.