Topic
  • 1 reply
  • Latest Post - ‏2012-08-16T17:25:08Z by akkina9
gb12345
gb12345
34 Posts

Pinned topic Programmatically working with Property Groups

‏2012-08-16T09:40:30Z |
Hello,
we are developing plugins for RDz. Currently we are using RDz 8.5.
I have the following question:
Is it possibly to load programmatically in a plugin a property group file (XML) into RDz (Property Group Manager) and to associate this property group to mainframe resource files in the workspace?
When yes, could you provide an example how to do this.

Thanks

Georg
Updated on 2012-08-16T17:25:08Z at 2012-08-16T17:25:08Z by akkina9
  • akkina9
    akkina9
    124 Posts

    Re: Programmatically working with Property Groups

    ‏2012-08-16T17:25:08Z  
    Hi Georg,

    You should be able to get the list of existing property groups and associate the property group to a mainframe resource file that is represented by a Physical resource (in Remote Systems view) or Logical resource (in z/OS Projects view). The following API should help you..

    http://pic.dhe.ibm.com/infocenter/ratdevz/v8r5/topic/com.ibm.ftt.api.resource.doc/javadoc/reference/api/com/ibm/ftt/properties/zos/ZOSPropertyGroupContainer.html

    http://pic.dhe.ibm.com/infocenter/ratdevz/v8r5/topic/com.ibm.ftt.api.resource.doc/javadoc/reference/api/com/ibm/ftt/resources/core/physical/IPhysicalResource.html

    http://pic.dhe.ibm.com/infocenter/ratdevz/v8r5/topic/com.ibm.ftt.api.resource.doc/javadoc/reference/api/com/ibm/ftt/projects/core/logical/ILogicalResource.html

    Good luck.