- All Implemented Interfaces:
Localized
Shows a table of recent log records, optionally filtered to logs related to a specific resource.
By default,
LogViewer does not show any log entry.
For viewing logs, one of the two following actions must be done:
- Set
sourceto a non-nullResourcevalue. - Set
systemLogstotrue.
Resource value is specified, LogViewer shows only some logs that occurred while
using that resource, in particular warnings emitted by the resource.- Since:
- 1.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ObjectProperty<Resource> The data store or resource for which to show log records.final BooleanPropertyWhether to show system logs instead of the logs related to a specific resource. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetView()Returns the control to show in the scene graph.Whether this viewer has no log record to show.Methods inherited from class Widget
getLocale
-
Field Details
-
source
The data store or resource for which to show log records. If this property value isnull, then the system logs will be shown ifsystemLogsistrue, or no logs will be shown otherwise.- See Also:
-
systemLogs
-
-
Constructor Details
-
LogViewer
public LogViewer()Creates an initially empty viewer of log records. For viewing logs,sourcemust be set to a non-null value orsystemLogsmust be set totrue.
-
-
Method Details
-
isEmptyProperty
Whether this viewer has no log record to show. This property is useful for disabling or enabling a tab.- Returns:
- the property telling whether this viewer no log record to show.
-
getView
Returns the control to show in the scene graph. The implementation class may change in any future version.
-