1 11 package org.eclipse.pde.internal.ui.model.bundle; 12 13 import java.util.*; 14 15 16 public class EclipseAutoStartHeader extends ManifestHeader { 17 18 private ArrayList fExceptions = new ArrayList(); 19 20 public EclipseAutoStartHeader() { 21 setName("Eclipse-AutoStart"); } 23 24 public void addException(String packageName) { 25 if (!fExceptions.contains(packageName)) 26 fExceptions.add(packageName); 27 } 28 29 public void removeException(String packageName) { 30 fExceptions.remove(packageName); 31 } 32 33 public String [] getExceptions() { 34 return (String [])fExceptions.toArray(new String [fExceptions.size()]); 35 } 36 } 37 | Popular Tags |