Package org.eclipse.gef.requests
Class GroupRequest
java.lang.Object
org.eclipse.gef.Request
org.eclipse.gef.requests.GroupRequest
- Direct Known Subclasses:
ChangeBoundsRequest
A Request from multiple EditParts.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.GroupRequest
(Object type) Creates a GroupRequest with the given type. -
Method Summary
Modifier and TypeMethodDescriptionReturns a List containing the EditParts making this Request.void
setEditParts
(List<? extends EditPart> list) Sets the EditParts making this Request to the given List.void
setEditParts
(EditPart part) A helper method to set the given EditPart as the requester.Methods inherited from class org.eclipse.gef.Request
getExtendedData, getType, setExtendedData, setType
-
Constructor Details
-
GroupRequest
Creates a GroupRequest with the given type.- Parameters:
type
- The type of Request.
-
GroupRequest
public GroupRequest()Default constructor.
-
-
Method Details
-
getEditParts
Returns a List containing the EditParts making this Request.- Returns:
- A List containing the EditParts making this Request.
-
setEditParts
Sets the EditParts making this Request to the given List.- Parameters:
list
- The List of EditParts.
-
setEditParts
A helper method to set the given EditPart as the requester.- Parameters:
part
- The EditPart making the request.
-