Class ThreatAnalysis
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
be.kuleuven.cs.distrinet.sparta.analysis.views.ThreatAnalysis
- All Implemented Interfaces:
AnalysisListener,org.eclipse.core.runtime.IAdaptable,org.eclipse.core.runtime.IExecutableExtension,org.eclipse.ui.IPersistable,org.eclipse.ui.IViewPart,org.eclipse.ui.IWorkbenchPart,org.eclipse.ui.IWorkbenchPart2,org.eclipse.ui.IWorkbenchPart3,org.eclipse.ui.part.IWorkbenchPartOrientation
This class provides the SPARTA Threat Analysis view to present the user with
a sortable list of threats and manage the risk reduction progress.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe ID of the view as specified by the extension.Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcreatePartControl(org.eclipse.swt.widgets.Composite parent) static ThreatAnalysisgetInstance(org.eclipse.ui.IWorkbenchWindow activeWorkbenchWindow) List<? extends ObservableThreat> voidvoidvoidsetFocus()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, dispose, 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, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
-
Field Details
-
ID
The ID of the view as specified by the extension.- See Also:
-
-
Constructor Details
-
ThreatAnalysis
public ThreatAnalysis()
-
-
Method Details
-
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
-
load
-
getInstance
-
getThreatList
-
getLoadedResource
-
setFocus
public void setFocus()- Specified by:
setFocusin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
setFocusin classorg.eclipse.ui.part.WorkbenchPart
-
analysisResultsAvailable
public void analysisResultsAvailable()- Specified by:
analysisResultsAvailablein interfaceAnalysisListener
-
invalidatePreviousBindings
public void invalidatePreviousBindings()- Specified by:
invalidatePreviousBindingsin interfaceAnalysisListener
-