Eclipse Platform
Release 3.2

org.eclipse.jface.fieldassist
Interface IControlCreator

All Known Implementing Classes:
TextControlCreator

public interface IControlCreator

This interface is used to create a control with a specific parent and style bits. It is used by DecoratedField to create the control to be decorated. Clients are expected to implement this interface in order to create a particular kind of control for decoration.

Since:
3.2

Method Summary
 Control createControl(Composite parent, int style)
          Create a control with the specified parent and style bits.
 

Method Detail

createControl

public Control createControl(Composite parent,
                             int style)
Create a control with the specified parent and style bits.

Parameters:
parent - the parent of the control
style - the style of the control
Returns:
the Control that was created.

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.