CommandCommandLineWrapperToggleExtend.java :  » Code-Analyzer » beautyJ » de » gulden » framework » amoda » environment » gui » behaviour » Java Open Source

Java Open Source » Code Analyzer » beautyJ 
beautyJ » de » gulden » framework » amoda » environment » gui » behaviour » CommandCommandLineWrapperToggleExtend.java
/*
 * 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
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.