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:
EventListener
,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 Observer, org.eclipse.ui.ISelectionListener
The data table view.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Calls column name.static final String
The view id.static final String
In memory column name.static final String
Instructions column name.static final String
Max memory column name.static final String
Operation name column name.static final String
Out memory column name.static final String
Execution time column name.Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createPartControl
(org.eclipse.swt.widgets.Composite parent) void
dispose()
static int
static int
static int
static int
static int
static long
static int
static double
static int
static boolean
void
selectionChanged
(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection) void
setFocus()
void
Sets the view input.static void
setShowPercentAction
(boolean s) void
update
(Observable o, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
-
Field Details
-
INSTRUCTIONS_COLNAME
Instructions column name. -
TIME_EXECUTION_COLNAME
Execution time column name. -
CALLS_COLNAME
Calls column name. -
OPERATION_NAME_COLNAME
Operation name column name. -
INMEMORY_COLNAME
In memory column name. -
MAXMEMORY_COLNAME
Max memory column name. -
OUTMEMORY_COLNAME
Out memory column name. -
ID
The view id.- See Also:
-
-
Constructor Details
-
ProfilingDataTableView
public ProfilingDataTableView()The constructor.
-
-
Method Details
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in classorg.eclipse.ui.part.WorkbenchPart
- See Also:
-
WorkbenchPart.dispose()
-
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent) - Specified by:
createPartControl
in interfaceorg.eclipse.ui.IWorkbenchPart
- Specified by:
createPartControl
in classorg.eclipse.ui.part.WorkbenchPart
- See Also:
-
WorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)
-
setFocus
public void setFocus()- Specified by:
setFocus
in interfaceorg.eclipse.ui.IWorkbenchPart
- Specified by:
setFocus
in classorg.eclipse.ui.part.WorkbenchPart
- See Also:
-
WorkbenchPart.setFocus()
-
setInput
Sets the view input.- Parameters:
arg
- the input
-
update
-
selectionChanged
public void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection) - Specified by:
selectionChanged
in 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()
-