コード例 #1
0
 private void initAreaView(
     String labelResourceKey,
     ITextualDescription textualDescription,
     TextualPresentation presentation) {
   ITextView textView = descriptionView.addAreaView(resources.getString(labelResourceKey), 6);
   presentation.initView(textView, textualDescription);
 }
コード例 #2
0
 private void addField(
     IMultiComponentLine componentLine,
     String label,
     ITextualDescription description,
     TextualPresentation presentation) {
   String labelText = resources.getString(label);
   ITextView textView = componentLine.addFieldsView(labelText);
   presentation.initView(textView, description);
 }