Changeset 232


Ignore:
Timestamp:
Apr 5, 2011, 10:22:26 AM (10 years ago)
Author:
gostiaux
Message:

JOBS POLICY added in the Batch window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r231 r232  
    15511551    if isequal(s,0)
    15521552        w(end)=[];
    1553         str_displ={[w ' jobs in the waiting list'];'Select a priority:'};
    1554         str={'urgent';'normal';'low'};
     1553        str_displ={[w ' jobs in the waiting list'];...
     1554            '***********************';...
     1555            'JOBS PRIORITY POLICY';...
     1556            '- urgent = less than 100 images pairs';...
     1557            '- normal = during the experiments';...
     1558            '- low = post processing';...
     1559            '***********************';...
     1560            'Select a priority:'};
     1561            ' ';...
     1562            str={'urgent';'normal';'low'};
    15551563        [ind_answer,v] = listdlg('PromptString',str_displ,...
    15561564            'SelectionMode','single',...
    1557             'ListString',str,'ListSize',[200 200],'Name','job priority','InitialValue',3);
     1565            'ListString',str,'ListSize',[200 100],'Name','job priority','InitialValue',3);
    15581566        if isequal(v,0) % to handle Cancel button and figure close,
    15591567            errormsg='job cancelled';
Note: See TracChangeset for help on using the changeset viewer.