Skip to main content
10-Marble
February 13, 2026
Solved

Unable to fetch how to enable the Right click on Parts to show the Actions similar to Parts

  • February 13, 2026
  • 1 reply
  • 133 views

Is there an API to achieve this requirement?

On the Part Structure Tab, when we right click on a Part, we see the Actions. I want to implement the same on the Parts that are getting displayed on the my custom Tree.

Desired outcome: 

KanchanaDutta_0-1770963170244.png

The Output I am seeing : 

KanchanaDutta_1-1770963251480.png

 

Best answer by TDT

Hi @KanchanaDutta,

Please add the following logic within the buildComponentConfig method of the TreeBuilder class.

ColumnConfig rowLevelActions= var2.newColumnConfig("nmActions", false);
rowLevelActions.setActionModel("actionModel");
rowLevelActions.setHidden(true);
jcaTree.addComponent(rowLevelActions);

Note: The actionModel should include the required list of actions, which must be defined in your custom-actionModels.xml file.

1 reply

TDT16-PearlAnswer
16-Pearl
February 13, 2026

Hi @KanchanaDutta,

Please add the following logic within the buildComponentConfig method of the TreeBuilder class.

ColumnConfig rowLevelActions= var2.newColumnConfig("nmActions", false);
rowLevelActions.setActionModel("actionModel");
rowLevelActions.setHidden(true);
jcaTree.addComponent(rowLevelActions);

Note: The actionModel should include the required list of actions, which must be defined in your custom-actionModels.xml file.

10-Marble
February 13, 2026

Hi @TDT ,

Let me try this 

10-Marble
February 13, 2026

One doubt. I tried to do jcaDebug to find the Action model used in Part Structure for the Parts. It does not show me the model name. How to get this ?

KanchanaDutta_0-1770966993615.png