Package org.chromium.debug.ui.liveedit.LiveEditDiffViewer

Examples of org.chromium.debug.ui.liveedit.LiveEditDiffViewer.SourceText


      this.newSource = newSource;
      this.oldSource = oldSource;
    }

    public SourceText getNewSource() {
      return new SourceText() {
        public String getText() {
          return newSource;
        }
        public String getTitle() {
          return Messages.PushResultParser_LOCAL_FILE;
View Full Code Here


          return Messages.PushResultParser_LOCAL_FILE;
        }
      };
    }
    public SourceText getOldSource() {
      return new SourceText() {
        public String getText() {
          return oldSource;
        }
        public String getTitle() {
          return Messages.PushResultParser_SCRIPT_IN_VM;
View Full Code Here

    TreeBuilder builder = new TreeBuilder(previewMode, oldPositionOffset, newPositionOffset);
    final FunctionNode rootFunction = builder.build(changeDescription);

    return new LiveEditDiffViewer.Input() {
      public SourceText getNewSource() {
        return new SourceText() {
          public String getText() {
            return newSource;
          }
          public String getTitle() {
            return Messages.PushResultParser_LOCAL_FILE;
          }
        };
      }
      public SourceText getOldSource() {
        return new SourceText() {
          public String getText() {
            return oldSource;
          }
          public String getTitle() {
            return Messages.PushResultParser_SCRIPT_IN_VM;
View Full Code Here

TOP

Related Classes of org.chromium.debug.ui.liveedit.LiveEditDiffViewer.SourceText

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.