@@ -0,0 +1,1003 @@
+package org.opennms.web.svclayer;%0A%0Apublic class ProgressMonitor %7B%0A%09%0A%09private int m_phaseCount = 1;%0A%09private int m_phase = 0;%0A%09private String m_phaseLabel = %22Loading%22;%0A%09private Object m_result = null;%0A%09private Exception m_exception = null;%0A%0A%09public int getPhaseCount() %7B%0A%09%09return m_phaseCount;%0A%09%7D%0A%09%0A%09public void setPhaseCount(int phaseCount) %7B%0A%09%09m_phaseCount = phaseCount;%0A%09%7D%0A%09%0A%09public String getPhaseLabel() %7B%0A%09%09return m_phaseLabel;%0A%09%7D%0A%09%0A%09public int getPhase() %7B%0A%09%09return m_phase;%0A%09%7D%0A%0A%09public void beginNextPhase(String phaseLabel) %7B%0A%09%09m_phaseLabel = phaseLabel;%0A%09%09m_phase++;%0A%09%7D%0A%0A%09public void finished(Object result) %7B%0A%09%09m_result = result;%0A%09%09m_phaseLabel = %22Done%22;%0A%09%09m_phase = m_phaseCount;%0A%09%7D%0A%09%0A%09public boolean isFinished() %7B%0A%09%09return m_result != null;%0A%09%7D%0A%0A%09public Object getResult() %7B%0A%09%09return m_result;%0A%09%7D%0A%0A%09public boolean isError() %7B%0A%09%09return m_exception != null;%0A%09%7D%0A%09%0A%09public Exception getException() %7B%0A%09%09return m_exception;%0A%09%7D%0A%0A%09public void errorOccurred(Exception e) %7B%0A%09%09m_exception = e;%0A%09%7D%0A%0A%09%0A%7D%0A

Add progress bar to loading of Surveillence page