/******************************************************************************* * Copyright (c) 2010 BestSolution.at 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: * Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation ******************************************************************************/ package org.eclipse.e4.tools.emf.ui.internal.common.component.dialogs; import org.eclipse.core.resources.IProject; import org.eclipse.e4.tools.emf.ui.internal.Messages; import org.eclipse.e4.ui.model.application.ui.basic.MWindow; import org.eclipse.e4.ui.model.application.ui.impl.UiPackageImpl; import org.eclipse.emf.edit.domain.EditingDomain; import org.eclipse.swt.widgets.Shell; public class WindowIconDialogEditor extends AbstractIconDialog { public WindowIconDialogEditor(Shell parentShell, IProject project, EditingDomain editingDomain, MWindow element, Messages Messages) { super(parentShell, project, editingDomain, element, UiPackageImpl.Literals.UI_LABEL__ICON_URI, Messages); } @Override protected String getShellTitle() { return Messages.WindowIconDialogEditor_ShellTitle; } @Override protected String getDialogTitle() { return Messages.WindowIconDialogEditor_DialogTitle; } @Override protected String getDialogMessage() { return Messages.WindowIconDialogEditor_DialogMessage; } }