Class CComboContentAdapter

java.lang.Object
com.amalgamasimulation.desktop.binding.CComboContentAdapter
All Implemented Interfaces:
org.eclipse.jface.fieldassist.IControlContentAdapter, org.eclipse.jface.fieldassist.IControlContentAdapter2

public class CComboContentAdapter extends Object implements org.eclipse.jface.fieldassist.IControlContentAdapter, org.eclipse.jface.fieldassist.IControlContentAdapter2
  • Constructor Details

    • CComboContentAdapter

      public CComboContentAdapter()
  • Method Details

    • getControlContents

      public String getControlContents(org.eclipse.swt.widgets.Control control)
      Specified by:
      getControlContents in interface org.eclipse.jface.fieldassist.IControlContentAdapter
    • setControlContents

      public void setControlContents(org.eclipse.swt.widgets.Control control, String text, int cursorPosition)
      Specified by:
      setControlContents in interface org.eclipse.jface.fieldassist.IControlContentAdapter
    • insertControlContents

      public void insertControlContents(org.eclipse.swt.widgets.Control control, String text, int cursorPosition)
      Specified by:
      insertControlContents in interface org.eclipse.jface.fieldassist.IControlContentAdapter
    • getCursorPosition

      public int getCursorPosition(org.eclipse.swt.widgets.Control control)
      Specified by:
      getCursorPosition in interface org.eclipse.jface.fieldassist.IControlContentAdapter
    • getInsertionBounds

      public org.eclipse.swt.graphics.Rectangle getInsertionBounds(org.eclipse.swt.widgets.Control control)
      Specified by:
      getInsertionBounds in interface org.eclipse.jface.fieldassist.IControlContentAdapter
    • setCursorPosition

      public void setCursorPosition(org.eclipse.swt.widgets.Control control, int index)
      Specified by:
      setCursorPosition in interface org.eclipse.jface.fieldassist.IControlContentAdapter
    • getSelection

      public org.eclipse.swt.graphics.Point getSelection(org.eclipse.swt.widgets.Control control)
      Specified by:
      getSelection in interface org.eclipse.jface.fieldassist.IControlContentAdapter2
      Since:
      3.4
      See Also:
      • IControlContentAdapter2.getSelection(org.eclipse.swt.widgets.Control)
    • setSelection

      public void setSelection(org.eclipse.swt.widgets.Control control, org.eclipse.swt.graphics.Point range)
      Specified by:
      setSelection in interface org.eclipse.jface.fieldassist.IControlContentAdapter2
      Since:
      3.4
      See Also:
      • IControlContentAdapter2.setSelection(org.eclipse.swt.widgets.Control, org.eclipse.swt.graphics.Point)