Class UpdateWindow

    • Field Detail

      • check_type

        private int check_type
      • display

        org.eclipse.swt.widgets.Display display
      • updateWindow

        org.eclipse.swt.widgets.Shell updateWindow
      • table

        org.eclipse.swt.widgets.Table table
      • progress

        org.eclipse.swt.widgets.ProgressBar progress
      • status

        org.eclipse.swt.widgets.Label status
      • btnOk

        org.eclipse.swt.widgets.Button btnOk
      • lOk

        org.eclipse.swt.widgets.Listener lOk
      • btnCancel

        org.eclipse.swt.widgets.Button btnCancel
      • lCancel

        org.eclipse.swt.widgets.Listener lCancel
      • hasMandatoryUpdates

        boolean hasMandatoryUpdates
      • restartRequired

        boolean restartRequired
      • totalDownloadSize

        private long totalDownloadSize
      • downloaders

        private java.util.List downloaders
      • iterDownloaders

        private java.util.Iterator iterDownloaders
      • downloadersToData

        private java.util.Map downloadersToData
    • Method Detail

      • buildWindow

        public void buildWindow()
      • rowSelected

        protected void rowSelected()
      • getShell

        public org.eclipse.swt.widgets.Shell getShell()
      • dispose

        public void dispose()
      • addUpdate

        public void addUpdate​(Update update)
      • updateAdditionComplete

        protected void updateAdditionComplete()
      • show

        public void show()
      • checkMandatory

        private void checkMandatory()
      • checkRestartNeeded

        private void checkRestartNeeded()
      • update

        private void update()
      • nextUpdate

        private void nextUpdate()
      • switchToRestart

        private void switchToRestart()
      • setProgressSelection

        private void setProgressSelection​(int percent)
      • completed

        public boolean completed​(ResourceDownloader downloader,
                                 java.io.InputStream data)
        Specified by:
        completed in interface ResourceDownloaderListener
        Returns:
        return true if the completed download is OK. If false is returned then if there are alternative download sources they will be tried. If there are no other sources then the download will be "failed"
      • setStatusText

        private void setStatusText​(java.lang.String text)
      • appendDetails

        private void appendDetails​(java.lang.String text)
      • finishUpdate

        private void finishUpdate​(boolean restartNow,
                                  boolean just_close)
      • isDisposed

        protected boolean isDisposed()