SuperClassComponentProvider.java 文件源码

java
阅读 22 收藏 0 点赞 0 评论 0

项目:n4js 作者:
/**
 * Creates a new super class component using the given model and container.
 *
 * @param model
 *            The model to bind this to
 * @param container
 *            The parent WizardComponentContainer
 */
public SuperClassComponent(N4JSClassWizardModel model, WizardComponentContainer container) {
    super(container);
    this.model = model;

    Label superClassLabel = new Label(container.getComposite(), SWT.NONE);
    superClassLabel.setText("Super class:");

    text = new Text(container.getComposite(), SWT.BORDER);
    text.setLayoutData(fillTextDefaults());

    browseButton = new Button(container.getComposite(), SWT.NONE);
    browseButton.setToolTipText("Opens a dialog to choose the super class");
    browseButton.setText("Browse...");

    setupBindings();
    setupDialog();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号