|
|
|
@ -54,8 +54,10 @@ public class FichaWindow extends TabbedWindow
|
|
|
|
private static int permissions[][] =
|
|
|
|
private static int permissions[][] =
|
|
|
|
new int[][]{ { NEW_INDEX, CANCEL_INDEX, SAVE_INDEX } };
|
|
|
|
new int[][]{ { NEW_INDEX, CANCEL_INDEX, SAVE_INDEX } };
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static FichaWindow window = null;
|
|
|
|
|
|
|
|
|
|
|
|
/** Creates a new instance of FichaWindow */
|
|
|
|
/** Creates a new instance of FichaWindow */
|
|
|
|
public FichaWindow()
|
|
|
|
private FichaWindow()
|
|
|
|
throws Exception
|
|
|
|
throws Exception
|
|
|
|
{
|
|
|
|
{
|
|
|
|
super( new UpperPanel(), new String[]{ "Empresa/Trabalhador", "Exame" },
|
|
|
|
super( new UpperPanel(), new String[]{ "Empresa/Trabalhador", "Exame" },
|
|
|
|
@ -69,6 +71,16 @@ public class FichaWindow extends TabbedWindow
|
|
|
|
setupComponents();
|
|
|
|
setupComponents();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static FichaWindow getWindow()
|
|
|
|
|
|
|
|
throws Exception
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if( window == null )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
window = new FichaWindow();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return window;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void setupComponents()
|
|
|
|
private void setupComponents()
|
|
|
|
throws Exception
|
|
|
|
throws Exception
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -797,4 +809,6 @@ public class FichaWindow extends TabbedWindow
|
|
|
|
exame.delete();
|
|
|
|
exame.delete();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|