Examples of IConfigSelectionListener


Examples of fr.soleil.salsa.bean.IConfigSelectionListener

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

                    combo.addConfigSelectionListener(new IConfigSelectionListener() {

                        @Override
                        public void configPathChanged(String configPath) {
                            bean.setConfigPath(configPath);
                        }
View Full Code Here

Examples of fr.soleil.salsa.bean.IConfigSelectionListener

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

                    combo.addConfigSelectionListener(new IConfigSelectionListener() {

                        @Override
                        public void configPathChanged(String configPath) {
                            bean.setConfigPath(configPath);
                        }
View Full Code Here

Examples of fr.soleil.salsa.bean.IConfigSelectionListener

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

                    combo.addConfigSelectionListener(new IConfigSelectionListener() {

                        @Override
                        public void configPathChanged(String configPath) {
                            bean.setConfigPath(configPath);
                        }
View Full Code Here

Examples of fr.soleil.salsa.bean.IConfigSelectionListener

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

                    combo.addConfigSelectionListener(new IConfigSelectionListener() {

                        @Override
                        public void configPathChanged(String configPath) {
                            bean.setConfigPath(configPath);
                        }
View Full Code Here

Examples of fr.soleil.salsa.bean.IConfigSelectionListener

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

                    combo.addConfigSelectionListener(new IConfigSelectionListener() {

                        @Override
                        public void configPathChanged(String configPath) {
                            bean.setConfigPath(configPath);
                        }
View Full Code Here

Examples of fr.soleil.salsa.configuration.listener.IConfigSelectionListener

        if (listeners != null) {
            synchronized (listeners) {
                boolean canAdd = true;
                List<WeakReference<IConfigSelectionListener>> toRemove = new ArrayList<WeakReference<IConfigSelectionListener>>();
                for (WeakReference<IConfigSelectionListener> ref : listeners) {
                    IConfigSelectionListener temp = ref.get();
                    if (temp == null) {
                        toRemove.add(ref);
                    } else if (temp.equals(listener)) {
                        canAdd = false;
                    }
                }
                listeners.removeAll(toRemove);
                toRemove.clear();
View Full Code Here

Examples of fr.soleil.salsa.configuration.listener.IConfigSelectionListener

    public void removeConfigSelectionListener(IConfigSelectionListener listener) {
        if (listeners != null) {
            synchronized (listeners) {
                List<WeakReference<IConfigSelectionListener>> toRemove = new ArrayList<WeakReference<IConfigSelectionListener>>();
                for (WeakReference<IConfigSelectionListener> ref : listeners) {
                    IConfigSelectionListener temp = ref.get();
                    if ((temp == null) || temp.equals(listener)) {
                        toRemove.add(ref);
                    }
                }
                listeners.removeAll(toRemove);
                toRemove.clear();
View Full Code Here

Examples of fr.soleil.salsa.configuration.listener.IConfigSelectionListener

            (new Thread() {
                @Override
                public void run() {
                    try {
                        for (WeakReference<IConfigSelectionListener> ref : listeners) {
                            IConfigSelectionListener listener = ref.get();
                            if (listener != null) {
                                listener.configSelectionChanged(currentConfig);
                            }
                        }
                    }
                    // Concurrent modification
                    catch (Exception e) {
View Full Code Here

Examples of fr.soleil.salsa.configuration.listener.IConfigSelectionListener

        if (listeners != null) {
            synchronized (listeners) {
                boolean canAdd = true;
                List<WeakReference<IConfigSelectionListener>> toRemove = new ArrayList<WeakReference<IConfigSelectionListener>>();
                for (WeakReference<IConfigSelectionListener> ref : listeners) {
                    IConfigSelectionListener temp = ref.get();
                    if (temp == null) {
                        toRemove.add(ref);
                    }
                    else if (temp.equals(listener)) {
                        canAdd = false;
                    }
                }
                listeners.removeAll(toRemove);
                toRemove.clear();
View Full Code Here

Examples of fr.soleil.salsa.configuration.listener.IConfigSelectionListener

    public void removeConfigSelectionListener(IConfigSelectionListener listener) {
        if (listeners != null) {
            synchronized (listeners) {
                List<WeakReference<IConfigSelectionListener>> toRemove = new ArrayList<WeakReference<IConfigSelectionListener>>();
                for (WeakReference<IConfigSelectionListener> ref : listeners) {
                    IConfigSelectionListener temp = ref.get();
                    if ((temp == null) || temp.equals(listener)) {
                        toRemove.add(ref);
                    }
                }
                listeners.removeAll(toRemove);
                toRemove.clear();
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.