× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Don,

the problem is, that the view "Remote Systems Details", witch will
not be automaticly refreshed after the deletion of a resource is
not developed by me. It`s an IBM supplied view. I have tried it
with fireRemoteResourceChangeEvent but the result was still the
same. Could it be, that the view "Remote Systems Details" has not
implemented a listener for the event SYSTEM_REMOTE_RESOURCE_DELETED?

Frank



-----Ursprungliche Nachricht-----
Von: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx]Im Auftrag von Don Yantzi
Gesendet: Montag, 15. Januar 2007 19:18
An: Websphere Development Studio Client for iSeries
Betreff: Re: [WDSCI-L] Problems with the view "Details for remote
systems"


Hi Frank,

In order to have other views notified of the deletion, you need to make
sure the same underlying model object (actual object instance) is being
displayed in both views, and you will need to broadcast an event via the
SystemRegistry.

The interface for this is in com.ibm.etools.systems.model.SystemRegistry.
Here is an example call to send a resource deleted event.

SystemRegistryImpl.getSystemRegistry().fireRemoteResourceChangeEvent(
                ISystemRemoteChangeEvents.SYSTEM_REMOTE_RESOURCE_DELETED,
            modelElement,
                modelElementParent,
                subsystem,
                null,
                null);

The Javadocs for the SystemRegistry interface are in the online help. This
code is part of the core RSE that is now open source (
http://www.eclipse.org/dsdp/tm/ ) so you can also look at the
implementation if you want (you could also use the adapter implementation
for things like local folders / files as a reference too).  Note:  this
code has been refactored and the package names have changed when it went
open source.  The RSE included in WDSC 6.0 and 7.0 is still based on the
IBM internal version of the RSE.  In the future we will move over on top
of this open source RSE code base.

Don Yantzi
Technical Lead
WebSphere Development Studio Client for iSeries
IBM Toronto Lab





<frank.hildebrandt@xxxxxxxxxxxxxxx>
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
01/12/2007 11:08 AM
Please respond to
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>


To
<wdsci-l@xxxxxxxxxxxx>
cc

Subject
[WDSCI-L] Problems with the view "Details for remote systems"






Hello together,

i have the following problem. I have created a subsystem factory for the
remote system explorer. In the tree viewer of the RSE my subsystem factory
appears correctly with all the definied filters and resources.
When i open the popup menu in the RSE for a filter of my subsystem and
select
the menu item "Show in table" then the view "Details for remote systems"
will be opened and all resources of the filter will be display in the
table
viewer
of the view "Details for remore systems". Now i want be able to delete a
resource. Therefore i have extended the class AbstractSystemViewAdapter
and override the methods showDelete, canDelete and doDelete. When
i now right click the mouse on a resource of my subsystem factory in the
RSE tree viewer or the "Details for remote systems" table viewer the
popup menu appears with the enabled menu item "Delete". When i now
select the "Delete" menu item the resource will be deleted. To this point
everything is working fine. The problem is. After deleting a resource only
the RSE tree viewer will be refreshed immediately. The "Details for remote
systems"
table viewer will not be refreshed after deleting a resource. When i click
the refresh button in the menu bar of the 'Details for remote systems"
then the view will be refreshed and the deleted resources disappear. What
i want is the following. When i delete a resource the table viewer
"Details for remote systems" shall also be immediately refreshed in
the way it works with the RSE tree viewer. How can i do this?

Thanks in advance.

Frank Hildebrandt


--
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

--
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.