public PipelineActivityInsertedRemovedEdit(OperationGraphController controller,
PipelineActivity activity,
OperationWrapperNode opNode) {
this.controller = controller;
this.opId = opNode.getOperationId();
OperationPipeline pipeline = opNode.getPipeline();
this.activityType = activity.getType();
this.activityPosition = pipeline.getPosition(activity);
this.previousPosition = getPrevious(pipeline, activity);
this.nextPosition = getNext(pipeline, activity);
this.contentId = getContentId(activity);
}