private class FiniForm implements Command
{
public void execute()
{
Layout layout = layouts.get(currentForm.getLayout());
if (layout != null)
{
layout.setClazz(currentForm.getClazz());
layout.setPackage(currentForm.getPackage());
}
forms.put(currentForm.getClazz(), currentForm);
currentForm = null;
currentObject = CurrentObject.NONE;