Package de.ailis.xadrian.dialogs

Examples of de.ailis.xadrian.dialogs.ChangePricesDialog


     * @return The change prices dialog.
     */
    public synchronized ChangePricesDialog getChangePricesDialog()
    {
        if (this.changePricesDialog == null)
            this.changePricesDialog = new ChangePricesDialog(this);
        return this.changePricesDialog;
    }
View Full Code Here


     * @param focusedWare
     *            The ware to focus (null for none)
     */
    public void changePrices(final Ware focusedWare)
    {
        final ChangePricesDialog dialog =
            this.complex.getGame().getChangePricesDialog();
        dialog.setCustomPrices(this.complex.getCustomPrices());
        dialog.setActiveWare(focusedWare);
        if (dialog.open(this.complex) == Result.OK)
        {
            this.complex.setCustomPrices(dialog.getCustomPrices());
            doChange();
            redraw();
        }
    }
View Full Code Here

TOP

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

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.