|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.editor.xmlEditor.XMLEditPartFactory sk.uniba.euromath.editor.textEditor.TextEditPartFactory
public class TextEditPartFactory
Field Summary | |
---|---|
protected CaretManager |
caretManager
Manager that cares about Caret |
Constructor Summary | |
---|---|
TextEditPartFactory(XMLAccess xmlAccess,
CaretManager cManager,
org.eclipse.gef.GraphicalViewer graphicalViewer)
Constructor. |
Method Summary | |
---|---|
void |
clearIdContainersMap()
Clears the map. |
org.eclipse.gef.EditPart |
createEditPart(org.eclipse.gef.EditPart context,
Object model)
Creates TextEditPart for ITextLocator, sets container for it and updates visual info or call super for another model. |
protected TextEditPart |
createTextEditPart(ITextLocator figure)
Creates edit part expected for ITextLocator figure. |
org.eclipse.gef.GraphicalViewer |
getGraphicalViewer()
|
Map<String,List<ITextPieceContainer>> |
getIdContainersMap()
Maps id of node to all created containers fot that node. |
IDManager |
getIdManager()
Returns id manager. |
protected XMLAccess |
getXmlAccess()
|
Methods inherited from class sk.uniba.euromath.editor.xmlEditor.XMLEditPartFactory |
---|
getVisualInfo, updateVisualInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final CaretManager caretManager
Constructor Detail |
---|
public TextEditPartFactory(XMLAccess xmlAccess, CaretManager cManager, org.eclipse.gef.GraphicalViewer graphicalViewer)
xmlAccess
- xml access instancecManager
- CaretManagergraphicalViewer
- graphical viewer referenceMethod Detail |
---|
public IDManager getIdManager()
protected XMLAccess getXmlAccess()
protected TextEditPart createTextEditPart(ITextLocator figure)
figure
- ITextLocator figure
public org.eclipse.gef.EditPart createEditPart(org.eclipse.gef.EditPart context, Object model)
createEditPart
in interface org.eclipse.gef.EditPartFactory
createEditPart
in class XMLEditPartFactory
context
- parent EditPartmodel
- figure for which editPart should be createdpublic org.eclipse.gef.GraphicalViewer getGraphicalViewer()
public Map<String,List<ITextPieceContainer>> getIdContainersMap()
public void clearIdContainersMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |