01: /*******************************************************************************
02: * Copyright (c) 2005, 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.wizards.exports;
11:
12: import org.eclipse.swt.events.SelectionAdapter;
13: import org.eclipse.swt.events.SelectionEvent;
14:
15: public class FeatureDestinationTab extends ExportDestinationTab {
16:
17: public FeatureDestinationTab(AbstractExportWizardPage page) {
18: super (page);
19: }
20:
21: protected void hookListeners() {
22: super .hookListeners();
23: fDirectoryButton.addSelectionListener(new SelectionAdapter() {
24: public void widgetSelected(SelectionEvent e) {
25: ((FeatureExportWizardPage) fPage)
26: .adjustJNLPTabVisibility();
27: fPage.pageChanged();
28: }
29: });
30: }
31:
32: }
|