cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Please Help with quick java code and annotation for Windchill

sdakkach
1-Newbie

Please Help with quick java code and annotation for Windchill

What can the following code be used to do?


public class trainingResource extends WTListResourceBundle{
    @RBEntry("hello, {0}!!!")
    @RBComment("Bundle \"hello world\" example")
    @RBArgComment0("a noun")
    public static final  String HELLO="0";
}

can it Define a new localized value or is it missing the @RBUUID annotation on the class?

2 REPLIES 2
BhushanNehe
14-Alexandrite
(To:sdakkach)

Hi Serge,

Yes, you need to have the @RBUUID Annotation, the same value can be used in your action model files to refer to the resource files. For most of the OOTB resource file, you can find the source files in the Windchill installation directory.

e.g. <WT_HOME>\src\com\ptc\core\ui\navigationRB.java

Regards,

Bhushan

LoriSood
22-Sapphire II
(To:sdakkach)

Serge, did Bushan's explanation answer your question? If so, could you please mark the thread as answered so that others may easily know that the thread has a solution?

Top Tags