1 12 13 package org.eclipse.team.core; 14 15 import java.util.HashMap ; 16 import java.util.Map ; 17 18 import org.eclipse.core.resources.IProject; 19 20 26 public class ProjectSetSerializationContext { 27 28 private final String filename; 29 private final Map properties = new HashMap (); 30 31 34 public ProjectSetSerializationContext() { 35 this(null); 36 } 37 38 43 public ProjectSetSerializationContext(String filename) { 44 this.filename = filename; 45 } 46 47 64 public IProject[] confirmOverwrite(IProject[] projects) throws TeamException { 65 return new IProject[0]; 66 } 67 68 74 public Object getShell() { 75 return null; 76 } 77 78 83 public String getFilename() { 84 return filename; 85 } 86 87 93 public void setProperty(String key, Object value) { 94 properties.put(key, value); 95 } 96 97 104 public Object getProperty(String key) { 105 return properties.get(key); 106 } 107 } 108 | Popular Tags |