[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui/actions CreateSurfaceActionListener.java,
Status: Pre-Alpha
Brought to you by:
henryml
From: Jesper P. <je...@us...> - 2005-07-01 11:29:08
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/actions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5972 Modified Files: CreateSurfaceActionListener.java Log Message: Send notification when creating Index: CreateSurfaceActionListener.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/actions/CreateSurfaceActionListener.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** CreateSurfaceActionListener.java 27 Jun 2005 09:32:23 -0000 1.1.1.1 --- CreateSurfaceActionListener.java 1 Jul 2005 11:29:00 -0000 1.2 *************** *** 7,10 **** --- 7,12 ---- package net.sourceforge.bprocessor.gui.actions; + import net.sourceforge.bprocessor.kernel.notification.Notification; + import net.sourceforge.bprocessor.kernel.notification.Notifier; import net.sourceforge.bprocessor.gui.GUI; import net.sourceforge.bprocessor.model.Surface; *************** *** 48,51 **** --- 50,56 ---- sf.add(s); + + Notification n = new Notification(Notification.SURFACE_CREATED, s.getId()); + Notifier.getInstance().sendNotification(n); } } |