|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A content provider that mediates between a ContentMergeViewer's model and the viewer itself.
Clients may implement this interface.
Method Summary | |
Object | getAncestorContent(Object input)
Returns the contents for the ancestor side of a ContentMergeViewer. |
Image | getAncestorImage(Object input)
Returns an optional image for the ancestor side of a ContentMergeViewer. |
String | getAncestorLabel(Object input)
Returns the label for the ancestor side of a ContentMergeViewer. |
Object | getLeftContent(Object input)
Returns the contents for the left side of a ContentMergeViewer. |
Image | getLeftImage(Object input)
Returns an optional image for the left side of a ContentMergeViewer. |
String | getLeftLabel(Object input)
Returns the label for the left side of a ContentMergeViewer. |
Object | getRightContent(Object input)
Returns the contents for the right side of a ContentMergeViewer. |
Image | getRightImage(Object input)
Returns an optional image for the right side of a ContentMergeViewer. |
String | getRightLabel(Object input)
Returns the label for the right side of a ContentMergeViewer. |
boolean | isLeftEditable(Object input)
Returns whether the left side is editable. |
boolean | isRightEditable(Object input)
Returns whether the right side is editable. |
void | saveLeftContent(Object input,
byte[] bytes)
Saves new contents for the left side of the ContentMergeViewer. |
void | saveRightContent(Object input,
byte[] bytes)
Saves new contents for the right side of the ContentMergeViewer. |
boolean | showAncestor(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 |
public String getAncestorLabel(Object input)
public Image getAncestorImage(Object input)
public Object getAncestorContent(Object input)
public boolean showAncestor(Object input)
public String getLeftLabel(Object input)
public Image getLeftImage(Object input)
public Object getLeftContent(Object input)
public boolean isLeftEditable(Object input)
public void saveLeftContent(Object input, byte[] bytes)
public String getRightLabel(Object input)
public Image getRightImage(Object input)
public Object getRightContent(Object input)
public boolean isRightEditable(Object input)
public void saveRightContent(Object input, byte[] bytes)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.