I have a sequence diagram, and I would like to create a class diagram from it.
This is the sequence diagram:
I'm struggling with classes operations (which class should I give what operations)
You can derive the class from the life line. Each is an instance of a class. With the used notation you can say that the title corresponds to the class name directly. The actor is some informal compromise and is not a class.
The messages towards a life line correspond to operations of the class. E.g. ViewBookForm
has onClick()
.
In any case you can pinpoint only those operations you have in the diagram. And you can't find out the atributes. So your classes will be skeletons only.