01: /*******************************************************************************
02: * Copyright (c) 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.ui.templates.osgi;
11:
12: import org.eclipse.pde.internal.ui.templates.PDETemplateMessages;
13: import org.eclipse.pde.ui.IFieldData;
14: import org.eclipse.pde.ui.templates.ITemplateSection;
15: import org.eclipse.pde.ui.templates.NewPluginTemplateWizard;
16:
17: public class OSGiSimpleLogServiceNewWizard extends
18: NewPluginTemplateWizard {
19:
20: /* (non-Javadoc)
21: * @see org.eclipse.pde.ui.templates.AbstractNewPluginTemplateWizard#init(org.eclipse.pde.ui.IFieldData)
22: */
23: public void init(IFieldData data) {
24: super .init(data);
25: setWindowTitle(PDETemplateMessages.OSGiSimpleLogServiceNewWizard_title);
26: }
27:
28: /* (non-Javadoc)
29: * @see org.eclipse.pde.ui.templates.NewPluginTemplateWizard#createTemplateSections()
30: */
31: public ITemplateSection[] createTemplateSections() {
32: return new ITemplateSection[] { new OSGiSimpleLogServiceTemplate() };
33: }
34:
35: public String[] getImportPackages() {
36: return new String[] { "org.osgi.framework;version=\"1.3.0\"", //$NON-NLS-1$
37: "org.osgi.util.tracker;version=\"1.3.1\"", //$NON-NLS-1$
38: "org.osgi.service.log; version=\"1.3\"" }; //$NON-NLS-1$
39: }
40:
41: }
|