Java Doc for MarkerView.java in  » IDE-Eclipse » ui-ide » org » eclipse » ui » views » markers » internal » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » ui ide » org.eclipse.ui.views.markers.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.views.markers.internal.TableView
   org.eclipse.ui.views.markers.internal.MarkerView

All known Subclasses:   org.eclipse.ui.views.markers.internal.TaskView,  org.eclipse.ui.views.markers.internal.ProblemView,  org.eclipse.ui.views.markers.internal.BookmarkView,
MarkerView
abstract public class MarkerView extends TableView (Code)
MarkerView is the abstract super class of the marker based views.

Inner Class :class MarkerProcessJob extends Job

Field Summary
final static  ObjectMARKER_UPDATE_FAMILY
    
protected  ActionCopyMarkercopyAction
    
protected  SelectionProviderActiondeleteAction
    
protected  Object[]focusElements
    
 MarkerProcessJobmarkerProcessJob
    
 IResourceChangeListenermarkerUpdateListener
    
protected  SelectionProviderActionopenAction
    
protected  ActionPasteMarkerpasteAction
    
protected  SelectionProviderActionpropertiesAction
    
protected  RedoActionHandlerredoAction
    
protected  SelectionProviderActionrevealAction
    
protected  SelectionProviderActionselectAllAction
    
protected  UndoActionHandlerundoAction
    

Constructor Summary
public  MarkerView()
    

Method Summary
 voidaddDropDownContributions(IMenuManager menu)
    
public  voidaddUpdateFinishListener(IJobChangeListener listener)
     Add a listener for the end of the update.
 booleancanBeEditable()
     Return whether or not any of the types in the receiver can be editable.
 voidclearEnabledFilters()
     Clear the cache of enabled filters.
protected  voidcreateActions()
    
abstract protected  MarkerFiltercreateFilter(String name)
     Create a filter called name.
abstract protected  DialogMarkerFiltercreateFiltersDialog()
     Open a filter dialog on the receiver.
public  voidcreatePartControl(Composite parent)
    
 voidcreateShowInMenu(IMenuManager menu)
     Create the show in menu if there is a single selection.
protected  TreecreateTree(Composite parent)
    
 ObjectcreateViewerInput()
    
public  voiddispose()
    
protected  voidfillContextMenu(IMenuManager manager)
    
abstract  voidfillContextMenuAdditions(IMenuManager manager)
     Fill the context menu for the receiver.
protected  CollectionfindEnabledFilters()
     Find the filters enabled in the view.
protected  voidfocusSelectionChanged(IWorkbenchPart part, ISelection selection)
    
public  ObjectgetAdapter(Class adaptable)
    
 MarkerFilter[]getAllFilters()
     Get all of the filters applied to the receiver.
public  MarkerListgetCurrentMarkers()
     Get the current markers for the receiver.
 MarkerFilter[]getEnabledFilters()
     Get the filters that are currently enabled.
abstract  StringgetFiltersPreferenceName()
     Get the name of the filters preference for instances of the receiver.
protected  MarkerAdaptergetMarkerAdapter()
     Get the marker adapter for the receiver.
abstract  StringgetMarkerEnablementPreferenceName()
     Get the name of the marker limit preference.
 intgetMarkerLimit()
    
abstract  StringgetMarkerLimitPreferenceName()
     Get the name of the marker enablement preference.
abstract protected  StringgetMarkerName()
     Return the string name of the specific type of marker shown in this view.
abstract  String[]getMarkerTypes()
    
abstract protected  String[]getRootTypes()
    
abstract protected  StringgetSectionTag()
     Return the memento tag for the receiver.
abstract protected  StringgetStaticContextId()
    
 intgetTotalMarkers()
     Returns the total number of markers.
protected  IUndoContextgetUndoContext()
     Return the undo context associated with operations performed in this view.
final protected  MarkerFilter[]getUserFilters()
     Get the filters for the receiver.
protected  MarkerListgetVisibleMarkers()
    
protected  voidhandleOpenEvent(OpenEvent event)
    
public  voidinit(IViewSite site, IMemento memento)
    
protected  voidinitDragAndDrop()
    
protected  voidinitToolBar(IToolBarManager tbm)
    
final public  voidopenFiltersDialog()
    
protected  voidpreserveSelection()
     Save the current selection in the update for reselection after update.
 voidrefreshMarkerCounts(IProgressMonitor monitor)
    
public  voidrefreshViewer()
     Refresh the contents of the viewer.
protected  voidregisterGlobalActions(IActionBars actionBars)
    
public  voidremoveUpdateFinishListener(IJobChangeListener listener)
     Remove a listener for the end of the update.
 voidrestoreFilters(IMemento memento)
     Restore the filters from the mimento.
protected  voidsaveSelection(IMemento memento)
    
 voidscheduleMarkerUpdate(int time)
    
 voidsetFilters(MarkerFilter[] newFilters)
     Set the filters to newFilters.
public  voidsetSelection(IStructuredSelection structuredSelection, boolean reveal)
    
public  voidshowBusy(boolean busy)
    
final protected  voidupdateFilterSelection(Object[] elements)
     Update the focus resources of the filters.
 voidupdateFocusMarkers(Object[] elements)
     Update the focus markers for the supplied elements.
public  voidupdateForContentsRefresh(IProgressMonitor monitor)
     Update for the change in the contents.
 voidupdateForFilterChanges()
     Update for filter changes.
protected  voidupdateStatusMessage()
     Updates the message displayed in the status line.
protected  voidupdateStatusMessage(IStructuredSelection selection)
     Updates that message displayed in the status line.
protected  StringupdateSummarySelected(IStructuredSelection selection)
    
protected  StringupdateSummaryVisible()
    
 voidupdateTitle()
    
protected  voidviewerSelectionChanged(IStructuredSelection selection)
    
protected  voidwriteFiltersSettings(XMLMemento memento)
     Write the filter settings to the memento.

Field Detail
MARKER_UPDATE_FAMILY
final static Object MARKER_UPDATE_FAMILY(Code)



copyAction
protected ActionCopyMarker copyAction(Code)



deleteAction
protected SelectionProviderAction deleteAction(Code)



focusElements
protected Object[] focusElements(Code)



markerProcessJob
MarkerProcessJob markerProcessJob(Code)



markerUpdateListener
IResourceChangeListener markerUpdateListener(Code)



openAction
protected SelectionProviderAction openAction(Code)



pasteAction
protected ActionPasteMarker pasteAction(Code)



propertiesAction
protected SelectionProviderAction propertiesAction(Code)



redoAction
protected RedoActionHandler redoAction(Code)



revealAction
protected SelectionProviderAction revealAction(Code)



selectAllAction
protected SelectionProviderAction selectAllAction(Code)



undoAction
protected UndoActionHandler undoAction(Code)




Constructor Detail
MarkerView
public MarkerView()(Code)
Create a new instance of the receiver,




Method Detail
addDropDownContributions
void addDropDownContributions(IMenuManager menu)(Code)



addUpdateFinishListener
public void addUpdateFinishListener(IJobChangeListener listener)(Code)
Add a listener for the end of the update.
Parameters:
  listener -



canBeEditable
boolean canBeEditable()(Code)
Return whether or not any of the types in the receiver can be editable. true if it is possible to have an editable markerin this view.



clearEnabledFilters
void clearEnabledFilters()(Code)
Clear the cache of enabled filters.



createActions
protected void createActions()(Code)



createFilter
abstract protected MarkerFilter createFilter(String name)(Code)
Create a filter called name.
Parameters:
  name - MarkerFilter



createFiltersDialog
abstract protected DialogMarkerFilter createFiltersDialog()(Code)
Open a filter dialog on the receiver.



createPartControl
public void createPartControl(Composite parent)(Code)



createShowInMenu
void createShowInMenu(IMenuManager menu)(Code)
Create the show in menu if there is a single selection.
Parameters:
  menu -



createTree
protected Tree createTree(Composite parent)(Code)



createViewerInput
Object createViewerInput()(Code)



dispose
public void dispose()(Code)



fillContextMenu
protected void fillContextMenu(IMenuManager manager)(Code)



fillContextMenuAdditions
abstract void fillContextMenuAdditions(IMenuManager manager)(Code)
Fill the context menu for the receiver.
Parameters:
  manager -



findEnabledFilters
protected Collection findEnabledFilters()(Code)
Find the filters enabled in the view. Collection of MarkerFilter



focusSelectionChanged
protected void focusSelectionChanged(IWorkbenchPart part, ISelection selection)(Code)

Parameters:
  part -
Parameters:
  selection -



getAdapter
public Object getAdapter(Class adaptable)(Code)



getAllFilters
MarkerFilter[] getAllFilters()(Code)
Get all of the filters applied to the receiver. MarkerFilter[]



getCurrentMarkers
public MarkerList getCurrentMarkers()(Code)
Get the current markers for the receiver. MarkerList



getEnabledFilters
MarkerFilter[] getEnabledFilters()(Code)
Get the filters that are currently enabled. MarkerFilter[]



getFiltersPreferenceName
abstract String getFiltersPreferenceName()(Code)
Get the name of the filters preference for instances of the receiver. String



getMarkerAdapter
protected MarkerAdapter getMarkerAdapter()(Code)
Get the marker adapter for the receiver. MarkerAdapter



getMarkerEnablementPreferenceName
abstract String getMarkerEnablementPreferenceName()(Code)
Get the name of the marker limit preference. String



getMarkerLimit
int getMarkerLimit()(Code)
Returns the marker limit or -1 if unlimited int



getMarkerLimitPreferenceName
abstract String getMarkerLimitPreferenceName()(Code)
Get the name of the marker enablement preference. String



getMarkerName
abstract protected String getMarkerName()(Code)
Return the string name of the specific type of marker shown in this view.



getMarkerTypes
abstract String[] getMarkerTypes()(Code)



getRootTypes
abstract protected String[] getRootTypes()(Code)



getSectionTag
abstract protected String getSectionTag()(Code)
Return the memento tag for the receiver. String



getStaticContextId
abstract protected String getStaticContextId()(Code)



getTotalMarkers
int getTotalMarkers()(Code)
Returns the total number of markers. Should not be called while the marker list is still updating. the total number of markers in the workspace (includingeverything that doesn't pass the filters)



getUndoContext
protected IUndoContext getUndoContext()(Code)
Return the undo context associated with operations performed in this view. By default, return the workspace undo context. Subclasses should override if a more specific undo context should be used.



getUserFilters
final protected MarkerFilter[] getUserFilters()(Code)
Get the filters for the receiver. MarkerFilter[]



getVisibleMarkers
protected MarkerList getVisibleMarkers()(Code)



handleOpenEvent
protected void handleOpenEvent(OpenEvent event)(Code)



init
public void init(IViewSite site, IMemento memento) throws PartInitException(Code)



initDragAndDrop
protected void initDragAndDrop()(Code)



initToolBar
protected void initToolBar(IToolBarManager tbm)(Code)



openFiltersDialog
final public void openFiltersDialog()(Code)
Open a dialog on the filters



preserveSelection
protected void preserveSelection()(Code)
Save the current selection in the update for reselection after update.



refreshMarkerCounts
void refreshMarkerCounts(IProgressMonitor monitor)(Code)
Refresh the marker counts
Parameters:
  monitor -



refreshViewer
public void refreshViewer()(Code)
Refresh the contents of the viewer.



registerGlobalActions
protected void registerGlobalActions(IActionBars actionBars)(Code)



removeUpdateFinishListener
public void removeUpdateFinishListener(IJobChangeListener listener)(Code)
Remove a listener for the end of the update.
Parameters:
  listener -



restoreFilters
void restoreFilters(IMemento memento)(Code)
Restore the filters from the mimento.
Parameters:
  memento -



saveSelection
protected void saveSelection(IMemento memento)(Code)



scheduleMarkerUpdate
void scheduleMarkerUpdate(int time)(Code)
Schedule an update of the markers with a delay of time
Parameters:
  time -



setFilters
void setFilters(MarkerFilter[] newFilters)(Code)
Set the filters to newFilters.
Parameters:
  newFilters -



setSelection
public void setSelection(IStructuredSelection structuredSelection, boolean reveal)(Code)
Given a selection of IMarker, reveals the corresponding elements in the viewer
Parameters:
  structuredSelection -
Parameters:
  reveal -



showBusy
public void showBusy(boolean busy)(Code)



updateFilterSelection
final protected void updateFilterSelection(Object[] elements)(Code)
Update the focus resources of the filters.
Parameters:
  elements -



updateFocusMarkers
void updateFocusMarkers(Object[] elements)(Code)
Update the focus markers for the supplied elements.
Parameters:
  elements -



updateForContentsRefresh
public void updateForContentsRefresh(IProgressMonitor monitor)(Code)
Update for the change in the contents.
Parameters:
  monitor -



updateForFilterChanges
void updateForFilterChanges()(Code)
Update for filter changes. Save the preference and clear the enabled cache.



updateStatusMessage
protected void updateStatusMessage()(Code)
Updates the message displayed in the status line. This method is invoked in the following cases:
  • when this view is first created
  • when new elements are added
  • when something is deleted
  • when the filters change

By default, this method calls updateStatusMessage(IStructuredSelection) with the current selection or null. Classes wishing to override this functionality, should just override the method updateStatusMessage(IStructuredSelection).




updateStatusMessage
protected void updateStatusMessage(IStructuredSelection selection)(Code)
Updates that message displayed in the status line. If the selection parameter is null or its size is 0, the status area is blanked out. If only 1 marker is selected, the status area is updated with the contents of the message attribute of this marker. In other cases (more than one marker is selected) the status area indicates how many items have been selected.

This method may be overwritten.

This method is called whenever a selection changes in this view.


Parameters:
  selection - a valid selection or null



updateSummarySelected
protected String updateSummarySelected(IStructuredSelection selection)(Code)

Parameters:
  selection - the summary status message



updateSummaryVisible
protected String updateSummaryVisible()(Code)
the update summary



updateTitle
void updateTitle()(Code)



viewerSelectionChanged
protected void viewerSelectionChanged(IStructuredSelection selection)(Code)



writeFiltersSettings
protected void writeFiltersSettings(XMLMemento memento)(Code)
Write the filter settings to the memento.
Parameters:
  memento -



Methods inherited from org.eclipse.ui.views.markers.internal.TableView
void addDropDownContributions(IMenuManager menu)(Code)(Java Doc)
protected ViewerComparator buildComparator()(Code)(Java Doc)
protected void createActions()(Code)(Java Doc)
protected void createColumns(Tree tree)(Code)(Java Doc)
public void createPartControl(Composite parent)(Code)(Java Doc)
TableComparator createTableComparator()(Code)(Java Doc)
protected Tree createTree(Composite parent)(Code)(Java Doc)
abstract Object createViewerInput()(Code)(Java Doc)
abstract protected void fillContextMenu(IMenuManager manager)(Code)(Java Doc)
abstract protected IField[] getAllFields()(Code)(Java Doc)
public ColumnPixelData[] getColumnData()(Code)(Java Doc)
MarkerTreeContentProvider getContentProvider()(Code)(Java Doc)
protected ColumnPixelData[] getDefaultColumnLayouts()(Code)(Java Doc)
abstract protected IDialogSettings getDialogSettings()(Code)(Java Doc)
IAction getFilterAction()(Code)(Java Doc)
protected SelectionListener getHeaderListener()(Code)(Java Doc)
IAction getPreferencesAction()(Code)(Java Doc)
protected IWorkbenchSiteProgressService getProgressService()(Code)(Java Doc)
public ColumnPixelData[] getSavedColumnData()(Code)(Java Doc)
protected TableSortDialog getSortDialog()(Code)(Java Doc)
abstract protected IField[] getSortingFields()(Code)(Java Doc)
TableComparator getTableSorter()(Code)(Java Doc)
protected Tree getTree()(Code)(Java Doc)
protected TreeViewer getViewer()(Code)(Java Doc)
public Object getViewerInput()(Code)(Java Doc)
abstract protected void handleOpenEvent(OpenEvent event)(Code)(Java Doc)
public void init(IViewSite site, IMemento memento) throws PartInitException(Code)(Java Doc)
protected MenuManager initContextMenu()(Code)(Java Doc)
protected void initMenu(IMenuManager menu)(Code)(Java Doc)
abstract protected void initToolBar(IToolBarManager tbm)(Code)(Java Doc)
abstract protected void registerGlobalActions(IActionBars actionBars)(Code)(Java Doc)
public void saveState(IMemento memento)(Code)(Java Doc)
void setComparator(TableComparator comparator)(Code)(Java Doc)
void setFilterAction(FiltersAction action)(Code)(Java Doc)
public void setFocus()(Code)(Java Doc)
void setPreferencesAction(ViewPreferencesAction preferencesAction)(Code)(Java Doc)
protected void setSelection(IStructuredSelection selection)(Code)(Java Doc)
void setSortIndicators()(Code)(Java Doc)
void updateDirectionIndicator(TreeColumn column)(Code)(Java Doc)
void updateForNewComparator(TableComparator comparator)(Code)(Java Doc)
abstract protected void viewerSelectionChanged(IStructuredSelection selection)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.