ComparePendingChangeWithWorkspaceVersionAction.java 文件源码

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

项目:team-explorer-everywhere 作者:
public ComparePendingChangeWithWorkspaceVersionAction(
    final ISelectionProvider selectionProvider,
    final TFSRepository repository,
    final CompareUIType compareUIType,
    final Shell shell) {
    super(selectionProvider, repository);

    Check.notNull(compareUIType, "compareUIType"); //$NON-NLS-1$
    Check.notNull(shell, "shell"); //$NON-NLS-1$

    this.compareUIType = compareUIType;
    this.shell = shell;

    setImageDescriptor(TFSCommonUIImages.getImageDescriptor(TFSCommonUIImages.IMG_COMPARE));

    if (repository != null) {
        setRepository(repository);
    } else {
        setText(Messages.getString("ComparePendingChangeWithWorkspaceVersionAction.ActionText")); //$NON-NLS-1$
        setToolTipText(Messages.getString("ComparePendingChangeWithWorkspaceVersionAction.ActionTooltip")); //$NON-NLS-1$
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号