class MultiScreenPartWidget extends Composite implements MultiPartWidget {

    @Override
    public void changeTitle(final PartDefinition part,
                            final String title,
                            final IsWidget titleDecoration) {
        final MultiScreenView screen = parts.get(part);
        if (screen != null) {
            screen.setTitle(title);
            if (titleDecoration != null) {
                screen.setTitleWidget(titleDecoration);
            }
        }
    }

}