|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.viewers.CellEditor
org.eclipse.jface.viewers.DialogCellEditor
org.eclipse.gmf.runtime.diagram.ui.properties.descriptors.GradientCellEditor
public class GradientCellEditor
A cell editor that manages the gradient field.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
CellEditor.LayoutData |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.viewers.DialogCellEditor |
|---|
CELL_EDITOR_IMG_DOTS_BUTTON |
| Fields inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO |
| Constructor Summary | |
|---|---|
GradientCellEditor(Composite parent)
Creates a new GradientCellEditor with the given control as the parent. |
|
GradientCellEditor(Composite parent,
int style)
Creates a new GradientCellEditor with the given control as the parent. |
|
| Method Summary | |
|---|---|
protected Control |
createContents(Composite cell)
Creates gradientLabel |
protected java.lang.Object |
openDialogBox(Control cellEditorWindow)
Opens GradientSelectionDialog without transparency setting available, receives the return values and uses them to create the resulting GradientData object. |
protected void |
updateContents(java.lang.Object value)
Updates the contents of this cell editor, i.e. the value of gradientLabel with the given value. |
| Methods inherited from class org.eclipse.jface.viewers.DialogCellEditor |
|---|
createButton, createControl, deactivate, doGetValue, doSetFocus, doSetValue, getDefaultLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GradientCellEditor(Composite parent)
parent - the parent control
public GradientCellEditor(Composite parent,
int style)
parent - the parent controlstyle - the style bits| Method Detail |
|---|
protected java.lang.Object openDialogBox(Control cellEditorWindow)
openDialogBox in class DialogCellEditorDialogCellEditor.openDialogBox(org.eclipse.swt.widgets.Control)protected Control createContents(Composite cell)
createContents in class DialogCellEditorDialogCellEditor.createContents(org.eclipse.swt.widgets.Composite)protected void updateContents(java.lang.Object value)
updateContents in class DialogCellEditorDialogCellEditor.updateContents(java.lang.Object)
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.