|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMergeViewerContentProvider
A content provider that mediates between a ContentMergeViewer's model
and the viewer itself.
Clients may implement this interface.
ContentMergeViewer| Method Summary | |
|---|---|
java.lang.Object |
getAncestorContent(java.lang.Object input)
Returns the contents for the ancestor side of a ContentMergeViewer. |
Image |
getAncestorImage(java.lang.Object input)
Returns an optional image for the ancestor side of a ContentMergeViewer. |
java.lang.String |
getAncestorLabel(java.lang.Object input)
Returns the label for the ancestor side of a ContentMergeViewer. |
java.lang.Object |
getLeftContent(java.lang.Object input)
Returns the contents for the left side of a ContentMergeViewer. |
Image |
getLeftImage(java.lang.Object input)
Returns an optional image for the left side of a ContentMergeViewer. |
java.lang.String |
getLeftLabel(java.lang.Object input)
Returns the label for the left side of a ContentMergeViewer. |
java.lang.Object |
getRightContent(java.lang.Object input)
Returns the contents for the right side of a ContentMergeViewer. |
Image |
getRightImage(java.lang.Object input)
Returns an optional image for the right side of a ContentMergeViewer. |
java.lang.String |
getRightLabel(java.lang.Object input)
Returns the label for the right side of a ContentMergeViewer. |
boolean |
isLeftEditable(java.lang.Object input)
Returns whether the left side is editable. |
boolean |
isRightEditable(java.lang.Object input)
Returns whether the right side is editable. |
void |
saveLeftContent(java.lang.Object input,
byte[] bytes)
Saves new contents for the left side of the ContentMergeViewer. |
void |
saveRightContent(java.lang.Object input,
byte[] bytes)
Saves new contents for the right side of the ContentMergeViewer. |
boolean |
showAncestor(java.lang.Object input)
Returns whether the ancestor side of the given input element should be shown. |
| Methods inherited from interface org.eclipse.jface.viewers.IContentProvider |
|---|
dispose, inputChanged |
| Method Detail |
|---|
java.lang.String getAncestorLabel(java.lang.Object input)
ContentMergeViewer.
input - the input object of the ContentMergeViewer
ContentMergeViewerImage getAncestorImage(java.lang.Object input)
ContentMergeViewer.
input - the input object of the ContentMergeViewer
ContentMergeViewer,
or null if nonejava.lang.Object getAncestorContent(java.lang.Object input)
ContentMergeViewer.
The interpretation of the returned object depends on the concrete ContentMergeViewer.
input - the input object of the ContentMergeViewer
ContentMergeViewer,
or null if noneboolean showAncestor(java.lang.Object input)
input - the merge viewer's input
true if the ancestor side of the given input element should be shownjava.lang.String getLeftLabel(java.lang.Object input)
ContentMergeViewer.
input - the input object of the ContentMergeViewer
ContentMergeViewerImage getLeftImage(java.lang.Object input)
ContentMergeViewer.
input - the input object of the ContentMergeViewer
ContentMergeViewer,
or null if nonejava.lang.Object getLeftContent(java.lang.Object input)
ContentMergeViewer.
The interpretation of the returned object depends on the concrete ContentMergeViewer.
input - the input object of the ContentMergeViewer
ContentMergeViewer,
or null if noneboolean isLeftEditable(java.lang.Object input)
input - the input object of the ContentMergeViewer
true if the left side of a ContentMergeViewer is editable
void saveLeftContent(java.lang.Object input,
byte[] bytes)
ContentMergeViewer.
input - the input object of the ContentMergeViewerbytes - the new contents to save for the left sidejava.lang.String getRightLabel(java.lang.Object input)
ContentMergeViewer.
input - the input object of the ContentMergeViewer
ContentMergeViewerImage getRightImage(java.lang.Object input)
ContentMergeViewer.
input - the input object of the ContentMergeViewer
ContentMergeViewer,
or null if nonejava.lang.Object getRightContent(java.lang.Object input)
ContentMergeViewer.
The interpretation of the returned object depends on the concrete ContentMergeViewer.
input - the input object of the ContentMergeViewer
ContentMergeViewer,
or null if noneboolean isRightEditable(java.lang.Object input)
input - the input object of the ContentMergeViewer
true if the right side of a ContentMergeViewer is editable
void saveRightContent(java.lang.Object input,
byte[] bytes)
ContentMergeViewer.
input - the input object of the ContentMergeViewerbytes - the new contents to save for the right side
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.