/******************************************************************************* * Copyright (c) 2004, 2010 BREDEX GmbH. * 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: * BREDEX GmbH - initial API and implementation and/or initial documentation *******************************************************************************/ package org.eclipse.jubula.client.ui.rcp.dialogs; import org.eclipse.jubula.client.ui.constants.IconConstants; import org.eclipse.jubula.client.ui.rcp.i18n.Messages; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Shell; /** * @author BREDEX GmbH * @created Jun 24, 2009 */ public class RenameLogicalCompNameDialog extends EnterLogicalCompNameDialog { /** * @param parentShell see EnterLogicalCompNameDialog * @param oldName the original name being used */ public RenameLogicalCompNameDialog(Shell parentShell, String oldName) { super(parentShell, oldName); } /** * {@inheritDoc} */ protected Control createDialogArea(Composite parent) { setTitle(Messages.RenameLogicalNameDialogTitle); setTitleImage(IconConstants.RENAME_COMPONENT_DIALOG_IMAGE); setMessage(Messages.RenameLogicalNameDialogMessage); getShell().setText(Messages.RenameLogicalNameDialogTitle); return super.createDialogArea(parent); } }