/******************************************************************************* * 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.common; import org.eclipse.core.resources.IProject; import org.eclipse.e4.ui.model.application.MContribution; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.edit.domain.EditingDomain; import org.eclipse.swt.widgets.Shell; public interface IContributionClassCreator { public boolean isSupported(EClass element); public void createOpen(MContribution contribution, EditingDomain domain, IProject project, Shell shell); }