Examples of DesktopGUIVersion


Examples of org.lexev.bestwisethoughts.client.data.DesktopGUIVersion

            return webServiceREST.sendDesktopGUIVersionRequest();
            }
            @Override
            public void done() {       
                try {
                  DesktopGUIVersion guiVersion = get();
                  ProgramSettings.getInstance().setLastUpdateTime(new Date().getTime());
                  ProgramSettings.getInstance().save();
                  if (guiVersion.getVersion().compareTo(Const.PROGRAM_VERSION) != 0){
                    toaster.showToaster("�������� ����� ������ ��������� \"��������\" (v "
                        + guiVersion.getVersion()
                        + "). �������� �� ��������� ������ ��� ����������: <a href='"
                        +guiVersion.getDownloadLink()+"'>"+guiVersion.getDownloadLink()+"</a>",
                        false);
                    if (actionRequester != null){
                        actionRequester.completeBackgroundAction(Status.CONFLICT, "�������� ����� ������ ���������");
                      }
                  } else if (actionRequester != null){
View Full Code Here

Examples of org.lexev.bestwisethoughts.client.data.DesktopGUIVersion

   *
   * @return received version and download link 
   * @throws UniformInterfaceException if request send failed
   */
  public DesktopGUIVersion sendDesktopGUIVersionRequest() throws UniformInterfaceException {
    DesktopGUIVersion guiVersion = getWebService()
      .path("getdesktopguiversion")
      .accept(MediaType.APPLICATION_XML)
      .get(DesktopGUIVersion.class);
   
    return guiVersion;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.