Package org.eclipse.core.filebuffers.manipulation

Examples of org.eclipse.core.filebuffers.manipulation.ConvertLineDelimitersOperation


public class ConvertLineDelimitersAction extends FileBufferOperationAction {

  private String fLabel;

  protected ConvertLineDelimitersAction(String lineDelimiter, String label) {
    super(new ConvertLineDelimitersOperation(lineDelimiter));
    setText(constructLabel(label, lineDelimiter, System.getProperty("line.separator"))); //$NON-NLS-1$
    fLabel= Action.removeMnemonics(label);
  }
View Full Code Here


        ITextFileBufferManager buffManager = FileBuffers
            .getTextFileBufferManager();

        // convert operation to change line delimiters
        TextFileBufferOperation convertOperation = new ConvertLineDelimitersOperation(
            "\n");

        // operation runner for the convert operation
        FileBufferOperationRunner runner = new FileBufferOperationRunner(
            buffManager, null);
View Full Code Here

TOP

Related Classes of org.eclipse.core.filebuffers.manipulation.ConvertLineDelimitersOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.