public class CreateRichTextControlWithSharedToolBarOperation extends CreateRichTextControlOperation
| Constructor and Description |
|---|
CreateRichTextControlWithSharedToolBarOperation(org.eclipse.swt.widgets.Composite parent,
int style,
IRichTextToolBar toolbar,
java.lang.Object factory)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(ITextControlProvider provider)
Executes this operation on ITextControlProvider.
|
getControlFactory, getParent, getStylepublic CreateRichTextControlWithSharedToolBarOperation(org.eclipse.swt.widgets.Composite parent,
int style,
IRichTextToolBar toolbar,
java.lang.Object factory)
parent - The parent composite.style - The style bits for the new control.toolbar - The shared tool bar.factory - An optional factory.public java.lang.Object execute(ITextControlProvider provider)
ITextControlOperationService implementers generally implement this method by first casting the ITextControlProvider to their service specific ITextControlProvider-derived class and then by delegating it the execution. Delegation is accomplished through the ITextControlProvider derived class API.
execute in interface ITextControlOperationexecute in class CreateRichTextControlOperationprovider - The provider on which to execute the operation.