1 11 package org.eclipse.compare.contentmergeviewer; 12 13 import org.eclipse.swt.graphics.Image; 14 import org.eclipse.jface.viewers.IContentProvider; 15 16 17 26 public interface IMergeViewerContentProvider extends IContentProvider { 27 28 30 36 String getAncestorLabel(Object input); 37 38 45 Image getAncestorImage(Object input); 46 47 55 Object getAncestorContent(Object input); 56 57 62 boolean showAncestor(Object input); 63 64 66 72 String getLeftLabel(Object input); 73 74 81 Image getLeftImage(Object input); 82 83 91 Object getLeftContent(Object input); 92 93 99 boolean isLeftEditable(Object input); 100 101 107 void saveLeftContent(Object input, byte[] bytes); 108 109 111 117 String getRightLabel(Object input); 118 119 126 Image getRightImage(Object input); 127 128 136 Object getRightContent(Object input); 137 138 144 boolean isRightEditable(Object input); 145 146 152 void saveRightContent(Object input, byte[] bytes); 153 } 154 155 156 | Popular Tags |