String defaultID = null;
// Does the item provide its own menu?
if (selObj instanceof ACSInfoProvider) {
ACSInfoProvider ip = (ACSInfoProvider) selObj;
menuStr = ip.getMenuString();
defaultID = ip.getDefaultActionID();
} else {
// Get the menu from the prop file.
menuStr = getContext().getResources().getStringArray(
ElementNavigator.class, defaultID);
}