@OnSave public void onSave() { vfsServices .call( new RemoteCallback<Path>() { @Override public void callback(Path response) { view.setDirty(false); } }) .write(path, view.getContent()); }
@OnOpen public void onOpen() { view.setFocus(); }
@IsDirty public boolean isDirty() { return view.isDirty(); }