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
FieldsModifier and TypeFieldDescriptionstatic final StringCalls column name.static final StringThe view id.static final StringIn memory column name.static final StringInstructions column name.static final StringMax memory column name.static final StringOperation name column name.static final StringOut memory column name.static final StringExecution time column name.Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatePartControl(org.eclipse.swt.widgets.Composite parent) voiddispose()static intstatic intstatic intstatic intstatic intstatic longstatic intstatic doublestatic intstatic booleanvoidselectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection) voidsetFocus()voidSets the view input.static voidsetShowPercentAction(boolean s) voidupdate(Observable o, Object arg) Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartNameMethods 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, showBusyMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods 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:
disposein interfaceorg.eclipse.ui.IWorkbenchPart- Overrides:
disposein classorg.eclipse.ui.part.WorkbenchPart- See Also:
-
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:
-
setFocus
public void setFocus()- Specified by:
setFocusin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
setFocusin classorg.eclipse.ui.part.WorkbenchPart- See Also:
-
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:
selectionChangedin interfaceorg.eclipse.ui.ISelectionListener- See Also:
-
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()
-