Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352548 - A better way to get the User Region Name
Summary: A better way to get the User Region Name
Status: NEW
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-20 05:01 EDT by Hristo Iliev CLA
Modified: 2012-06-28 05:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hristo Iliev CLA 2011-07-20 05:01:47 EDT
I noticed that the name of the user region is found all over Virgo's code. One approach would be to use a global constant.

As Glyn suggested: "If we implement multiple user regions in a future release, we'll need a better approach than a global constant. If the code that needs the name of the user region is running in the user region, it would be better for it to determine  the name of the region containing the "current" bundle."