public class ActionCollector extends Object
MasterDetailAction
collections.Constructor and Description |
---|
ActionCollector()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ActionCollector |
add(MasterDetailAction action)
Adds the given
MasterDetailAction to the collection. |
ActionCollector |
addAll(Collection<? extends MasterDetailAction> collection)
Adds the given collection of
MasterDetailAction s to the collection. |
ActionCollector |
addCopyAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
Adds the
CopyMasterDetailAction to the collection. |
ActionCollector |
addCutAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
Adds the
CutMasterDetailAction to the collection. |
ActionCollector |
addPasteAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
Adds the
PasteMasterDetailAction to the collection. |
List<MasterDetailAction> |
getList()
Returns the collected list of
MasterDetailAction s. |
static ActionCollector |
newList()
Start a new collection.
|
public ActionCollector add(MasterDetailAction action)
MasterDetailAction
to the collection.action
- The MasterDetailAction
to add.public ActionCollector addAll(Collection<? extends MasterDetailAction> collection)
MasterDetailAction
s to the collection.collection
- The collection of MasterDetailAction
s to add.public ActionCollector addCopyAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
CopyMasterDetailAction
to the collection.editingDomain
- The EditingDomain
used to create the CopyMasterDetailAction
.public ActionCollector addPasteAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
PasteMasterDetailAction
to the collection.editingDomain
- The EditingDomain
used to create the PasteMasterDetailAction
.public ActionCollector addCutAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
CutMasterDetailAction
to the collection.editingDomain
- The EditingDomain
used to create the CutMasterDetailAction
.public List<MasterDetailAction> getList()
MasterDetailAction
s.MasterDetailAction
s.public static ActionCollector newList()
ActionCollector
.Copyright © 2019. All rights reserved.