Package slash.navigation.converter.gui.models

Examples of slash.navigation.converter.gui.models.AddRouteCallback


            labelResult.setText(RouteConverter.getBundle().getString("add-route-no-description-error"));
            pack();
            return;
        }

        catalogModel.addRoute(category, description, file, null, new AddRouteCallback());

        labelResult.setText(RouteConverter.getBundle().getString("add-route-by-file-success"));
        pack();
        dispose();
    }
View Full Code Here


            labelResult.setText(RouteConverter.getBundle().getString("add-route-no-description-error"));
            pack();
            return;
        }

        catalogModel.addRoute(category, description, null, url, new AddRouteCallback());

        labelResult.setText(RouteConverter.getBundle().getString("add-route-by-url-success"));
        pack();
        dispose();
    }
View Full Code Here

    }

    public void undo() throws CannotUndoException {
        super.undo();
        for (int i = 0; i < categories.size(); i++) {
            catalogModel.addRoute(categories.get(i), descriptions.get(i), toFile(files.get(i)), urls.get(i), new AddRouteCallback(), false);
        }
    }
View Full Code Here

TOP

Related Classes of slash.navigation.converter.gui.models.AddRouteCallback

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.