Class ProfilingDataTableView
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.ViewPart
-
- org.eclipse.m2m.atl.profiler.ui.profilingdatatable.ProfilingDataTableView
-
- All Implemented Interfaces:
java.util.EventListener,java.util.Observer,org.eclipse.core.runtime.IAdaptable,org.eclipse.core.runtime.IExecutableExtension,org.eclipse.ui.IPersistable,org.eclipse.ui.ISelectionListener,org.eclipse.ui.IViewPart,org.eclipse.ui.IWorkbenchPart,org.eclipse.ui.IWorkbenchPart2,org.eclipse.ui.IWorkbenchPart3,org.eclipse.ui.part.IWorkbenchPartOrientation
public class ProfilingDataTableView extends org.eclipse.ui.part.ViewPart implements java.util.Observer, org.eclipse.ui.ISelectionListenerThe data table view.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCALLS_COLNAMECalls column name.static java.lang.StringIDThe view id.static java.lang.StringINMEMORY_COLNAMEIn memory column name.static java.lang.StringINSTRUCTIONS_COLNAMEInstructions column name.static java.lang.StringMAXMEMORY_COLNAMEMax memory column name.static java.lang.StringOPERATION_NAME_COLNAMEOperation name column name.static java.lang.StringOUTMEMORY_COLNAMEOut memory column name.static java.lang.StringTIME_EXECUTION_COLNAMEExecution time column name.
-
Constructor Summary
Constructors Constructor Description ProfilingDataTableView()The constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreatePartControl(org.eclipse.swt.widgets.Composite parent)voiddispose()static intgetCallsId()static intgetInMemoryColId()static intgetMaxMemoryColID()static intgetOperationNameId()static intgetOutMemoryColId()static longgetTotalInstructions()static intgetTotalInstructionsId()static doublegetTotalTime()static intgetTotalTimeExecutionId()static booleanisShowPercentAction()voidselectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)voidsetFocus()voidsetInput(java.lang.Object arg)Sets the view input.static voidsetShowPercentAction(boolean s)voidupdate(java.util.Observable o, java.lang.Object arg)-
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
-
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
-
-
-
Field Detail
-
INSTRUCTIONS_COLNAME
public static final java.lang.String INSTRUCTIONS_COLNAME
Instructions column name.
-
TIME_EXECUTION_COLNAME
public static final java.lang.String TIME_EXECUTION_COLNAME
Execution time column name.
-
CALLS_COLNAME
public static final java.lang.String CALLS_COLNAME
Calls column name.
-
OPERATION_NAME_COLNAME
public static final java.lang.String OPERATION_NAME_COLNAME
Operation name column name.
-
INMEMORY_COLNAME
public static final java.lang.String INMEMORY_COLNAME
In memory column name.
-
MAXMEMORY_COLNAME
public static final java.lang.String MAXMEMORY_COLNAME
Max memory column name.
-
OUTMEMORY_COLNAME
public static final java.lang.String OUTMEMORY_COLNAME
Out memory column name.
-
ID
public static final java.lang.String ID
The view id.- See Also:
- Constant Field Values
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
disposein interfaceorg.eclipse.ui.IWorkbenchPart- Overrides:
disposein classorg.eclipse.ui.part.WorkbenchPart- See Also:
WorkbenchPart.dispose()
-
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createPartControlin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
createPartControlin classorg.eclipse.ui.part.WorkbenchPart- See Also:
WorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)
-
setFocus
public void setFocus()
- Specified by:
setFocusin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
setFocusin classorg.eclipse.ui.part.WorkbenchPart- See Also:
WorkbenchPart.setFocus()
-
setInput
public void setInput(java.lang.Object arg)
Sets the view input.- Parameters:
arg- the input
-
update
public void update(java.util.Observable o, java.lang.Object arg)- Specified by:
updatein interfacejava.util.Observer- See Also:
Observer.update(java.util.Observable, java.lang.Object)
-
selectionChanged
public void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)- Specified by:
selectionChangedin interfaceorg.eclipse.ui.ISelectionListener- See Also:
ISelectionListener.selectionChanged(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)
-
getTotalInstructionsId
public static int getTotalInstructionsId()
-
getTotalTimeExecutionId
public static int getTotalTimeExecutionId()
-
getCallsId
public static int getCallsId()
-
getOperationNameId
public static int getOperationNameId()
-
getInMemoryColId
public static int getInMemoryColId()
-
isShowPercentAction
public static boolean isShowPercentAction()
-
setShowPercentAction
public static void setShowPercentAction(boolean s)
-
getTotalInstructions
public static long getTotalInstructions()
-
getTotalTime
public static double getTotalTime()
-
getMaxMemoryColID
public static int getMaxMemoryColID()
-
getOutMemoryColId
public static int getOutMemoryColId()
-
-