Package org.locationtech.udig.project

Examples of org.locationtech.udig.project.BlackboardEvent


        }
        Object oldValue = entry.getObject();
        entry.setMemento(null);
        entry.setObject(null);

        BlackboardEvent event = new BlackboardEvent(this, key, oldValue, null);
        for (IBlackboardListener l : listeners) {
            try {
                l.blackBoardChanged(event);
            } catch (Exception e) {
                ProjectPlugin.log("", e); //$NON-NLS-1$
View Full Code Here


                ProjectPlugin.getPlugin().getLog().log(status);
            } else {
                ProjectPlugin.log("error loading persister", e); //$NON-NLS-1$
            }
        }
        BlackboardEvent event = new BlackboardEvent(this, key, oldValue, value);
        for (IBlackboardListener l : listeners) {
            try {
                l.blackBoardChanged(event);
            } catch (Exception e) {
                ProjectPlugin.log("", e); //$NON-NLS-1$
View Full Code Here

            writer.close();
        } catch (IOException e) {
            e.printStackTrace();
        }

        BlackboardEvent event = new BlackboardEvent(this, styleId, oldValue, style);
        for (IBlackboardListener l : listeners) {
            try {
                l.blackBoardChanged(event);
            } catch (Exception e) {
                ProjectPlugin.log("", e); //$NON-NLS-1$
View Full Code Here

    /**
     * @see org.locationtech.udig.project.IBlackboard#put(java.lang.String, java.lang.Object)
     */
    public void put( String key, Object value ) {
        Object oldValue = map.put(key, value);
        BlackboardEvent event=new BlackboardEvent(this, key, oldValue, value);
        for( IBlackboardListener l : listeners ) {
            try{
            l.blackBoardChanged(event);
            } catch (Exception e) {
                ProjectPlugin.log("", e); //$NON-NLS-1$
View Full Code Here

            }
        }
    }
    public Object remove( String key ) {
        Object oldValue = map.remove(key);
        BlackboardEvent event=new BlackboardEvent(this, key, oldValue, null);
        for( IBlackboardListener l : listeners ) {
            try{
            l.blackBoardChanged(event);
            } catch (Exception e) {
                ProjectPlugin.log("", e); //$NON-NLS-1$
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.BlackboardEvent

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.