132133134135136137138139140141142
builder.setText(dom); builder.endText(); builder.endLabel(); builder.endMenuItem(); builder.endMenu(); return builder.getCompletedMenuModel(); } catch (MissingResourceException e) {
225226227228229230231232233234235
builder.setText(buffer); builder.endText(); builder.endLabel(); builder.endMenuItem(); // Create the second menu item explicitly targeted at a different pane. builder.startMenuItem(); // Set the style.
252253254255256257258259260261262
builder.setText(buffer); builder.endText(); builder.endLabel(); builder.endMenuItem(); builder.endMenu(); Menu menu = builder.getCompletedMenuModel();
432433434435436437438439440441442
imageComponent)); builder.endIcon(); builder.endLabel(); builder.endMenuItem(); builder.endMenu(); return builder.getCompletedMenuModel(); }
181182183184185186187188189190191
builder.setText(buffer); builder.endText(); builder.endLabel(); builder.setHref(new LiteralLinkAssetReference("href.xml")); builder.endMenuItem(); builder.endMenu(); return builder.getCompletedMenuModel(); }
270271272273274275276277278279280
builder.setText(buffer); builder.endText(); builder.endLabel(); builder.setHref(new LiteralLinkAssetReference("href.xml")); builder.endMenuItem(); builder.endMenuGroup(); builder.endMenu(); return builder.getCompletedMenuModel(); }