private class FiniLayout implements Command
{
public void execute()
{
Form form = forms.get(currentLayout.getForm());
if (form != null)
{
currentLayout.setPackage(form.getPackage());
currentLayout.setClazz(form.getClazz());
}
layouts.put(currentLayout.getName(), currentLayout);
currentLayout = null;
}