Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.examples.acore.editor/src/org/eclipse/emf/cdo/dawn/examples/acore/presentation/AcoreActionBarContributor.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.editor/src/org/eclipse/emf/cdo/dawn/examples/acore/presentation/AcoreActionBarContributor.java46
1 files changed, 23 insertions, 23 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.editor/src/org/eclipse/emf/cdo/dawn/examples/acore/presentation/AcoreActionBarContributor.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.editor/src/org/eclipse/emf/cdo/dawn/examples/acore/presentation/AcoreActionBarContributor.java
index 2ef5436d28..7962e82f6e 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.editor/src/org/eclipse/emf/cdo/dawn/examples/acore/presentation/AcoreActionBarContributor.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.editor/src/org/eclipse/emf/cdo/dawn/examples/acore/presentation/AcoreActionBarContributor.java
@@ -4,10 +4,10 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Martin Fluegge - initial API and implementation
- *
+ *
*/
package org.eclipse.emf.cdo.dawn.examples.acore.presentation;
@@ -46,28 +46,28 @@ import java.util.Collection;
/**
* This is the action bar contributor for the Acore model editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class AcoreActionBarContributor extends EditingDomainActionBarContributor implements ISelectionChangedListener
{
/**
* This keeps track of the active editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IEditorPart activeEditorPart;
/**
* This keeps track of the current selection provider. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ISelectionProvider selectionProvider;
/**
* This action opens the Properties view. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IAction showPropertiesViewAction = new Action(
@@ -90,7 +90,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* This action refreshes the viewer of the current editor if the editor implements
* {@link org.eclipse.emf.common.ui.viewer.IViewerProvider}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IAction refreshViewerAction = new Action(
@@ -119,7 +119,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* This will contain one {@link org.eclipse.emf.edit.ui.action.CreateChildAction} corresponding to each descriptor
* generated for the current selection by the item provider. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<IAction> createChildActions;
@@ -127,7 +127,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* This is the menu manager into which menu contribution items should be added for CreateChild actions. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IMenuManager createChildMenuManager;
@@ -135,7 +135,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* This will contain one {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} corresponding to each descriptor
* generated for the current selection by the item provider. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<IAction> createSiblingActions;
@@ -143,14 +143,14 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* This is the menu manager into which menu contribution items should be added for CreateSibling actions. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IMenuManager createSiblingMenuManager;
/**
* This creates an instance of the contributor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AcoreActionBarContributor()
@@ -163,7 +163,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* This adds Separators for editor additions to the tool bar. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -176,7 +176,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* This adds to the menu bar a menu and some separators for editor additions, as well as the sub-menus for object
* creation items. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -218,7 +218,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* When the active editor changes, this remembers the change and registers with it as a selection provider. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -255,7 +255,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
* This implements {@link org.eclipse.jface.viewers.ISelectionChangedListener}, handling
* {@link org.eclipse.jface.viewers.SelectionChangedEvent}s by querying for the children and siblings that can be
* added to the selected object and updating the menus accordingly. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void selectionChanged(SelectionChangedEvent event)
@@ -308,7 +308,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
* This generates a {@link org.eclipse.emf.edit.ui.action.CreateChildAction} for each object in
* <code>descriptors</code>, and returns the collection of these actions. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
*/
protected Collection<IAction> generateCreateChildActions(Collection<?> descriptors, ISelection selection)
@@ -328,7 +328,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
* This generates a {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} for each object in
* <code>descriptors</code>, and returns the collection of these actions. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
*/
protected Collection<IAction> generateCreateSiblingActions(Collection<?> descriptors, ISelection selection)
@@ -349,7 +349,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
* based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection, by
* inserting them before the specified contribution item <code>contributionID</code>. If <code>contributionID</code>
* is <code>null</code>, they are simply added. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void populateManager(IContributionManager manager, Collection<? extends IAction> actions,
@@ -375,7 +375,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
* This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.ActionContributionItem}s
* based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void depopulateManager(IContributionManager manager, Collection<? extends IAction> actions)
@@ -409,7 +409,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* This populates the pop-up menu before it appears. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -429,7 +429,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* This inserts global actions before the "additions-end" separator. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -447,7 +447,7 @@ public class AcoreActionBarContributor extends EditingDomainActionBarContributor
/**
* This ensures that a delete action will clean up all references to deleted objects. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override

Back to the top