1 package com.android.ide.eclipse.ddms.views; 2 3 import com.android.ddmuilib.SysinfoPanel; 4 5 import org.eclipse.swt.widgets.Composite; 6 7 public class SysInfoView extends SelectionDependentViewPart { 8 public static final String ID = "com.android.ide.eclipse.ddms.views.SysInfoView"; //$NON-NLS-1$ 9 10 private SysinfoPanel mSysInfoPanel; 11 12 @Override createPartControl(Composite parent)13 public void createPartControl(Composite parent) { 14 mSysInfoPanel = new SysinfoPanel(); 15 mSysInfoPanel.createPanel(parent); 16 setSelectionDependentPanel(mSysInfoPanel); 17 } 18 19 @Override setFocus()20 public void setFocus() { 21 mSysInfoPanel.setFocus(); 22 } 23 24 @Override dispose()25 public void dispose() { 26 mSysInfoPanel.dispose(); 27 super.dispose(); 28 } 29 } 30