Module: nagvis
Branch: master
Commit: bef1145de1295a9ddfcaba5e46aedfb4bd15b884
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=bef1145de1295a9ddfcaba5e46aedfb4bd15b884

Author: Andriy Skuratov <[email protected]>
Date:   Thu Aug 20 13:07:34 2009 +0300

gmap: Remove the selection if the selected object is deleted.

---

 uifx/src/modules/gmap/mate/LinksEM.mxml     |    1 +
 uifx/src/modules/gmap/mate/LocationsEM.mxml |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/uifx/src/modules/gmap/mate/LinksEM.mxml 
b/uifx/src/modules/gmap/mate/LinksEM.mxml
index f11795e..621356f 100644
--- a/uifx/src/modules/gmap/mate/LinksEM.mxml
+++ b/uifx/src/modules/gmap/mate/LinksEM.mxml
@@ -65,6 +65,7 @@
                <RemoteObjectInvoker instance="{LinksService}" method="remove" 
arguments="{[event.link.id1, event.link.id2]}">
                        <resultHandlers>
                                <MethodInvoker generator="{LinksData}" 
method="removeItemByIds" arguments="{[event.link.id1, event.link.id2]}"/>
+                               <EventAnnouncer generator="{LinkEvent}" 
constructorArguments="{LinkEvent.SELECTED}" />
                        </resultHandlers>
                </RemoteObjectInvoker>
        </EventHandlers>
diff --git a/uifx/src/modules/gmap/mate/LocationsEM.mxml 
b/uifx/src/modules/gmap/mate/LocationsEM.mxml
index 9aca113..9353fe1 100644
--- a/uifx/src/modules/gmap/mate/LocationsEM.mxml
+++ b/uifx/src/modules/gmap/mate/LocationsEM.mxml
@@ -79,6 +79,7 @@
                <RemoteObjectInvoker instance="{LocationsService}" 
method="remove" arguments="{event.location.id}">
                        <resultHandlers>
                                <MethodInvoker generator="{LocationsData}" 
method="removeItemById" arguments="{resultObject}"/>
+                               <EventAnnouncer generator="{LocationEvent}" 
constructorArguments="{LocationEvent.SELECTED}" />
                        </resultHandlers>
                </RemoteObjectInvoker>
        </EventHandlers>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to