IBM Support

PI12780: Using PluginMethodToRunOnApply property with customized toolbar return unexpected selected element

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • PluginMethodToRunOnApply property. This returns the expected
    value when applying a stereotype to an element, but if the new
    term stereotype is added to the diagram toolbar, when adding the
    new term to a diagram it returns the diagram instead of the
    element to which it the stereotype is applied.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Fixed by adding a new property named
    Model::Stereotype::PluginMethodToRunOnApplyWithGUID that
    points to a method in the plugin that gets a String. The
    String contains the GUID of the element that got the
    Stereotype. The user can find the element itself by using
    the findElementByGUID method on the IRPProject.
    It is recommended to use this new property instead of the
    old Model::Stereotype::PluginMethodToRunOnApply property.
    

Problem conclusion

  • Fixed in 8.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI12780

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-28

  • Closed date

    2014-06-02

  • Last modified date

    2014-06-02

  • 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

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R800 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 June 2014