Initializing help system before first use

XPRMInitializationFrom



  • public interface XPRMInitializationFrom
    A routine to initialize Mosel objects from Java. An object implementing this interface can be used to initialize Mosel object from an 'initializations from' block. The file name must be of the form "java:objname" with 'objname' being the name of such object. The 'initializationFrom' routine is then called once for each label to be initialized.
    • Method Detail

      • initializeFrom

        boolean initializeFrom(XPRMInitializeContext ictx,
                               java.lang.String label,
                               XPRMTyped type)
        Provide data for initialisation of the specified record. The routine must send the information using the send methods of the ictx object.
        Parameters:
        ictx - initialization context
        label - label associated to the record to be initialized
        type - type of the record
        Returns:
        true if successful, false otherwise.