1 11 12 package org.eclipse.ui.part; 13 14 import org.eclipse.jface.viewers.ISelection; 15 16 26 public class ShowInContext { 27 28 private Object input; 29 30 private ISelection selection; 31 32 39 public ShowInContext(Object input, ISelection selection) { 40 setInput(input); 41 setSelection(selection); 42 } 43 44 49 public Object getInput() { 50 return input; 51 } 52 53 58 public ISelection getSelection() { 59 return selection; 60 } 61 62 67 public void setInput(Object input) { 68 this.input = input; 69 } 70 71 76 public void setSelection(ISelection selection) { 77 this.selection = selection; 78 } 79 80 } 81 | Popular Tags |