1 11 package org.eclipse.debug.internal.ui.memory.provisional; 12 13 import org.eclipse.debug.internal.ui.viewers.PartPresentationContext; 14 import org.eclipse.debug.ui.memory.IMemoryRendering; 15 import org.eclipse.debug.ui.memory.IMemoryRenderingContainer; 16 import org.eclipse.debug.ui.memory.IMemoryRenderingSite; 17 18 27 public class MemoryViewPresentationContext extends PartPresentationContext { 28 29 private IMemoryRenderingContainer fContainer; 30 private IMemoryRendering fRendering; 31 private IMemoryRenderingSite fMemoryView; 32 33 39 public MemoryViewPresentationContext(IMemoryRenderingSite site, IMemoryRenderingContainer container, IMemoryRendering rendering) { 40 super(site.getSite().getPart()); 41 42 fMemoryView = site; 43 fContainer = container; 44 fRendering = rendering; 45 } 46 47 51 public IMemoryRenderingSite getMemoryRenderingSite() 52 { 53 return fMemoryView; 54 } 55 56 60 public IMemoryRenderingContainer getMemoryRenderingContainer() 61 { 62 return fContainer; 63 } 64 65 69 public IMemoryRendering getRendering() 70 { 71 return fRendering; 72 } 73 } 74 | Popular Tags |