Package org.eclipse.core.filebuffers.manipulation

Examples of org.eclipse.core.filebuffers.manipulation.FileBufferOperationRunner.execute()


            } else
              locations= new IPath[] { location };

            if (locations != null && locations.length > 0) {
              FileBufferOperationRunner runner= new FileBufferOperationRunner(FileBuffers.getTextFileBufferManager(), getShell());
              runner.execute(locations, fileBufferOperation, new SubProgressMonitor(monitor, ticks));
            }
            status= new Status(IStatus.OK, EditorsUI.PLUGIN_ID, IStatus.OK, "", null)//$NON-NLS-1$
          } finally {
            monitor.done();
          }
View Full Code Here


            } else
              locations= new IPath[] { location };

            if (locations != null && locations.length > 0) {
              FileBufferOperationRunner runner= new FileBufferOperationRunner(FileBuffers.getTextFileBufferManager(), getShell());
              runner.execute(locations, fileBufferOperation, new SubProgressMonitor(monitor, ticks));
            }
            status= new Status(IStatus.OK, EditorsUI.PLUGIN_ID, IStatus.OK, "", null)//$NON-NLS-1$
          } finally {
            monitor.done();
          }
View Full Code Here

            buffManager, null);

        // execute convert operation in runner
        try {
            // FIXME #2671663: Converting Line Delimiters causes Save
            runner.execute(paths, convertOperation, new NullProgressMonitor());
        } catch (OperationCanceledException e) {
            EditorManager.log.error("Can't convert line delimiters:", e);
        } catch (CoreException e) {
            EditorManager.log.error("Can't convert line delimiters:", e);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.