added support for resizeweight

https://jira.spring.io/browse/RCP-623