KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > ui > build > ProductExportJob


1 /*******************************************************************************
2  * Copyright (c) 2005, 2007 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.internal.ui.build;
12
13 import org.eclipse.pde.internal.core.exports.FeatureExportInfo;
14 import org.eclipse.pde.internal.core.exports.FeatureExportOperation;
15 import org.eclipse.pde.internal.core.exports.ProductExportOperation;
16 import org.eclipse.pde.internal.core.iproduct.IProduct;
17 import org.eclipse.pde.internal.core.iproduct.IProductModel;
18 import org.eclipse.pde.internal.ui.PDEUIMessages;
19
20 public class ProductExportJob extends FeatureExportJob {
21     
22     private IProduct fProduct;
23     private String JavaDoc fRoot;
24     
25     public ProductExportJob(FeatureExportInfo info, IProductModel model, String JavaDoc productRoot) {
26         super(info, PDEUIMessages.ProductExportJob_name);
27         fProduct = model.getProduct();
28         fRoot = productRoot;
29     }
30     
31     protected FeatureExportOperation createOperation() {
32         return new ProductExportOperation(fInfo, fProduct, fRoot);
33     }
34
35 }
36
Popular Tags