org.eclipse.tptp.context.sample.clanguage
Class MethodUnitFormatter
java.lang.Object
org.eclipse.tptp.context.sample.clanguage.MethodUnitFormatter
- All Implemented Interfaces:
- org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider
public class MethodUnitFormatter
- extends java.lang.Object
- implements org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider
| Fields inherited from interface org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider |
MODE_COLUMN_CONTENT, MODE_COLUMN_HEADER, MODE_VIEW_ACTION, MODE_VIEW_FILTER |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodUnitFormatter
public MethodUnitFormatter()
getDisplayStringFromElement
public java.lang.String getDisplayStringFromElement(java.lang.Object value,
java.lang.Object element,
int mode)
- Specified by:
getDisplayStringFromElement in interface org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider
getDisplayImageByElement
public org.eclipse.swt.graphics.Image getDisplayImageByElement(java.lang.Object value,
java.lang.Object element,
int mode)
- Specified by:
getDisplayImageByElement in interface org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider
getDisplayDescription
public java.lang.String getDisplayDescription()
- Specified by:
getDisplayDescription in interface org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider
getDisplayToolTip
public java.lang.String getDisplayToolTip()
- Specified by:
getDisplayToolTip in interface org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider
convertModelValueToDisplayString
public java.lang.String convertModelValueToDisplayString(java.lang.String text)
- Specified by:
convertModelValueToDisplayString in interface org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider
convertDisplayStringToModelValue
public java.lang.String convertDisplayStringToModelValue(java.lang.String text)
- Specified by:
convertDisplayStringToModelValue in interface org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider
getSupportModes
public int[] getSupportModes()
- Specified by:
getSupportModes in interface org.eclipse.hyades.ui.provisional.context.IContextLabelFormatProvider