protected void addDimension( RootContainer processDefinitionNotationElement, Element processDiagramInfo) { String width = getAttribute(processDiagramInfo, "width"); String height = getAttribute(processDiagramInfo, "height"); Dimension dimension = new Dimension( width == null ? 0 : Integer.valueOf(width).intValue(), height == null ? 0 : Integer.valueOf(height).intValue()); processDefinitionNotationElement.setDimension(dimension); }