Package de.ailis.xadrian.dialogs

Examples of de.ailis.xadrian.dialogs.AddFactoryDialog


     * @return The add factory dialog.
     */
    public synchronized AddFactoryDialog getAddFactoryDialog()
    {
        if (this.addFactoryDialog == null)
            this.addFactoryDialog = new AddFactoryDialog(this);
        return this.addFactoryDialog;
    }
View Full Code Here


     * Adds a new factory to the complex.
     */
    @Override
    public void addFactory()
    {
        final AddFactoryDialog dialog =
            this.complex.getGame().getAddFactoryDialog();
        if (dialog.open() == Result.OK)
        {
            for (final Factory factory : dialog.getFactories())
            {
                this.complex.addFactory(factory);
            }
            doChange();
            redraw();
View Full Code Here

TOP

Related Classes of de.ailis.xadrian.dialogs.AddFactoryDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.