Package com.opera.core.systems.scope.protos.DesktopWmProtos

Examples of com.opera.core.systems.scope.protos.DesktopWmProtos.DesktopWindowList


  public List<QuickWindow> getQuickWindowList() {
    Response response = executeMessage(DesktopWindowManagerMessage.LIST_WINDOWS, null);
    DesktopWindowList.Builder builder = DesktopWindowList.newBuilder();
    builder.clear();
    buildPayload(response, builder);
    DesktopWindowList list = builder.build();

    List<DesktopWindowInfo> windowInfoList = list.getWindowListList();
    List<QuickWindow> windowList = new LinkedList<QuickWindow>();

    for (DesktopWindowInfo windowInfo : windowInfoList) {
      windowList.add(new QuickWindow(windowInfo));
    }
View Full Code Here


  public List<DesktopWindowInfo> getDesktopWindowInfoList() {
    Response response = executeMessage(DesktopWindowManagerMessage.LIST_WINDOWS, null);
    DesktopWindowList.Builder builder = DesktopWindowList.newBuilder();
    buildPayload(response, builder);
    DesktopWindowList list = builder.build();

    return list.getWindowListList();
  }
View Full Code Here

TOP

Related Classes of com.opera.core.systems.scope.protos.DesktopWmProtos.DesktopWindowList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.