blob: ee8bb3551f4833b761be4620d08dfc3dd28cd316 [file] [log] [blame]
/*
* Copyright (c) 2015 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eike Stepper - initial API and implementation
*/
package org.eclipse.emf.cdo.internal.ui.dialogs;
import org.eclipse.emf.cdo.common.branch.CDOBranchPoint;
import org.eclipse.emf.cdo.ui.shared.SharedIcons;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
/**
* @author Eike Stepper
*/
public class SelectBranchDialog extends AbstractBranchPointDialog
{
public static final String TITLE = "Select Branch Point";
public SelectBranchDialog(Shell parentShell, CDOBranchPoint branchPoint)
{
super(parentShell, false, branchPoint);
}
@Override
protected Control createDialogArea(Composite parent)
{
getShell().setText(TITLE);
setTitle(TITLE);
setTitleImage(SharedIcons.getImage(SharedIcons.WIZBAN_BRANCH_SELECTION));
setMessage("Select a branch.");
return super.createDialogArea(parent);
}
}