[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-tm-dev] Registering filters programmatically

Thanks, that did the trick.
 
Useful docs by the way!
 
/Tobias


From: dsdp-tm-dev-bounces@xxxxxxxxxxx [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of Oberhuber, Martin
Sent: den 30 juni 2008 14:48
To: Target Management developer discussions
Subject: RE: [dsdp-tm-dev] Registering filters programmatically

Hello Tobias,
 
Use SubSystemConfiguration#createDefaultFilterPool().
See the Docs, and the Tutorial for this ("Developer Subsystem"):
 
http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.doc.isv/guide/tutorial/subsystem.html
  "The default filter All teams exists because we wrote code to create it in our createDefaultFilterPool method..."
 
http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.doc.isv/reference/api/org/eclipse/rse/core/subsystems/SubSystemConfiguration.html#createDefaultFilterPool(org.eclipse.rse.core.filters.ISystemFilterPoolManager)
 
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
 


From: dsdp-tm-dev-bounces@xxxxxxxxxxx [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of Tobias Södergren XT
Sent: Monday, June 30, 2008 2:38 PM
To: dsdp-tm-dev@xxxxxxxxxxx
Subject: [dsdp-tm-dev] Registering filters programmatically

Hi there,
 
What is the best way to pre-define filters for when listing sub systems in the Remote Systems view?
 
We have implemented a sub system which talks to a server which keeps track of connected devices.
In the Remote Systems view, when the user creates a new connection to the server, we would like
to pre-define (programmatically) a filter which lists all devices on the server.
 
As it is now, nothing is displayed until a filter is created manually by right-clicking on the filter pool.
 
Regards,
Tobias Sodergren