blob: 939ac8e1089451e9e482f94aa3f7b074770b1af7 [file] [log] [blame]
/*
* Copyright (c) 2011, 2012, 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 SelectBranchPointDialog extends AbstractBranchPointDialog
{
public static final String TITLE = "Select Branch Point";
public SelectBranchPointDialog(Shell parentShell, CDOBranchPoint branchPoint)
{
super(parentShell, true, branchPoint);
}
@Override
protected Control createDialogArea(Composite parent)
{
getShell().setText(TITLE);
setTitle(TITLE);
setTitleImage(SharedIcons.getImage(SharedIcons.WIZBAN_BRANCH_POINT_SELECTION));
setMessage("Select a branch and a point in time.");
return super.createDialogArea(parent);
}
}