blob: 9e4f3b3e131be5f83a4ba8688fbfa21a1fa54d22 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2013 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0, which accompanies this distribution
* and is available at https://www.eclipse.org/legal/epl-2.0/.
*
* Contributors:
* Oracle - initial API and implementation
******************************************************************************/
package org.eclipse.jpt.jpa.ui.internal.details;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jpt.jpa.core.context.JpaContextModel;
import org.eclipse.jpt.jpa.ui.JptJpaUiImages;
import org.eclipse.jpt.jpa.ui.details.MappingUiDefinition;
public abstract class AbstractMappingUiDefinition
implements MappingUiDefinition
{
protected AbstractMappingUiDefinition() {
super();
}
public ImageDescriptor getImageDescriptor() {
return JptJpaUiImages.JPA_CONTENT;
}
public boolean isEnabledFor(JpaContextModel node) {
return true;
}
}