Image
corresponding to the icon that will be associated with the new
function.
Router
function and associate it with an icon, which is stored in a file
called
router.gif
.
IlpContext context = IltSystem.GetDefaultContext(); IltNetworkElement.Function router = new IltNetworkElement.Function("router"); Image routerIcon = context.getImageRepository().getImage("router.gif"); IltSettings.SetValue("NetworkElement.Function.Router.Icon", routerIcon);
setting."ilog.tgo.model.IltNetworkElement"{ functions[0]: @+neFunction0; } Subobject#neFunction0 { class: 'ilog.tgo.model.IltNetworkElement.Function'; name: "router"; }
icon
.
setting."ilog.tgo.model.IltNetworkElement.Function"[name="router"] { icon: '@|image("router.gif")'; }
Property
Name |
Type |
Default
Value |
Description
|
---|---|---|---|
functionVisible
|
boolean
|
true
|
Controls
whether the function icon of a network element is shown or
not |
ilog.tgo.NetworkElement_Function_<FUNCTION
NAME>_ToolTip
: network element function tooltips
"router"
, you should declare the entry in the resource bundle file as
follows:
ilog.tgo.NetworkElement_Function_router_ToolTip=Router