CDE: Show Inherited Methods

Using Processor Expert components makes my development faster and easier. And when I have a useful piece of software I want to distribute or use in another project, I transform it into a Processor Expert component. But recently I noticed a strange thing with my components: the inherited components did not show the methods and events?

I have created a new component with the Component Wizard and inherited from the FreeCntr component. But there was no icon to unfold that inherited component to see its methods and events:

Inherited Component without Unfold Icon

Inherited Component without Unfold Icon

I know that this is possible, as other components indeed can show this. After some research and asking around, I have found the solution to enable unfolding:

Inherited Component showing Unfold Icon

Inherited Component showing Unfold Icon

The trick is to open the .bean file and to find following part in it:

<ShowInheritedMethodsEventsInPrjTree>false</ShowInheritedMethodsEventsInPrjTree>

Then change the value from false to true:

<ShowInheritedMethodsEventsInPrjTree>true</ShowInheritedMethodsEventsInPrjTree>

This does the magic and allows me to show the methods (and events, if there are any):

Inherited component showing methods and events

Inherited component showing methods and events

Happy Inheriting 🙂

Advertisements

2 thoughts on “CDE: Show Inherited Methods

  1. Pingback: CDE: Inherited Component Base Name | MCU on Eclipse

  2. Pingback: CDE: Inherited Component Base Name | MCU on Eclipse

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s