本文整理汇总了Java中org.uberfire.lifecycle.OnFocus类的典型用法代码示例。如果您正苦于以下问题:Java OnFocus类的具体用法?Java OnFocus怎么用?Java OnFocus使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
OnFocus类属于org.uberfire.lifecycle包,在下文中一共展示了OnFocus类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onFocus
import org.uberfire.lifecycle.OnFocus; //导入依赖的package包/类
@OnFocus
public void onFocus() {
if (null != getSession() && !isSameSession(sessionManager.getCurrentSession())) {
sessionManager.open(getSession());
} else if (null != getSession()) {
log(FINE,
"Session already active, no action.");
}
}
示例2: onFocus
import org.uberfire.lifecycle.OnFocus; //导入依赖的package包/类
@OnFocus
public void onFocus() {
if (!loading && context != null) {
view.redraw();
setActiveContext();
showDataModellerDocks();
}
}
示例3: onFocus
import org.uberfire.lifecycle.OnFocus; //导入依赖的package包/类
@OnFocus
public void onFocus() {
if(editorHelper.getContent() == null) {
this.setActiveOnLoad = true;
} else {
setActiveInstance();
}
}
示例4: onFocus
import org.uberfire.lifecycle.OnFocus; //导入依赖的package包/类
@OnFocus
public void onFocus() {
GWT.log("focus!");
}
示例5: onFocus
import org.uberfire.lifecycle.OnFocus; //导入依赖的package包/类
@OnFocus
public void onFocus() {
}
示例6: onFocus
import org.uberfire.lifecycle.OnFocus; //导入依赖的package包/类
@OnFocus
private void onFocus() {
}
示例7: onFocus
import org.uberfire.lifecycle.OnFocus; //导入依赖的package包/类
@OnFocus
public void onFocus() {
//workaround.
dataProvider.flush();
dataProvider.refresh();
}
示例8: onFocus
import org.uberfire.lifecycle.OnFocus; //导入依赖的package包/类
@Override
@OnFocus
public void onFocus() {
super.onFocus();
}
示例9: onFocus
import org.uberfire.lifecycle.OnFocus; //导入依赖的package包/类
@OnFocus
public void onFocus() {
super.doFocus();
}
示例10: onFocus
import org.uberfire.lifecycle.OnFocus; //导入依赖的package包/类
@OnFocus
public void onFocus() {
//for some reason the tables needs to be repainted when the view is restored.
view.redraw();
}