Java 类org.eclipse.swt.widgets.TaskItem 实例源码

项目:logbook    文件:SwtUtils.java   
/**
 * TaskItemを取得します
 *
 * @param shell
 * @return
 */
@CheckForNull
public static TaskItem getTaskBarItem(Shell shell) {
    TaskBar bar = Display.getDefault().getSystemTaskBar();
    if (bar == null)
        return null;
    TaskItem item = bar.getItem(shell);
    if (item == null)
        item = bar.getItem(null);
    return item;
}
项目:logbookpn    文件:SwtUtils.java   
/**
 * TaskItemを取得します
 * 
 * @param shell
 * @return
 */
@CheckForNull
public static TaskItem getTaskBarItem(Shell shell) {
    TaskBar bar = Display.getDefault().getSystemTaskBar();
    if (bar == null)
        return null;
    TaskItem item = bar.getItem(shell);
    if (item == null)
        item = bar.getItem(null);
    return item;
}
项目:logbook-EN    文件:SwtUtils.java   
/**
 * TaskItemを取得します
 * 
 * @param shell
 * @return
 */
@CheckForNull
public static TaskItem getTaskBarItem(Shell shell) {
    TaskBar bar = Display.getDefault().getSystemTaskBar();
    if (bar == null)
        return null;
    TaskItem item = bar.getItem(shell);
    if (item == null)
        item = bar.getItem(null);
    return item;
}
项目:Pydev    文件:DebugEarlyStartup.java   
public ShowIndeterminateProgressRunnable(Shell shell, TaskItem item, long blinkUntil) {
    this.blinkUntil = blinkUntil;
    this.item = item;
}