Package com.apress.progwt.client.college.gui

Examples of com.apress.progwt.client.college.gui.ProcessLabel


     */
    public void onPreviewDragEnd(DragEndEvent event)
            throws VetoDragException {
        Log.info("Drag End: " + event.getSource());
        if (event.getSource() instanceof ProcessLabel) {
            ProcessLabel lab = (ProcessLabel) event.getSource();
            int x = event.getContext().mouseX;
            Date date = timeline.getDateFromGUIX(x);

            controller.addProcess(lab.getProcessType(), date);
        }

        throw new VetoDragException();
    }
View Full Code Here

TOP

Related Classes of com.apress.progwt.client.college.gui.ProcessLabel

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.