1 11 12 package org.eclipse.ui.internal.cheatsheets.state; 13 14 import java.util.Properties ; 15 16 import org.eclipse.core.runtime.IStatus; 17 import org.eclipse.core.runtime.Status; 18 import org.eclipse.ui.internal.cheatsheets.registry.CheatSheetElement; 19 import org.eclipse.ui.internal.cheatsheets.views.CheatSheetManager; 20 21 26 27 public class TrayStateManager implements ICheatSheetStateManager { 28 29 private Properties properties; 30 private CheatSheetManager manager; 31 32 public Properties getProperties() { 33 return properties; 34 } 35 36 public void setElement(CheatSheetElement element) { 37 } 39 40 public CheatSheetManager getCheatSheetManager() { 41 return manager; 42 } 43 44 48 public IStatus saveState(Properties properties, CheatSheetManager manager) { 49 this.properties = properties; 50 this.manager = manager; 51 return Status.OK_STATUS; 52 } 53 54 } 55 | Popular Tags |