blob: 62342581dc7b704bdda9402750e4be92b65533ea [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ui.examples.views.properties.tabbed.hockeyleague.ui.properties.sections;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.ui.examples.views.properties.tabbed.hockeyleague.HockeyleaguePackage;
/**
* A section for the birth place property of a selected player Object.
*
* @author Anthony Hunter
*/
public class BirthPlacePropertySection
extends AbstractStringPropertySection {
/**
* @see org.eclipse.ui.examples.views.properties.tabbed.hockeyleague.ui.properties.sections.AbstractTextPropertySection#getFeature()
*/
protected EAttribute getFeature() {
return HockeyleaguePackage.eINSTANCE.getPlayer_Birthplace();
}
/**
* @see org.eclipse.ui.examples.views.properties.tabbed.hockeyleague.ui.properties.sections.AbstractTextPropertySection#getLabelText()
*/
protected String getLabelText() {
return "Birth Place:";//$NON-NLS-1$
}
}