How to rename the window actions OK button name for particular editor screen.

In window actions we have Ok and Cancel buttons. Now I need to show ‘Test’ instead of ‘Ok’ in particular editor screen.
Can any one say me how to do that.

Thanks !!

In order to rename the buttons from the ‘windowActions’ frame, inject the particular button and set the caption for it using the init() method.

    private Button windowCommit;

    public void init(Map<String, Object> params) {
1 Like