01: /*******************************************************************************
02: * Copyright (c) 2005 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.core.text.bundle;
11:
12: import org.eclipse.pde.internal.core.ibundle.IBundle;
13:
14: public class BundleNameHeader extends SingleManifestHeader {
15:
16: private static final long serialVersionUID = 1L;
17:
18: public BundleNameHeader(String name, String value, IBundle bundle,
19: String lineDelimiter) {
20: super (name, value, bundle, lineDelimiter);
21: }
22:
23: public String getBundleName() {
24: return getMainComponent();
25: }
26:
27: public void setBundleName(String name) {
28: setMainComponent(name);
29: }
30:
31: }
|