1 11 package org.eclipse.ui; 12 13 43 public interface IMemento { 44 50 public static final String TAG_ID = "IMemento.internal.id"; 52 64 public IMemento createChild(String type); 65 66 80 public IMemento createChild(String type, String id); 81 82 88 public IMemento getChild(String type); 89 90 96 public IMemento[] getChildren(String type); 97 98 105 public Float getFloat(String key); 106 107 113 public String getID(); 114 115 122 public Integer getInteger(String key); 123 124 130 public String getString(String key); 131 132 140 public String getTextData(); 141 142 148 public void putFloat(String key, float value); 149 150 156 public void putInteger(String key, int value); 157 158 164 public void putMemento(IMemento memento); 165 166 172 public void putString(String key, String value); 173 174 182 public void putTextData(String data); 183 } 184 | Popular Tags |