protected abstract static class IltSystemInitializer.Initializer extends Object implements Runnable
Runnable
that
initializes all TGO resources in a dedicated thread.
Subclasses must implement method initSystem
to
perform the IltSystem
initialization according to
input parameters.
Modifier | Constructor and Description |
---|---|
protected |
Initializer() |
Modifier and Type | Method and Description |
---|---|
protected void |
dispose()
Disposes all components.
|
protected abstract void |
disposeUserResource()
Abstract method to allow the disposal of any user resources allocated
by method
initUserResource() . |
protected abstract void |
initSystem()
Abstract method to customize the
IltSystem initialization. |
protected abstract void |
initUserResource()
Abstract method to allow executing user initialization together with
the TGO static initialization.
|
protected boolean |
instantiateEquipment()
Indicates whether or not the JViews TGO Equipment component
should be instantiated during initialization.
|
protected boolean |
instantiateNetwork()
Indicates whether or not the JViews TGO Network component
should be instantiated during initialization.
|
protected boolean |
instantiateTable()
Indicates whether or not the JViews TGO Table component
should be instantiated during initialization.
|
protected boolean |
instantiateTree()
Indicates whether or not the JViews TGO Tree component
should be instantiated during initialization.
|
void |
run()
Implements the TGO initialization.
|
protected abstract void initSystem() throws Exception
IltSystem
initialization.Exception
- in case of errorsprotected abstract void initUserResource() throws Exception
This method will be called by the working thread right after TGO is initialized.
Exception
- in case of errorsprotected abstract void disposeUserResource()
initUserResource()
.
This method will be called by the working thread right after TGO resources are disposed.
protected boolean instantiateNetwork()
Component instantiation takes more time, but make the component render faster when it is made visible for the first time.
true
if this component should be initialized,
false
otherwise. Default value is true
.protected boolean instantiateEquipment()
Component instantiation takes more time, but make the component render faster when it is made visible for the first time.
true
if this component should be initialized,
false
otherwise. Default value is true
.protected boolean instantiateTable()
Component instantiation takes more time, but make the component render faster when it is made visible for the first time.
true
if this component should be initialized,
false
otherwise. Default value is true
.protected boolean instantiateTree()
Component instantiation takes more time, but make the component render faster when it is made visible for the first time.
true
if this component should be initialized,
false
otherwise. Default value is true
.protected void dispose()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.