Class LibraryReloadedEvent


  • public class LibraryReloadedEvent
    extends NotificationEvent
    Events indicating that the library is reloaded.
    • Constructor Detail

      • LibraryReloadedEvent

        public LibraryReloadedEvent​(org.eclipse.birt.report.model.core.Module host,
                                    org.eclipse.birt.report.model.elements.Library library)
        Constructor.
        Parameters:
        host - the host module in which the library lies in
        library - the element that is to reload library.
    • Method Detail

      • getEventType

        public int getEventType()
        Description copied from class: NotificationEvent
        Returns the event type. The following event types are defined:
        • CONTENT_EVENT
        • ELEMENT_DELETE_EVENT
        • EXTENDS_EVENT
        • NAME_EVENT
        • NAME_SPACE_EVENT
        • PROPERTY_EVENT
        • STYLE_EVENT
        • USER_PROP_EVENT
        • CUSTOM_MSG_EVENT
        • EXTENSION_PROPERTY_DEFINITION_EVENT
        • NOTIFICATION_EVENT
        • VALIDATION_EVENT
        • LIBRARY_EVENT
        • ATTRIBUTE_EVENT
        • DISPOSE_EVENT
        • CONTENT_REPLACE_EVENT
        • TEMPLATE_TRANSFORM_EVENT
        Specified by:
        getEventType in class NotificationEvent
        Returns:
        the event type.
      • getLibrary

        public org.eclipse.birt.report.model.elements.Library getLibrary()
        Returns the library causing this event. If the library is null, it means that the library is not found during the reload-action.
        Returns:
        the library causing this event, or null if the library is not found