private final PlatformContext context;
private WordView wordView;
public WordPresenterImpl(PlatformContext context){
this.context=context;
wordView=new WordViewImpl(context,this);
context.getPlatformBus().addHandler(FileUpdateEvent.TYPE, new FileUpdateHandler(){
@Override
public void onFileUpdate(FileUpdateEvent event) {
FileModel model=event.getModel();
wordView.updateFileName(model);
}