1 11 package org.eclipse.ui.internal.cheatsheets.views; 12 13 import org.eclipse.ui.cheatsheets.ICheatSheetEvent; 14 import org.eclipse.ui.cheatsheets.ICheatSheetManager; 15 16 public class CheatSheetEvent implements ICheatSheetEvent { 17 int type; 18 String cheatsheetID; 19 ICheatSheetManager csm; 20 21 22 public CheatSheetEvent(int eventType, String id, ICheatSheetManager csm) { 23 super(); 24 this.csm = csm; 25 this.type = eventType; 26 this.cheatsheetID = id; 27 } 28 29 32 public int getEventType() { 33 return type; 34 } 35 36 39 public String getCheatSheetID() { 40 return cheatsheetID; 41 } 42 43 46 public ICheatSheetManager getCheatSheetManager() { 47 return csm; 48 } 49 50 } 51 | Popular Tags |