Search in sources :

Example 11 with PkgInfo

use of com.tencent.wstt.apt.data.PkgInfo in project GT by Tencent.

the class DevicesView method getTargetPkgInfoList.

public void getTargetPkgInfoList() {
    int pkgNumber = targetPkgTableViewer.getTable().getItemCount();
    TestSence.getInstance().pkgInfos.clear();
    //获取当前进程列表
    for (int i = 0; i < pkgNumber; i++) {
        PkgInfo item = (PkgInfo) targetPkgTableViewer.getTable().getItem(i).getData();
        TestSence.getInstance().pkgInfos.add(item);
    }
}
Also used : PkgInfo(com.tencent.wstt.apt.data.PkgInfo)

Aggregations

PkgInfo (com.tencent.wstt.apt.data.PkgInfo)11 TableItem (org.eclipse.swt.widgets.TableItem)5 IOException (java.io.IOException)3 FormAttachment (org.eclipse.swt.layout.FormAttachment)3 FormData (org.eclipse.swt.layout.FormData)3 DevicesView (com.tencent.wstt.apt.ui.views.DevicesView)2 File (java.io.File)2 FileWriter (java.io.FileWriter)2 Date (java.util.Date)2 CheckboxTableViewer (org.eclipse.jface.viewers.CheckboxTableViewer)2 IStructuredSelection (org.eclipse.jface.viewers.IStructuredSelection)2 TableViewer (org.eclipse.jface.viewers.TableViewer)2 MouseEvent (org.eclipse.swt.events.MouseEvent)2 MouseListener (org.eclipse.swt.events.MouseListener)2 SelectionEvent (org.eclipse.swt.events.SelectionEvent)2 Table (org.eclipse.swt.widgets.Table)2 TableColumn (org.eclipse.swt.widgets.TableColumn)2 DumpHprofAction (com.tencent.wstt.apt.action.DumpHprofAction)1 GCAction (com.tencent.wstt.apt.action.GCAction)1 GetPMAPInfoAction (com.tencent.wstt.apt.action.GetPMAPInfoAction)1