git-svn-id: https://svn.coded.pt/svn/SIPRP@635 bb69d46d-e84e-40c8-a05a-06db0d633741

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Tiago Simão 18 years ago
parent 675f614510
commit 374b197ccc

@ -53,6 +53,7 @@ public class LeafOptionDialog<KeyClass extends Object> extends JDialog
public LeafOptionDialog(Map<KeyClass, ? extends Object> map) public LeafOptionDialog(Map<KeyClass, ? extends Object> map)
{ {
super(); super();
cancelActive = false;
startup( map, null ); startup( map, null );
} }
@ -60,6 +61,11 @@ public class LeafOptionDialog<KeyClass extends Object> extends JDialog
{ {
super(); super();
this.message = message; this.message = message;
cancelActive = false;
for(KeyClass key : map.keySet())
{
mapEnabledForKey.put( key, true );
}
startup( map, null ); startup( map, null );
} }
@ -68,7 +74,7 @@ public class LeafOptionDialog<KeyClass extends Object> extends JDialog
super(); super();
ordered = true; ordered = true;
this.message = message; this.message = message;
this.okLabel = okButton; okLabel = okButton;
this.mapChosenForKey = chosen; this.mapChosenForKey = chosen;
this.mapEnabledForKey = enabled; this.mapEnabledForKey = enabled;
if( chosen != null ) if( chosen != null )

@ -488,7 +488,7 @@ public class ProcessoDadosPanel extends JPanel
} }
} }
} }
LeafOptionDialog<PrtGruposProtocolo> gruposChosen = new LeafOptionDialog<PrtGruposProtocolo>( grupos, gruposSelected, gruposEnabled, "Escolha os ECDs para esta marca" +ccedil + atilde + "o" , "<html><font size=\"4\"><b>Marcar »</b></font></html>" ); LeafOptionDialog<PrtGruposProtocolo> gruposChosen = new LeafOptionDialog<PrtGruposProtocolo>( grupos, gruposSelected, gruposEnabled, "Escolha os ECDs para esta marca" +ccedil + atilde + "o" , "Marcar »" );
for( PrtGruposProtocolo grupo : gruposChosen.getSelected() ) for( PrtGruposProtocolo grupo : gruposChosen.getSelected() )
{ {
marcacao.marcarGrupoExames( grupo ); marcacao.marcarGrupoExames( grupo );

Loading…
Cancel
Save