コード例 #1
0
 /**
  * Do binding.
  *
  * @see org.eclipse.papyrus.views.properties.widgets.AbstractPropertyEditor#doBinding()
  */
 @Override
 protected void doBinding() {
   super.doBinding();
   IStaticContentProvider provider = input.getContentProvider(propertyPath);
   if (provider != null) {
     editor.setReferenceBrowserContentProvider(provider);
   }
   if (getInputObservableValue() instanceof ICommitListener) {
     editor.addCommitListener((ICommitListener) getInputObservableValue());
   }
 }
コード例 #2
0
 @Override
 protected void doBinding() {
   super.doBinding();
   refresh();
 }