| org.eclipse.ui.texteditor.ResourceAction org.eclipse.ui.texteditor.TextEditorAction org.eclipse.ui.texteditor.DeleteLineAction
DeleteLineAction | public class DeleteLineAction extends TextEditorAction (Code) | | An action to delete a whole line, the fraction of the line that is left from the cursor
or the fraction that is right from the cursor.
since: 2.0 |
Field Summary | |
final public static int | TO_BEGINNING Delete to the beginning of line. | final public static int | TO_END Delete to the end of line. | final public static int | WHOLE Delete the whole line. |
Method Summary | |
public void | run() | public void | update() |
TO_BEGINNING | final public static int TO_BEGINNING(Code) | | Delete to the beginning of line.
|
TO_END | final public static int TO_END(Code) | | Delete to the end of line.
|
WHOLE | final public static int WHOLE(Code) | | Delete the whole line.
|
DeleteLineAction | public DeleteLineAction(ResourceBundle bundle, String prefix, ITextEditor editor, int type)(Code) | | Creates a line delimiter conversion action.
Parameters: bundle - the resource bundle for UI strings Parameters: prefix - the prefix for the property keys into bundle Parameters: editor - the editor Parameters: type - the line deletion type, must be one ofWHOLE_LINE , TO_BEGINNING or TO_END |
DeleteLineAction | public DeleteLineAction(ResourceBundle bundle, String prefix, ITextEditor editor, int type, boolean copyToClipboard)(Code) | | Creates a line deletion action.
Parameters: bundle - the resource bundle for UI strings Parameters: prefix - the prefix for the property keys into bundle Parameters: editor - the editor Parameters: type - the line deletion type, must be one ofWHOLE_LINE , TO_BEGINNING or TO_END Parameters: copyToClipboard - if true , the contents of the deleted line are copied to the clipboard since: 2.1 |
update | public void update()(Code) | | |
|
|