/*
* Project: AMODA - Abstract Modeled Application
* Class: de.gulden.framework.amoda.environment.gui.behaviour.CommandCommandLineWrapperToggleExtend
* Version: snapshot-beautyj-1.1
*
* Date: 2004-09-29
*
* This is a snapshot version of the AMODA 0.2 development branch,
* it is not released as a seperate version.
* For AMODA, see http://amoda.berlios.de/.
*
* This is licensed under the GNU Lesser General Public License (LGPL)
* and comes with NO WARRANTY.
*
* Author: Jens Gulden
* Email: amoda@jensgulden.de
*/
package de.gulden.framework.amoda.environment.gui.behaviour;
import de.gulden.framework.amoda.generic.behaviour.GenericCommand;
import java.util.*;
/**
* Class CommandCommandLineWrapperToggleExtend.
*
* @author Jens Gulden
* @version snapshot-beautyj-1.1
*/
public class CommandCommandLineWrapperToggleExtend extends GenericCommand {
// ------------------------------------------------------------------------
// --- method ---
// ------------------------------------------------------------------------
public void perform() {
de.gulden.framework.amoda.environment.gui.component.CommandLineWrapperFrame f =
(de.gulden.framework.amoda.environment.gui.component.CommandLineWrapperFrame)
((de.gulden.framework.amoda.environment.gui.GUIApplicationEnvironment)getApplication().getEnvironment()).
getFrame();
f.setExtended(!f.isExtended());
}
} // end CommandCommandLineWrapperToggleExtend
|