|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.part.Page
org.eclipse.m2m.atl.adt.ui.outline.AtlOutlinePage
org.eclipse.m2m.atl.adt.ui.outline.AtlContentOutlinePage
public class AtlContentOutlinePage
| Field Summary | |
|---|---|
static java.lang.String |
ATL_OUTLINE_VIEW_CONTEXT_MENU_ID
The outline view context menu id. |
| Fields inherited from class org.eclipse.m2m.atl.adt.ui.outline.AtlOutlinePage |
|---|
selectionChangedListeners, treeViewer |
| Constructor Summary | |
|---|---|
AtlContentOutlinePage(org.eclipse.ui.texteditor.ITextEditor textEditor,
org.eclipse.ui.IEditorInput editorInput,
org.eclipse.ui.texteditor.IDocumentProvider documentProvider)
|
|
| Method Summary | |
|---|---|
void |
createActions()
Creates the actions that will be used in the toolbar of the view and in the context menu of the tree viewer. |
void |
createControl(org.eclipse.swt.widgets.Composite arg0)
|
void |
createFiltersAndSorters()
Creates the filters and sorters. |
org.eclipse.emf.ecore.EObject |
getModel()
|
static int[] |
getPos(org.eclipse.emf.ecore.EObject eo)
Return an array with two value. first value : index of start char second value : index of end char. |
void |
setSelection(java.lang.String currentCursorPosition)
Sets the selection to the given cursorPosition. |
void |
setUnit()
Sets the Unit of the input of the tree Viewer. |
protected void |
updateFilters(org.eclipse.jface.action.Action actionParam)
Updates the filters of the tree viewer Multiple filters can be enabled at a time. |
protected void |
updateSorter(org.eclipse.jface.action.Action actionParam)
Updates the sorter of the tree viewer One sorter can be enabled at a time. |
| Methods inherited from class org.eclipse.m2m.atl.adt.ui.outline.AtlOutlinePage |
|---|
addPostSelectionChangedListener, addSelectionChangedListener, getControl, getSelection, removePostSelectionChangedListener, removeSelectionChangedListener, setFocus, setSelection |
| Methods inherited from class org.eclipse.ui.part.Page |
|---|
dispose, getSite, init, makeContributions, setActionBars |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.part.IPage |
|---|
dispose, setActionBars |
| Field Detail |
|---|
public static final java.lang.String ATL_OUTLINE_VIEW_CONTEXT_MENU_ID
| Constructor Detail |
|---|
public AtlContentOutlinePage(org.eclipse.ui.texteditor.ITextEditor textEditor,
org.eclipse.ui.IEditorInput editorInput,
org.eclipse.ui.texteditor.IDocumentProvider documentProvider)
textEditor - editorInput - documentProvider - | Method Detail |
|---|
public void createActions()
public void createControl(org.eclipse.swt.widgets.Composite arg0)
createControl in interface org.eclipse.ui.part.IPagecreateControl in class AtlOutlinePageAtlOutlinePage.createControl(org.eclipse.swt.widgets.Composite)public void createFiltersAndSorters()
public static int[] getPos(org.eclipse.emf.ecore.EObject eo)
eo - The EObject for which to compute index of end/start char
public void setUnit()
public void setSelection(java.lang.String currentCursorPosition)
currentCursorPosition - the cursor positionprotected void updateFilters(org.eclipse.jface.action.Action actionParam)
actionParam - the actionprotected void updateSorter(org.eclipse.jface.action.Action actionParam)
actionParam - the actionpublic org.eclipse.emf.ecore.EObject getModel()
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||