|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextPieceKeeper
Keeps piece of rendered text of textual node. This text is localized by locator into segment of one line (segments can be for example at end of paragraph). Properties of this text are held by ITextPieceInfo. Rendered and XSLT transformed text of node can only differ by white spaces, its usual that some XML white spaces are losed(for example in XHTML many white spaces are treated as one).
Field Summary |
---|
Fields inherited from interface org.eclipse.gef.EditPart |
---|
SELECTED, SELECTED_NONE, SELECTED_PRIMARY |
Method Summary | |
---|---|
ITextPieceKeeper |
getKeeperInDirection(Direction direction,
int xCoordinate)
Returns keeper located in direction from this keeper at xCoordinate. |
ITextPieceKeeper |
getNextKeeperInDirection(Direction direction)
Returns keeper located next in direction to this's. |
ITextPieceSelectionStatus |
getSelectionStatus()
Returns status about which text is selected. |
String |
getText()
Returns rendered keeper's text. |
ITextPieceContainer |
getTextContainer()
Returns ITextPieceContainer where keeper is held. |
ITextLocator |
getTextLocator()
Returns ITextLocator for this keeper. |
ITextPieceInfo |
getTextPieceInfo()
Returns ITextPieceInfo about keeper's text piece. |
void |
setTextContainer(ITextPieceContainer container)
Sets container |
void |
showSelection()
Shows(renders) actual selection stored in ITextSelectionStatus. |
Methods inherited from interface sk.uniba.euromath.editor.xmlEditor.IXMLEditPart |
---|
getID |
Methods inherited from interface org.eclipse.gef.GraphicalEditPart |
---|
addNodeListener, getContentPane, getFigure, getSourceConnections, getTargetConnections, removeNodeListener, setLayoutConstraint |
Methods inherited from interface org.eclipse.gef.EditPart |
---|
activate, addEditPartListener, addNotify, deactivate, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getDragTracker, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, refresh, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
String getText()
ITextPieceInfo.getRenderedText()
ITextPieceContainer getTextContainer()
void setTextContainer(ITextPieceContainer container)
ITextLocator getTextLocator()
ITextPieceInfo getTextPieceInfo()
ITextPieceSelectionStatus getSelectionStatus()
void showSelection()
ITextPieceKeeper getNextKeeperInDirection(Direction direction)
direction
- one of Direction#LEFT
,
Direction#RIGHT
ITextPieceKeeper getKeeperInDirection(Direction direction, int xCoordinate)
direction
- Direction#TOP
, Direction#BOTTOM
xCoordinate
- x coordinate of vertical to find closest keeper in
direction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |