protected void initContent(Object modelObject)
{
// Add the spacer figure
super.initContent(modelObject);
Skin skin = getDrawing().getProcessSkin();
// Connect the model object to this tag
this.socket = (NodeSocket) modelObject;
socket.setRepresentation(this);
// Create title figure holding the name of the Socket.
// This will return the node name in case of entry or final node sockets.
titleFigure = new MoveableTitleFigure(getReferredProcessElement());
titleFigure.setTitleFormat(skin.getSocketTitleFormat());
titleFigure.setVerboseDisplay(true);
addContent(titleFigure, CONTENT_TEXT);
// Add the socket parameters
initParams();