|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.editor.actions.AbstractActionContributor
sk.uniba.euromath.editor.xmlEditor.actions.XMLActionContributor
sk.uniba.euromath.editor.textEditor.actions.TextActionContributor
public class TextActionContributor
| Constructor Summary | |
|---|---|
TextActionContributor(EditorSite site,
org.eclipse.gef.GraphicalViewer viewer,
CaretManager caretManager)
Constructor. |
|
| Method Summary | |
|---|---|
protected IMultiViewAction |
checkOrCreateAction(String key)
Checks for action with id key in registry. |
protected void |
configureFactory()
Configures factory. |
protected void |
contributeToContextMenu(IMenuManager manager)
Fills context menu. |
void |
contributeToMenu(IMenuManager manager)
Contribute to global menu by modifying passed manager. |
void |
contributeToStatusLine(IStatusLineManager manager)
Contribute to status line by modifying passed manager. |
protected void |
createContextMenu()
Creates two more menus. |
protected EMMenuManager |
getEntityMenu()
|
protected EMMenuManager |
getInsertAtCaretMenu()
|
protected void |
populateDeleteMenu(IMenuManager manager)
Adds statically to more action to delete menu. |
protected void |
populateEntityMenu(IMenuManager manager)
Fills up entity menu to right content. |
protected void |
populateInsertAtCaretMenu(IMenuManager manager)
Fills up insert menu to right content. |
| Methods inherited from class sk.uniba.euromath.editor.xmlEditor.actions.XMLActionContributor |
|---|
contributeCoolBar, contributeToToolBar, getActionRegistry, getAttributeMenu, getContextMenuManager, getDeleteMenu, getEditorSite, getGlobalActionRegistry, getGraphicalViewer, getInsertAfterMenu, getInsertBeforeMenu, getInsertChildMenu, getWorkbenchPart, init, populateAttributeMenu, populateElementMenu, populateInsertPositionMenu, setEditorSite, setGlobalActionRegistry, setGraphicalViewer |
| Methods inherited from class sk.uniba.euromath.editor.actions.AbstractActionContributor |
|---|
checkOrCreateActions, getActionFactory, getDocumentModifyHelper, getSelectionActions, getXMLAccess, selectionChangedHandle, setActionFactory, setSelectionActions, setXMLAccess |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextActionContributor(EditorSite site,
org.eclipse.gef.GraphicalViewer viewer,
CaretManager caretManager)
site - viewer - caretProvider - | Method Detail |
|---|
protected void configureFactory()
AbstractActionContributor
configureFactory in class XMLActionContributorprotected IMultiViewAction checkOrCreateAction(String key)
AbstractActionContributor
checkOrCreateAction in class AbstractActionContributorkey - to identify action, must be IAction.getId()
protected void createContextMenu()
createContextMenu in class XMLActionContributorprotected void contributeToContextMenu(IMenuManager manager)
XMLActionContributor
contributeToContextMenu in class XMLActionContributorprotected void populateInsertAtCaretMenu(IMenuManager manager)
manager - of insert menuprotected void populateEntityMenu(IMenuManager manager)
manager - of entity menuprotected void populateDeleteMenu(IMenuManager manager)
populateDeleteMenu in class XMLActionContributormanager - deleteMenu managerpublic void contributeToStatusLine(IStatusLineManager manager)
IActionContributor
contributeToStatusLine in interface IActionContributorcontributeToStatusLine in class XMLActionContributorpublic void contributeToMenu(IMenuManager manager)
IActionContributor
contributeToMenu in interface IActionContributorcontributeToMenu in class XMLActionContributorprotected EMMenuManager getEntityMenu()
protected EMMenuManager getInsertAtCaretMenu()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||