IBM Support

PM57950: Rational Developer for System z (RDz) Endevor API provided by RDz is not hiding actions when programmed in plugin

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The customer written plugin that uses the Rational Developer for
    System z (RDz) Endevor/CARMA API is not hiding all the Actions
    from all Menu dialog contexts.
    
    The customer is using the following example to code their
    plugin:
     public void start(BundleContext context) throws Exception {
    
      super.start(context);
    
      plugin = this;
    
    
    
      RAMActionRegistry myRegistry =
    RAMActionRegistry.getRegistry();
    
    myRegistry.setUniqueRAMActionState('COM.IBM.CARMA.ENDEVORRAM','1
    06',
    RAMActionState.HIDDEN);
    
    
    myRegistry.setUniqueRAMActionState('COM.IBM.CARMA.ENDEVORRAM','1
    07',
     RAMActionState.HIDDEN);
    
    
    myRegistry.setUniqueRAMActionState('COM.IBM.CARMA.ENDEVORRAM','1
    08',
     RAMActionState.HIDDEN);
    
      }
    
    
    
       /*
    
        actionId='106' name='Define Package'
    
        actionId='107' name='Delete Package'
    
        actionId='108' name='Execute Package'
    
        actionId='109' name='Submit Package'
    
        actionId='110' name='Commit Package'
    
        actionId='111' name='Reset Package'
    
        actionId='112' name='Backin Package'
    
        actionId='113' name='Backout Package'
    
        actionId='114' name='Approve Package'
    
       actionId='115' name='Deny Package'
       actionId='116' name='Cast Package'
       actionId='117' name='Generate Element'
       actionId='119' name='Move Element'
       actionId='120' name='Signin Element'
      */
    
    These should hide these Actions from all instances of opening
    the Menu, but it is only hiding these actions when the dialog is
    opened from the CARMA repository view.
    If the dialog is opened from the zOS project view the elements
    are not hidden.
    If the dialog is opened while editing a member then the elements
    are not hidden.
    

Local fix

Problem summary

  • CARMA was not properly disabling actions custom in the editor.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM57950

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    803

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-10

  • Closed date

    2012-03-29

  • Last modified date

    2012-03-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R803 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 8.0.3

Reference #: PM57950

Modified date: 29 March 2012