×
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.
The ISystemResourceChangeEvents.EVENT_REFRESH_SELECTED event only
refreshes the selected objects in the Remote Systems view (it ignores the
source passed into the event constructor). Given your clarification
posting, is there any chance that the object is being deselected after the
first refresh?
If you are just updating properties of a model object then you could try
using the ISystemResourceChangeEvent.EVENT_PROPERTY_CHANGEevent type
instead. That's the event type we use when you change a member type in
the member properties dialog.
For the open source RSE, yes we will all have a bit of porting work to do
(use included; the team here that works on the iSeries specific pieces of
the RSE that go into WDSC). We'll work on a porting guide as we go
through it first :) FWIW, the SystemView class is where the event logic
is handled (systemResourceChanged method). You should be able to take a
look at the open source version; I don't think it will be much different
than our older internal version. However, you won't be able to use it for
debugging since the package names have changed.
Don Yantzi
Technical Lead
WebSphere Development Studio Client for iSeries
IBM Toronto Lab
David Gibbs <david@xxxxxxxxxxxx>
Sent by: wdsc-plugin-dev-bounces@xxxxxxxxxxxx
09/11/2007 09:46 AM
Please respond to
WDSC Plugin Developers <wdsc-plugin-dev@xxxxxxxxxxxx>
To
wdsc-plugin-dev@xxxxxxxxxxxx
cc
Subject
[Wdsc-Plugin-Dev] Subsystem node refresh
Ok, I'll kick this forum of with a problem I'm encountering now.
I'm writing a subsystem for my plug-in.
I've got a property page (extends SystemBasePropertyPage) that allows
the user to update data ... when the fields are updated, and the user
clicks apply, my page performs an update on the host (via rmi to a
server & PCML calls to the host). This works fine.
When the update is complete ... I want to update RSE tree node
associated with my resource in my subsystem.
To do this, I try to refresh the resources parent resource ... I do this
by invoking the following code within the parent resources class :
The parent resource extends AbstractResource and implements
ISystemContainer.
The problem is ... sometimes this forced refresh works ... sometimes it
does nothing.
After the forced refresh does nothing, if I cancel out of the property
page and select refresh on the parent node in the RSE tree, the node
updates fine.
Any suggestions?
david
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.