| org.eclipse.ui.views.markers.internal.MarkerSelectionProviderAction org.eclipse.ui.views.markers.internal.ActionCopyMarker
Constructor Summary | |
public | ActionCopyMarker(IWorkbenchPart part, ISelectionProvider provider) Creates the action. |
Method Summary | |
String | createMarkerReport(IMarker[] rawMarkers) Creates a plain-text report of the selected markers based on predefined
properties. | public void | run() Copies the selected IMarker objects to the clipboard. | public void | selectionChanged(IStructuredSelection selection) | void | setClipboard(Clipboard clipboard) Sets the clipboard that the marker(s) will be copied to. | void | setProperties(IField[] properties) Sets the properties to be added to the plain-text marker report that will
be copied to the clipboard. |
ActionCopyMarker | public ActionCopyMarker(IWorkbenchPart part, ISelectionProvider provider)(Code) | | Creates the action.
Parameters: part - Parameters: provider - |
createMarkerReport | String createMarkerReport(IMarker[] rawMarkers)(Code) | | Creates a plain-text report of the selected markers based on predefined
properties.
Parameters: rawMarkers - the marker report |
run | public void run()(Code) | | Copies the selected IMarker objects to the clipboard. If properties have
been set, also copies a plain-text report of the selected markers to the
clipboard.
|
selectionChanged | public void selectionChanged(IStructuredSelection selection)(Code) | | |
setClipboard | void setClipboard(Clipboard clipboard)(Code) | | Sets the clipboard that the marker(s) will be copied to.
Parameters: clipboard - the clipboard |
setProperties | void setProperties(IField[] properties)(Code) | | Sets the properties to be added to the plain-text marker report that will
be copied to the clipboard.
Parameters: properties - |
Methods inherited from org.eclipse.ui.views.markers.internal.MarkerSelectionProviderAction | void execute(IUndoableOperation operation, String title, IProgressMonitor monitor, IAdaptable uiInfo)(Code)(Java Doc) IMarker getSelectedMarker()(Code)(Java Doc) IMarker[] getSelectedMarkers()(Code)(Java Doc) IMarker[] getSelectedMarkers(IStructuredSelection structured)(Code)(Java Doc)
|
|
|