private void addHandlersToFileIconedName(final FileWrapper file, final String fileName, HTML fileIconedName) {
fileIconedName.addMouseDownHandler(new MouseDownHandler() {
@Override
public void onMouseDown(MouseDownEvent mouseDown) {
presenter.setSelectedFile(file);
com.google.gwt.user.client.Timer timer = new com.google.gwt.user.client.Timer() {
@Override
public void run() {
presenter.setSelectedFile(null);
}
};
timer.schedule(500);
if (mouseDown.getNativeButton() == Event.BUTTON_RIGHT) {
performOperationsOnRightClick(file, fileName, mouseDown);
}
}
});
}
FolderTableView.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:ephesoft
作者:
评论列表
文章目录