Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368065

Summary: Detect titleborder property of a component for Localization
Product: z_Archived Reporter: Alessio Pollero <alessio.pollero>
Component: WindowBuilderAssignee: Konstantin Scheglov <Konstantin.Scheglov>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: alessio.pollero, clayberg
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Alessio Pollero CLA 2012-01-06 17:29:29 EST
Build Identifier: Version: 3.7.1 Build id: M20110909-1335

I use WindowBuilder to design java swing application, i found extremely useful the localization and string externalization buit in feature.

I noticed that the Externalize Strings Dialog does not propose as a property for externalization the TitleBorder Text Property : 

textFieldName.setBorder(BorderFactory.createTitledBorder("A Border Title")); 

Now, i have to put by hand the Localization Key :

textFieldName.setBorder(BorderFactory.createTitledBorder(Messages.getString("MyExtKey.name"))); //$NON-NLS-1$

If the Externalize Strings dialog could detect this kind of properties would be nice :) .

Reproducible: Always
Comment 1 Konstantin Scheglov CLA 2012-01-20 16:19:30 EST
Fixed in trunk.
Comment 2 Eric Clayberg CLA 2012-01-23 15:24:12 EST
Fixed