Package org.apache.tools.ant.gui.event

Examples of org.apache.tools.ant.gui.event.ProjectSelectedEvent


            ACSProjectElement[] open =
                getContext().getProjectManager().getOpen();
            if(open != null && open.length > 0) {
                getContext().getEventBus().postEvent(
                    new ProjectSelectedEvent(getContext(), open[0]));
            }
        }
    }
View Full Code Here


                _tree.updateUI();
           }
            else {
                ACSProjectElement project = null;
                if(event instanceof ProjectSelectedEvent) {
                    ProjectSelectedEvent e = (ProjectSelectedEvent) event;
                    project = e.getSelectedProject();
                }
               
                if(project == null) {
                    // The project has been closed.
                    // XXX this needs to be tested against
View Full Code Here

                ACSProjectElement[] open =
                    _context.getProjectManager().getOpen();
                if(open != null && open.length > 0) {
                    _context.getEventBus().postEvent(
                        new ProjectSelectedEvent(_context, open[0]));
                }
            } catch (IOException e) {
                e.printStackTrace();
                okToClose = false;
                break;
View Full Code Here

                ACSProjectElement[] open =
                    getContext().getProjectManager().getOpen();
                if(open != null && open.length > 0) {
                    getContext().getEventBus().postEvent(
                        new ProjectSelectedEvent(getContext(), open[0]));
                }
            }
        } catch (java.io.IOException e) {
            e.printStackTrace();
        }
View Full Code Here

TOP

Related Classes of org.apache.tools.ant.gui.event.ProjectSelectedEvent

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.