| org.eclipse.ui.examples.readmetool.AddReadmeMarkerAction
AddReadmeMarkerAction | public class AddReadmeMarkerAction extends Action (Code) | | Action for creating a readme marker with a specfic id
attribute value.
|
Method Summary | |
protected IResource | getResource() Returns the resource on which to create the marker,
or null if there is no applicable resource. | public void | run() |
AddReadmeMarkerAction | public AddReadmeMarkerAction(ITextEditor editor, String label, Object[][] attributes, String message)(Code) | | Creates a new action for the given text editor.
Parameters: editor - the text editor Parameters: label - the label for the action Parameters: attributes - the custom attributes for this marker Parameters: message - the message for the marker |
getResource | protected IResource getResource()(Code) | | Returns the resource on which to create the marker,
or null if there is no applicable resource. This
queries the editor's input using getAdapter(IResource.class) .
the resource to which to attach the newly created marker |
|
|