DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦27a8dd70a⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Search_List, pragma Module_Name 4 3939, pragma Subsystem Commands, seg_006387

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



package Search_List is

    -- Conceptually a search list is a sequence of component names of
    -- libraries.  A component name could have wild characters, and would
    -- therefore resolve to many libraries.  The resolution of a name
    -- depends on the resolution of the libraries, order being important.
    -- Furthermore, the resolution of a component name or an Ada name
    -- depends on the context in which such resolution is done.  For
    -- instance, the component name "$" meaning enclosing library resolves
    -- to different libraries depending on the current context.

    -- A separate image comes up for each Edit with different parameters.
    -- Most commands take in defaulted Session and User parameters.  The
    -- defaults refer to the present user and session.

    procedure Display (Session : String := ""; User : String := "");

    -- Displays the Session Search List Components in a text-io image.

    procedure Display_Libraries;

    -- Displays the resolution of all the Libraries of the Search List
    -- in the present context in a text-io image.

    procedure Show_List (Session : String := ""; User : String := "");

    -- Shows the Session Search List

    procedure Show_Item (Component : String := "<CURSOR>");

    -- Displays the library indicated by a Search List component provided it
    -- resolves to a unique library.  By default, displays the library at
    -- the cursor.

    procedure Set_Up (Component : String := ">>SEARCH LIST<<";
                      Session : String := "";
                      User : String := "");

    -- Initialize Search List.  Replaces entire previous contents.

    procedure Reset_To_System_Default
                 (Session : String := ""; User : String := "");

    -- Resets to system default search list.

    procedure Add (Component : String := ">>LIBRARY NAME<<";
                   Position : Integer := Integer'Last;
                   Session : String := "";
                   User : String := "");

    -- Adds Component in the indicated Position in the Search
    -- List Components image.  If defaulted, and cursor is on the
    -- Search List image, then that is the location of the addition
    -- Otherwise, addition is at end.

    procedure Replace (New_Component : String := ">>LIBRARY NAME<<";
                       Old_Component : String := "<SELECTION>";
                       Session : String := "";
                       User : String := "");

    -- Replace Old_Component (the component indicated by selection is the
    -- default) by New_Component in Search List image.

    procedure Delete (Component : String := "<SELECTION>";
                      Session : String := "";
                      User : String := "");

    -- Remove Component (the component indicated by the current selection is
    -- the default) from the Search List image.

    procedure Release;

    -- Removes current image from the screen

    procedure Save (File_Name : String := ">>FILE NAME<<";
                    Session : String := "";
                    User : String := "");

    -- Save the search list of the given user's session

    procedure Revert (File_Name : String := "";
                      Session : String := "";
                      User : String := "");

    -- Revert the search list for the given user's session from the named
    -- file.  If the file name is defaulted, the search list is reverted
    -- from the permanent search list maintained for this user's session

    pragma Subsystem (Commands);
    pragma Module_Name (4, 3939);

end Search_List;

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=17 rec1=00 rec2=01 rec3=004
        [0x01] rec0=1a rec1=00 rec2=02 rec3=020
        [0x02] rec0=19 rec1=00 rec2=03 rec3=00e
        [0x03] rec0=14 rec1=00 rec2=04 rec3=000
    tail 0x21701a76081bf806705fb 0x42a00088462060003