public class TLcyDebugAddOn extends ALcyPreferencesAddOn
This add-on adds debugging information to the user interface.
The following options and functionality are added to the Lucy user interface when this add-on is used.
ALcyActionBar
.TLcdGXYBusyLayerTreeNodeCellRenderer
.RepaintManager
by
one which checks whether the current Thread
is the Event Dispatch Thread, and logs a
warning otherwise.ALcyWorkspaceCodec.encodeReference(java.lang.Object, java.lang.Object)
.
Other nodes list the UID of the ALcyWorkspaceCodecDelegate
that
has written them.TLcyActionBarManager
.
Its menu items can be found in the debug menu. Its behavior and API can change in any version.
This add-on is by default included in the addons.xml
file.
However, this is not sufficient to actually load the add-on.
The functionality offered by this add-on will only become available when the system property 'lucy.debug' is set to true.
This is done by specifying the following on the command-line:
-Dlucy.debug=true
This allows to conveniently switch the add-on on and off,without making any changes to your project files.
Should you want to permanently disable this functionality, simply remove this add-on from the
addons.xml
file.
Modifier and Type | Field and Description |
---|---|
static String |
LUCY_DEBUG
System property which determines whether this add-on will be loaded or not
|
Constructor and Description |
---|
TLcyDebugAddOn()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
plugInto(ILcyLucyEnv aLucyEnv)
Creates and plugs in the add-on's preferences tool.
|
void |
unplugFrom(ILcyLucyEnv aLucyEnv)
Unplugs the add-on's preferences tool.
|
createPreferencesTool, getLongPrefix, getLucyEnv, getPreferences, getPreferencesTool, getShortPrefix
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
public static final String LUCY_DEBUG
public void plugInto(ILcyLucyEnv aLucyEnv)
ALcyPreferencesAddOn
plugInto
in class ALcyPreferencesAddOn
aLucyEnv
- the Lucy environment to plug intoALcyAddOn.unplugFrom(com.luciad.lucy.ILcyLucyEnv)
public void unplugFrom(ILcyLucyEnv aLucyEnv)
ALcyPreferencesAddOn
unplugFrom
in class ALcyPreferencesAddOn
aLucyEnv
- the Lucy environmentALcyAddOn.plugInto(com.luciad.lucy.ILcyLucyEnv)