|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.tptp.context.sample.clanguage.CompileUnitFormatter
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider |
|---|
MODE_COLUMN_CONTENT, MODE_COLUMN_HEADER, MODE_VIEW_ACTION, MODE_VIEW_FILTER |
| Constructor Summary | |
|---|---|
CompileUnitFormatter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
convertDisplayStringToModelValue(java.lang.String text)
Converts the given display text to be displayed/entered in the filter dialog to the model value in the context associated with this IContextLabelFormatProvider. |
java.lang.String |
convertModelValueToDisplayString(java.lang.String text)
Converts the given model value text to the displayed text in the filter dialog in the context associated with this IContextLabelFormatProvider. |
java.lang.String |
getDisplayDescription()
Returns the display description if a display description is shown for the attribute. |
org.eclipse.swt.graphics.Image |
getDisplayImageByElement(java.lang.Object value,
java.lang.Object element,
int mode)
This returns the display image given the value to be displayed, the element this String is associated with, and the mode to determine which image to show. |
java.lang.String |
getDisplayStringFromElement(java.lang.Object value,
java.lang.Object element,
int mode)
This returns the display string given the value to be displayed, the element this String is associated with, and the mode to determine which String to show. |
java.lang.String |
getDisplayToolTip()
Returns the display tool tip if a tool tip is shown for the attribute. |
int[] |
getSupportModes()
Returns the supported modes of this IContextLabelFormatProvider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompileUnitFormatter()
| Method Detail |
public java.lang.String getDisplayStringFromElement(java.lang.Object value,
java.lang.Object element,
int mode)
IContextLabelFormatProvider
getDisplayStringFromElement in interface IContextLabelFormatProvidervalue - the value to be displayedelement - the element associated with this Stringmode - the mode to determine which String to display
public org.eclipse.swt.graphics.Image getDisplayImageByElement(java.lang.Object value,
java.lang.Object element,
int mode)
IContextLabelFormatProvider
getDisplayImageByElement in interface IContextLabelFormatProvidervalue - the value to be displayedelement - the element associated with this Stringmode - the mode to determine which String to display
public java.lang.String getDisplayDescription()
IContextLabelFormatProvider
getDisplayDescription in interface IContextLabelFormatProviderpublic java.lang.String getDisplayToolTip()
IContextLabelFormatProvider
getDisplayToolTip in interface IContextLabelFormatProviderpublic java.lang.String convertModelValueToDisplayString(java.lang.String text)
IContextLabelFormatProvider
convertModelValueToDisplayString in interface IContextLabelFormatProvidertext - String the text to be converted
public java.lang.String convertDisplayStringToModelValue(java.lang.String text)
IContextLabelFormatProvider
convertDisplayStringToModelValue in interface IContextLabelFormatProvidertext - String the text to be converted
public int[] getSupportModes()
IContextLabelFormatProvider
getSupportModes in interface IContextLabelFormatProvider
|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||