Revision 0d4ff026
Added by Alex Theys almost 12 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/DescriptiveViewPart.java | ||
---|---|---|
63 | 63 |
/** Constant <code>ID="eu.etaxonomy.taxeditor.editor.view.desc"{trunked}</code> */ |
64 | 64 |
public static final String ID = "eu.etaxonomy.taxeditor.editor.view.descriptive"; |
65 | 65 |
|
66 |
private TreeViewer viewer;
|
|
66 |
protected TreeViewer viewer;
|
|
67 | 67 |
|
68 |
private Map<TaxonDescription, FeatureNodeContainerTree> featureNodeContainerCache = new HashMap<TaxonDescription, FeatureNodeContainerTree>();
|
|
68 |
protected Map<TaxonDescription, FeatureNodeContainerTree> featureNodeContainerCache = new HashMap<TaxonDescription, FeatureNodeContainerTree>();
|
|
69 | 69 |
|
70 |
private ToggleDescriptionAction showAllElementsAction;
|
|
70 |
protected ToggleDescriptionAction showAllElementsAction;
|
|
71 | 71 |
|
72 |
private ToggleDescriptionAction hideAllElementsAction;
|
|
72 |
protected ToggleDescriptionAction hideAllElementsAction;
|
|
73 | 73 |
|
74 | 74 |
private int dndOperations = DND.DROP_COPY | DND.DROP_MOVE; |
75 | 75 |
|
... | ... | |
118 | 118 |
return super.getInitialSelection(); |
119 | 119 |
} |
120 | 120 |
|
121 |
private void createToolbar() {
|
|
121 |
protected void createToolbar() {
|
|
122 | 122 |
IToolBarManager toolBarManager = getViewSite().getActionBars().getToolBarManager(); |
123 | 123 |
toolBarManager.add(showAllElementsAction); |
124 | 124 |
toolBarManager.add(hideAllElementsAction); |
... | ... | |
127 | 127 |
/* |
128 | 128 |
* TODO add to the views menu |
129 | 129 |
*/ |
130 |
private void createMenu(){
|
|
130 |
protected void createMenu(){
|
|
131 | 131 |
MenuManager menuManager = new MenuManager(); |
132 | 132 |
menuManager.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS)); |
133 | 133 |
|
... | ... | |
181 | 181 |
* @created May 28, 2010 |
182 | 182 |
* @version 1.0 |
183 | 183 |
*/ |
184 |
private class ToggleDescriptionAction extends Action{
|
|
184 |
protected class ToggleDescriptionAction extends Action{
|
|
185 | 185 |
private boolean expanded; |
186 | 186 |
|
187 | 187 |
public ToggleDescriptionAction(boolean expand){ |
Also available in: Unified diff
AT: committing changes to the TaxEditor Post second round of code review