Class FilterView
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.ViewPart
-
- edu.kit.ipd.sdq.eventsim.rvisualization.views.FilterView
-
- All Implemented Interfaces:
IAdaptable
,IExecutableExtension
,IPersistable
,IViewPart
,IWorkbenchPart
,IWorkbenchPart2
,IWorkbenchPart3
,IWorkbenchPartOrientation
public class FilterView extends ViewPart
Plug-ins main view for showing filter options.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID
The ID of the view as specified by the extension.-
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
-
Constructor Summary
Constructors Constructor Description FilterView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearMetadataExpandItems()
void
createMetadataExpandItem(TranslatableEntity metadataType, List<Metadata> metadataLevels)
void
createPartControl(Composite parent)
This is a callback that will allow us to create the UI and initialize it.void
enableAssemblyContextCombo(boolean enabled)
void
enableDiagramTypeCombo(boolean enable)
void
enableMeasuringPointsFromCombo(boolean enabled)
void
enableMeasuringPointsToCombo(boolean enabled)
void
enableMetricsCombo(boolean enabled)
void
enablePlotButton(boolean enabled)
void
enableSimulationTimeComposite(boolean enabled)
void
enableTriggerInstanceCombo(boolean enabled)
void
enableTriggerTypeCombo(boolean enabled)
Controller
getController()
Display
getDisplay()
protected DataBindingContext
initDataBindings()
void
setFocus()
Passing the focus request.void
setMeasurementsCount(int count)
void
setMemoryConsmption(int megabytes)
void
showTriggerWarning(boolean show, int max, int current)
-
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, dispose, 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, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
-
-
-
-
Field Detail
-
ID
public static final String ID
The ID of the view as specified by the extension.- See Also:
- Constant Field Values
-
-
Method Detail
-
createPartControl
public final void createPartControl(Composite parent)
This is a callback that will allow us to create the UI and initialize it.- Specified by:
createPartControl
in interfaceIWorkbenchPart
- Specified by:
createPartControl
in classWorkbenchPart
- Parameters:
parent
- Parent UI element.
-
setFocus
public final void setFocus()
Passing the focus request.- Specified by:
setFocus
in interfaceIWorkbenchPart
- Specified by:
setFocus
in classWorkbenchPart
-
getController
public Controller getController()
-
getDisplay
public Display getDisplay()
-
setMeasurementsCount
public void setMeasurementsCount(int count)
-
setMemoryConsmption
public void setMemoryConsmption(int megabytes)
-
showTriggerWarning
public void showTriggerWarning(boolean show, int max, int current)
- Parameters:
show
-max
- the upper limit of triggers allowed to be displayedcurrent
- the current number of triggers within the selected simulation time span
-
enableMetricsCombo
public void enableMetricsCombo(boolean enabled)
-
enableTriggerTypeCombo
public final void enableTriggerTypeCombo(boolean enabled)
-
enableTriggerInstanceCombo
public void enableTriggerInstanceCombo(boolean enabled)
-
enableAssemblyContextCombo
public void enableAssemblyContextCombo(boolean enabled)
-
enableMeasuringPointsFromCombo
public void enableMeasuringPointsFromCombo(boolean enabled)
-
enableMeasuringPointsToCombo
public void enableMeasuringPointsToCombo(boolean enabled)
-
enableSimulationTimeComposite
public void enableSimulationTimeComposite(boolean enabled)
-
enableDiagramTypeCombo
public void enableDiagramTypeCombo(boolean enable)
-
enablePlotButton
public void enablePlotButton(boolean enabled)
-
createMetadataExpandItem
public void createMetadataExpandItem(TranslatableEntity metadataType, List<Metadata> metadataLevels)
-
clearMetadataExpandItems
public void clearMetadataExpandItems()
-
initDataBindings
protected DataBindingContext initDataBindings()
-
-