1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.pde.ui; 12 13 /** 14 * In addition to field data from the 'New Project' wizard pages, this interface 15 * provides choices made by the user that are unique to creating a new fragment 16 * project. 17 * 18 * @since 3.0 19 */ 20 public interface IFragmentFieldData extends IFieldData { 21 /** 22 * Referenced plug-in id field 23 * 24 * @return the id of the fragment's plug-in 25 */ 26 String getPluginId(); 27 /** 28 * Referenced plug-in version field 29 * 30 * @return the version of the fragment's plug-in 31 */ 32 String getPluginVersion(); 33 /** 34 * Referenced plug-in version match choice 35 * 36 * @return the rule for matching the version of the referenced plug-in that 37 * can be one of the values defined in <code>IMatchRules</code> 38 * 39 */ 40 int getMatch(); 41 } 42