Ignore:
Timestamp:
2004-01-09T15:36:40+13:00 (20 years ago)
Author:
jmt12
Message:

Added two new attributes for script arguments. HiddenGLI controls whether the argument will be visible at all in GLI, while ModeGLI defines the lowest detail mode under which the argument will be visible (only really for import and buildcol). Also ensured that the scripts were reporting their correct default process expressions, and further refined argument types by adding the catagory regexp for any regular expression (which can then be hidden under lower detail modes in GLI)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/OAIPlug.pm

    r6332 r6408  
    3636}
    3737
     38my $arguments =
     39    [ { 'name' => "process_exp",
     40    'desc' => "{BasPlug.process_exp}",
     41    'type' => "regexp",
     42    'reqd' => "no",
     43    'deft' => &get_default_process_exp() },
     44      ];
     45
    3846my $options = { 'name'     => "OAIPlug",
    3947        'desc'     => "{OAIPlug.desc}",
    40         'inherits' => "yes" };
     48        'abstract' => "no",
     49        'inherits' => "yes",
     50        'args'     => $arguments };
    4151
    4252#  sub print_usage {
Note: See TracChangeset for help on using the changeset viewer.