public abstract class RichTextEditPart extends org.eclipse.gef.editparts.AbstractGraphicalEditPart implements ITextControlEditPart
setText(String).| Modifier and Type | Field and Description |
|---|---|
protected com.ibm.xtools.richtext.emf.internal.html.HTMLReader |
htmlReader |
figure, sourceConnections, targetConnectionschildren, FLAG_ACTIVE, FLAG_FOCUS, MAX_FLAGREQ_ADD, REQ_ALIGN, REQ_ALIGN_CHILDREN, REQ_CLONE, REQ_CONNECTION_END, REQ_CONNECTION_START, REQ_CREATE, REQ_CREATE_BENDPOINT, REQ_DELETE, REQ_DELETE_DEPENDANT, REQ_DIRECT_EDIT, REQ_MOVE, REQ_MOVE_BENDPOINT, REQ_MOVE_CHILDREN, REQ_OPEN, REQ_ORPHAN, REQ_ORPHAN_CHILDREN, REQ_RECONNECT_SOURCE, REQ_RECONNECT_TARGET, REQ_RESIZE, REQ_RESIZE_CHILDREN, REQ_SELECTION, REQ_SELECTION_HOVER| Constructor and Description |
|---|
RichTextEditPart() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createEditPolicies() |
protected org.eclipse.draw2d.IFigure |
createFigure() |
org.eclipse.draw2d.IFigure |
getContentPane() |
protected org.eclipse.gef.tools.DirectEditManager |
getManager()
Provides DirectEditManager that can handle the direct edit request of
this edit part.
|
abstract java.lang.String |
getText()
Gets the rich text content of this edit part
|
protected boolean |
isShowScrollbar()
If rich text content can not all be displayed within the visible area of
this edit part, this method determines if the tool should display scroll
bar or not.
|
protected void |
performDirectEdit()
Performs direct edit request.
|
void |
performRequest(org.eclipse.gef.Request req) |
abstract void |
setText(java.lang.String text)
Sets the rich text content of this edit part
|
activate, addChildVisual, addNodeListener, addNotify, addSourceConnection, addTargetConnection, createConnection, createOrFindConnection, deactivate, fireRemovingSourceConnection, fireRemovingTargetConnection, fireSourceConnectionAdded, fireTargetConnectionAdded, getAdapter, getDragTracker, getFigure, getLayer, getModelSourceConnections, getModelTargetConnections, getSourceConnections, getTargetConnections, isSelectable, primAddSourceConnection, primAddTargetConnection, primRemoveSourceConnection, primRemoveTargetConnection, refresh, refreshSourceConnections, refreshTargetConnections, registerVisuals, removeChildVisual, removeNodeListener, removeNotify, removeSourceConnection, removeTargetConnection, reorderChild, reorderSourceConnection, reorderTargetConnection, setFigure, setLayoutConstraint, unregisterVisualsactivateEditPolicies, addChild, addEditPartListener, createChild, deactivateEditPolicies, debug, debugFeedback, eraseSourceFeedback, eraseTargetFeedback, fireActivated, fireChildAdded, fireDeactivated, fireRemovingChild, fireSelectionChanged, getAccessibleEditPart, getChildren, getCommand, getEditPolicy, getEditPolicyIterator, getEventListeners, getFlag, getModel, getModelChildren, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, refreshChildren, refreshVisuals, register, registerAccessibility, registerModel, removeChild, removeEditPartListener, removeEditPolicy, setFlag, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, toString, understandsRequest, unregister, unregisterAccessibility, unregisterModelclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddNodeListener, getFigure, getSourceConnections, getTargetConnections, removeNodeListener, setLayoutConstraintactivate, addEditPartListener, addNotify, deactivate, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getDragTracker, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, refresh, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequestprotected org.eclipse.draw2d.IFigure createFigure()
createFigure in class org.eclipse.gef.editparts.AbstractGraphicalEditPartprotected boolean isShowScrollbar()
public org.eclipse.draw2d.IFigure getContentPane()
getContentPane in interface org.eclipse.gef.GraphicalEditPartgetContentPane in class org.eclipse.gef.editparts.AbstractGraphicalEditPartpublic void performRequest(org.eclipse.gef.Request req)
performRequest in interface org.eclipse.gef.EditPartperformRequest in class org.eclipse.gef.editparts.AbstractEditPartprotected void performDirectEdit()
DirectEditManagerprotected org.eclipse.gef.tools.DirectEditManager getManager()
protected void createEditPolicies()
createEditPolicies in class org.eclipse.gef.editparts.AbstractEditPartpublic abstract java.lang.String getText()
getText in interface ITextControlEditPartITextControlEditPart.getText()public abstract void setText(java.lang.String text)
setText in interface ITextControlEditParttext - text contentITextControlEditPart.setText(java.lang.String)