public class ValidationView extends MarkerView
Unfortunately, there was no other choice than copying the whole code from ProblemView for that purpose because most of the relevant methods and fields of the latter are private or package private.
copyAction, deleteAction, focusElements, openAction, pasteAction, propertiesAction, redoAction, revealAction, selectAllAction, undoAction
Constructor and Description |
---|
ValidationView()
Return a new instance of the receiver.
|
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.jface.viewers.ViewerComparator |
buildComparator()
Build a comparator from the default settings.
|
protected void |
createActions()
Create the actions for the receiver.
|
protected MarkerFilter |
createFilter(java.lang.String name)
Create a filter called name.
|
protected DialogMarkerFilter |
createFiltersDialog()
Open a filter dialog on the receiver.
|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent) |
void |
dispose() |
protected void |
fillContextMenuAdditions(org.eclipse.jface.action.IMenuManager manager)
Fill the context menu for the receiver.
|
IField |
findField(java.lang.String description)
Return the field whose description matches description.
|
protected IField[] |
getAllFields() |
protected org.eclipse.jface.dialogs.IDialogSettings |
getDialogSettings() |
protected java.lang.String |
getMarkerName()
Return the string name of the specific type of marker shown in this view.
|
protected java.lang.String[] |
getMarkerTypes() |
protected java.lang.String[] |
getRootTypes() |
protected java.lang.String |
getSectionTag()
Return the memento tag for the receiver.
|
protected IField[] |
getSortingFields() |
protected java.lang.String |
getStaticContextId() |
TableComparator |
getTableSorter()
Return the table sorter portion of the sorter.
|
protected void |
initToolBar(org.eclipse.jface.action.IToolBarManager tbm) |
protected void |
regenerateLayout()
Resize the category column in the table.
|
protected void |
registerGlobalActions(org.eclipse.ui.IActionBars actionBars) |
void |
selectCategory(java.lang.String description,
CategoryComparator sorter)
Select the category for the receiver.
|
protected java.lang.String |
updateSummarySelected(org.eclipse.jface.viewers.IStructuredSelection selection)
Retrieves statistical information (the total number of markers with each severity type) for the markers contained
in the selection passed in.
|
protected void |
writeFiltersSettings(org.eclipse.ui.XMLMemento memento)
Write the filter settings to the memento.
|
addUpdateFinishListener, createTree, fillContextMenu, findEnabledFilters, focusSelectionChanged, getAdapter, getCurrentMarkers, getEnabledFilters, getMarkerAdapter, getUndoContext, getUserFilters, getVisibleMarkers, handleKeyPressed, handleOpenEvent, init, initDragAndDrop, openFiltersDialog, preserveSelection, refreshViewer, removeUpdateFinishListener, saveSelection, setSelection, showBusy, updateFilterSelection, updateFocusMarkers, updateForContentsRefresh, updateStatusMessage, updateStatusMessage, updateSummaryVisible, viewerSelectionChanged
createColumns, getColumnData, getDefaultColumnLayouts, getHeaderListener, getProgressService, getSavedColumnData, getSortDialog, getTree, getViewer, getViewerInput, initContextMenu, initMenu, saveState, setFocus, setSelection
checkSite, getViewSite, init, setContentDescription, setInitializationData, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class MarkerView
protected IField[] getSortingFields()
getSortingFields
in class TableView
protected org.eclipse.jface.dialogs.IDialogSettings getDialogSettings()
getDialogSettings
in class TableView
protected void createActions()
TableView
createActions
in class MarkerView
protected void registerGlobalActions(org.eclipse.ui.IActionBars actionBars)
registerGlobalActions
in class MarkerView
protected void fillContextMenuAdditions(org.eclipse.jface.action.IMenuManager manager)
MarkerView
protected java.lang.String[] getRootTypes()
getRootTypes
in class MarkerView
protected IField[] getAllFields()
getAllFields
in class TableView
protected java.lang.String updateSummarySelected(org.eclipse.jface.viewers.IStructuredSelection selection)
updateSummarySelected
in class MarkerView
selection
- a valid selection or null
protected java.lang.String[] getMarkerTypes()
protected java.lang.String getStaticContextId()
getStaticContextId
in class MarkerView
protected DialogMarkerFilter createFiltersDialog()
MarkerView
createFiltersDialog
in class MarkerView
protected MarkerFilter createFilter(java.lang.String name)
MarkerView
createFilter
in class MarkerView
protected java.lang.String getSectionTag()
MarkerView
getSectionTag
in class MarkerView
protected void regenerateLayout()
public TableComparator getTableSorter()
TableView
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class MarkerView
public IField findField(java.lang.String description)
description
- protected org.eclipse.jface.viewers.ViewerComparator buildComparator()
TableView
buildComparator
in class TableView
protected void initToolBar(org.eclipse.jface.action.IToolBarManager tbm)
initToolBar
in class MarkerView
public void selectCategory(java.lang.String description, CategoryComparator sorter)
description
- sorter
- - the sorter to select forprotected void writeFiltersSettings(org.eclipse.ui.XMLMemento memento)
MarkerView
writeFiltersSettings
in class MarkerView
protected java.lang.String getMarkerName()
MarkerView
getMarkerName
in class MarkerView