Examples of SalsaTrajectoryBean


Examples of fr.soleil.salsa.bean.SalsaTrajectoryBean

            if (roMode) {
                splash.setMessage("Build Salsa read only panel");
                splash.progress(40);
                JPanel panel = new JPanel();
                panel.setLayout(new BorderLayout());
                final SalsaTrajectoryBean bean = new SalsaTrajectoryBean();
                panel.add(bean, BorderLayout.CENTER);

                if ((salsaExecute != null) && !salsaExecute.isEmpty()) {
                    JButton showResult = new JButton("Scan result");
                    showResult.setToolTipText("show current scan result");
                    showResult.addActionListener(new ActionListener() {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            salsaResult.execute();
                        }
                    });
                    panel.add(showResult, BorderLayout.SOUTH);
                }

                // display configuration combo
                if ((configName == null) || configName.isEmpty()) {
                    splash.setMessage("Create Bookmarks combo");
                    splash.progress(50);
                    BookmarksBean combo = new BookmarksBean();
                    panel.add(combo, BorderLayout.NORTH);

                    if ((bookmark != null) && !bookmark.isEmpty()) {
                        combo.setBookmark(bookmark);
                        combo.setBookmaksComboVisible(false);
                    }

                    combo.addConfigSelectionListener(new IConfigSelectionListener() {

                        @Override
                        public void configPathChanged(String configPath) {
                            bean.setConfigPath(configPath);
                        }
                    });
                } else {
                    splash.setMessage("Set configuration " + configName);
                    splash.progress(60);
                    LOGGER.info("Load configuration {}", configName);
                    bean.setConfigPath(configName);
                }
                bean.loadConfig();
                splash.setMessage("Frame construction");
                splash.progress(80);
                StringBuilder titleBuilder = new StringBuilder("Salsa ");
                try {
                    ResourceBundle bundle = ResourceBundle.getBundle(ApplicationView.class.getPackage().getName()
View Full Code Here

Examples of fr.soleil.salsa.bean.SalsaTrajectoryBean

            if (roMode) {
                splash.setMessage("Build Salsa read only panel");
                splash.progress(40);
                JPanel panel = new JPanel();
                panel.setLayout(new BorderLayout());
                final SalsaTrajectoryBean bean = new SalsaTrajectoryBean();
                panel.add(bean, BorderLayout.CENTER);

                if (salsaExecute != null && !salsaExecute.isEmpty()) {
                    JButton showResult = new JButton("Scan result");
                    showResult.setToolTipText("show current scan result");
                    showResult.addActionListener(new ActionListener() {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            salsaResult.execute();
                        }
                    });
                    panel.add(showResult, BorderLayout.SOUTH);
                }

                // display configuration combo
                if (configName == null || configName.isEmpty()) {
                    splash.setMessage("Create Bookmarks combo");
                    splash.progress(50);
                    BookmarksBean combo = new BookmarksBean();
                    panel.add(combo, BorderLayout.NORTH);

                    if (bookmark != null && !bookmark.isEmpty()) {
                        combo.setBookmark(bookmark);
                        combo.setBookmaksComboVisible(false);
                    }

                    combo.addConfigSelectionListener(new IConfigSelectionListener() {

                        @Override
                        public void configPathChanged(String configPath) {
                            bean.setConfigPath(configPath);
                        }
                    });
                }
                else {
                    splash.setMessage("Set configuration " + configName);
                    splash.progress(60);
                    // System.out.println("configName =" + configName);
                    bean.setConfigPath(configName);
                }
                bean.loadConfig();
                splash.setMessage("Frame construction");
                splash.progress(80);
                StringBuilder titleBuilder = new StringBuilder("Salsa ");
                try {
                    ResourceBundle bundle = ResourceBundle.getBundle(ApplicationView.class
View Full Code Here

Examples of fr.soleil.salsa.bean.SalsaTrajectoryBean

            if (roMode) {
                splash.setMessage("Build Salsa read only panel");
                splash.progress(40);
                JPanel panel = new JPanel();
                panel.setLayout(new BorderLayout());
                final SalsaTrajectoryBean bean = new SalsaTrajectoryBean();
                panel.add(bean, BorderLayout.CENTER);

                if (salsaExecute != null && !salsaExecute.isEmpty()) {
                    JButton showResult = new JButton("Scan result");
                    showResult.setToolTipText("show current scan result");
                    showResult.addActionListener(new ActionListener() {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            salsaResult.execute();
                        }
                    });
                    panel.add(showResult, BorderLayout.SOUTH);
                }

                // display configuration combo
                if (configName == null || configName.isEmpty()) {
                    splash.setMessage("Create Bookmarks combo");
                    splash.progress(50);
                    BookmarksBean combo = new BookmarksBean();
                    panel.add(combo, BorderLayout.NORTH);

                    if (bookmark != null && !bookmark.isEmpty()) {
                        combo.setBookmark(bookmark);
                        combo.setBookmaksComboVisible(false);
                    }

                    combo.addConfigSelectionListener(new IConfigSelectionListener() {

                        @Override
                        public void configPathChanged(String configPath) {
                            bean.setConfigPath(configPath);
                        }
                    });
                }
                else {
                    splash.setMessage("Set configuration " + configName);
                    splash.progress(60);
                    // System.out.println("configName =" + configName);
                    bean.setConfigPath(configName);
                }
                bean.loadConfig();
                splash.setMessage("Frame construction");
                splash.progress(80);
                StringBuilder titleBuilder = new StringBuilder("Salsa ");
                try {
                    ResourceBundle bundle = ResourceBundle.getBundle(ApplicationView.class
View Full Code Here

Examples of fr.soleil.salsa.bean.SalsaTrajectoryBean

            if (roMode) {
                splash.setMessage("Build Salsa read only panel");
                splash.progress(40);
                JPanel panel = new JPanel();
                panel.setLayout(new BorderLayout());
                final SalsaTrajectoryBean bean = new SalsaTrajectoryBean();
                panel.add(bean, BorderLayout.CENTER);

                if (salsaExecute != null && !salsaExecute.isEmpty()) {
                    JButton showResult = new JButton("Scan result");
                    showResult.setToolTipText("show current scan result");
                    showResult.addActionListener(new ActionListener() {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            salsaResult.execute();
                        }
                    });
                    panel.add(showResult, BorderLayout.SOUTH);
                }

                // display configuration combo
                if (configName == null || configName.isEmpty()) {
                    splash.setMessage("Create Bookmarks combo");
                    splash.progress(50);
                    BookmarksBean combo = new BookmarksBean();
                    panel.add(combo, BorderLayout.NORTH);

                    if (bookmark != null && !bookmark.isEmpty()) {
                        combo.setBookmark(bookmark);
                        combo.setBookmaksComboVisible(false);
                    }

                    combo.addConfigSelectionListener(new IConfigSelectionListener() {

                        @Override
                        public void configPathChanged(String configPath) {
                            bean.setConfigPath(configPath);
                        }
                    });
                } else {
                    splash.setMessage("Set configuration " + configName);
                    splash.progress(60);
                    // System.out.println("configName =" + configName);
                    bean.setConfigPath(configName);
                }
                bean.loadConfig();
                splash.setMessage("Frame construction");
                splash.progress(80);
                StringBuilder titleBuilder = new StringBuilder("Salsa ");
                try {
                    ResourceBundle bundle = ResourceBundle.getBundle(ApplicationView.class.getPackage().getName()
View Full Code Here

Examples of fr.soleil.salsa.bean.SalsaTrajectoryBean

            if (roMode) {
                splash.setMessage("Build Salsa read only panel");
                splash.progress(40);
                JPanel panel = new JPanel();
                panel.setLayout(new BorderLayout());
                final SalsaTrajectoryBean bean = new SalsaTrajectoryBean();
                panel.add(bean, BorderLayout.CENTER);

                if ((salsaExecute != null) && !salsaExecute.isEmpty()) {
                    JButton showResult = new JButton("Scan result");
                    showResult.setToolTipText("show current scan result");
                    showResult.addActionListener(new ActionListener() {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            salsaResult.execute();
                        }
                    });
                    panel.add(showResult, BorderLayout.SOUTH);
                }

                // display configuration combo
                if ((configName == null) || configName.isEmpty()) {
                    splash.setMessage("Create Bookmarks combo");
                    splash.progress(50);
                    BookmarksBean combo = new BookmarksBean();
                    panel.add(combo, BorderLayout.NORTH);

                    if ((bookmark != null) && !bookmark.isEmpty()) {
                        combo.setBookmark(bookmark);
                        combo.setBookmaksComboVisible(false);
                    }

                    combo.addConfigSelectionListener(new IConfigSelectionListener() {

                        @Override
                        public void configPathChanged(String configPath) {
                            bean.setConfigPath(configPath);
                        }
                    });
                } else {
                    splash.setMessage("Set configuration " + configName);
                    splash.progress(60);
                    // System.out.println("configName =" + configName);
                    bean.setConfigPath(configName);
                }
                bean.loadConfig();
                splash.setMessage("Frame construction");
                splash.progress(80);
                StringBuilder titleBuilder = new StringBuilder("Salsa ");
                try {
                    ResourceBundle bundle = ResourceBundle.getBundle(ApplicationView.class.getPackage().getName()
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.