Skip to content
Snippets Groups Projects
Commit 3f18c31d authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

#628

parent 86c86915
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,8 @@ yes=Ja
ok=Ok
cancel=Abbrechen
choose=Durchsuchen
file=Datei
newProject=Neues Project
importProject=Projekt Importieren
......@@ -117,6 +119,16 @@ msgOnlyJar=Zur Zeit k\u00f6nnen lediglich *.jar-Abh\u00e4ngigkeiten hochgeladen
#
#------------------------------------------------------------------------------
analysisControllerInstantiateAnalysisController = Analyse Instanziieren
analysisControllerCleaAnalysisController = Analyse Bereinigen
analysisControllerStartAnalysis = Analyse Starten
analysisControllerStopAnalysis = Analyse Stoppen
analysisControllerMsgNotInstantiated = Zeigt an, dass der AnalysisController noch nicht instanziiert wurde.
analysisControllerMsgReady = Zeigt an, dass der AnalysisController zwar instanziiert, jedoch noch nicht gestartet wurde.
analysisControllerMsgRunning = Zeigt an, dass der AnalysisController gestartet wurde und zur Zeit luft.
analysisControllerMsgFailed = Zeigt an, dass der AnalysisController terminiert oder abgestrzt ist.
#------------------------------------------------------------------------------
#
# These are the messages for the cockpit editor page.
......
......@@ -8,6 +8,8 @@ yes=Yes
ok=Ok
cancel=Cancel
choose=Choose
file=File
newProject=New Project
importProject=Import Project
......@@ -71,7 +73,7 @@ manageLibraries=Manage Libraries
closeProject=Close Project
graph=Graph
scaleToFit=Scale To Fit
analysisEditorScaleToFit=Scale To Fit
grid=Grid
snap=Snap
autoLayout=Auto-Layout
......@@ -117,6 +119,16 @@ msgOnlyJar=Currently only *.jar-Dependencies can be uploaded. The maximal file s
#
#------------------------------------------------------------------------------
analysisControllerInstantiateAnalysisController = Instantiate Analysis
analysisControllerCleaAnalysisController = Clean Analysis
analysisControllerStartAnalysis = Start Analysis
analysisControllerStopAnalysis = Stop Analysis
analysisControllerMsgNotInstantiated = Indicates that the AnalysisController has not been instantiated yet.
analysisControllerMsgReady = Indicates that the AnalysisController has been instantiated, but not yet started.
analysisControllerMsgRunning = Indicates that the AnalysisController has been started and is running.
analysisControllerMsgFailed = Indicates that the AnalysisController has been terminated or has failed.
#------------------------------------------------------------------------------
#
# These are the messages for the cockpit editor page.
......
......@@ -75,10 +75,10 @@
<p:layoutUnit position="south" header="Control" resizable="true" collapsible="true">
<h:form id="controllerForm">
<p:commandButton value="Instantiate Analysis Controller" action="#{currentControllerBean.instantiateAnalysis()}" update=":messages :logList" disabled="#{empty currentControllerBean.projectName}"/>
<p:commandButton value="Clean Analysis" action="#{currentControllerBean.cleanAnalysis()}" update=":messages :logList" disabled="#{empty currentControllerBean.projectName}"/>
<p:commandButton value="Start Analysis" action="#{currentControllerBean.startAnalysis()}" update=":messages :logList" disabled="#{empty currentControllerBean.projectName}"/>
<p:commandButton value="Stop Analysis" action="#{currentControllerBean.stopAnalysis()}" update=":messages :logList" disabled="#{empty currentControllerBean.projectName}"/>
<p:commandButton value="#{localizedMessages.analysisControllerInstantiateAnalysisController}" action="#{currentControllerBean.instantiateAnalysis()}" update=":messages :logList" disabled="#{empty currentControllerBean.projectName}"/>
<p:commandButton value="#{localizedMessages.analysisControllerCleaAnalysisController}" action="#{currentControllerBean.cleanAnalysis()}" update=":messages :logList" disabled="#{empty currentControllerBean.projectName}"/>
<p:commandButton value="#{localizedMessages.analysisControllerStartAnalysis}" action="#{currentControllerBean.startAnalysis()}" update=":messages :logList" disabled="#{empty currentControllerBean.projectName}"/>
<p:commandButton value="#{localizedMessages.analysisControllerStopAnalysis}" action="#{currentControllerBean.stopAnalysis()}" update=":messages :logList" disabled="#{empty currentControllerBean.projectName}"/>
<p:poll interval="1" update=":ledsForm"/>
</h:form>
<hr/>
......@@ -96,14 +96,14 @@
<h:graphicImage id="iconLEDRed2" url="../img/LEDs/Icon_LED_Red.png" height="50px" rendered="#{currentControllerBean.isAnalysisTerminated() or currentControllerBean.isAnalysisFailed()}"/>
<h:graphicImage id="iconLEDRed2_2" url="../img/LEDs/Icon_LED_Gray.png" height="50px" rendered="#{not (currentControllerBean.isAnalysisTerminated() or currentControllerBean.isAnalysisFailed())}"/>
<p:tooltip for="iconLEDRed1" value="Indicates that the AnalysisController has not been instantiated yet."/>
<p:tooltip for="iconLEDYellow" value="Indicates that the AnalysisController has been instantiated, but not yet started."/>
<p:tooltip for="iconLEDGreen" value="Indicates that the AnalysisController has been started and is running."/>
<p:tooltip for="iconLEDRed2" value="Indicates that the AnalysisController has been terminated or has failed."/>
<p:tooltip for="iconLEDRed1_2" value="Indicates that the AnalysisController has not been instantiated yet."/>
<p:tooltip for="iconLEDYellow_2" value="Indicates that the AnalysisController has been instantiated, but not yet started."/>
<p:tooltip for="iconLEDGreen_2" value="Indicates that the AnalysisController has been started and is running."/>
<p:tooltip for="iconLEDRed2_2" value="Indicates that the AnalysisController has been terminated or has failed."/>
<p:tooltip for="iconLEDRed1" value="#{localizedMessages.analysisControllerMsgNotInstantiated}"/>
<p:tooltip for="iconLEDYellow" value="#{localizedMessages.analysisControllerMsgReady}"/>
<p:tooltip for="iconLEDGreen" value="#{localizedMessages.analysisControllerMsgRunning}"/>
<p:tooltip for="iconLEDRed2" value="#{localizedMessages.analysisControllerMsgFailed}"/>
<p:tooltip for="iconLEDRed1_2" value="#{localizedMessages.analysisControllerMsgNotInstantiated}"/>
<p:tooltip for="iconLEDYellow_2" value="#{localizedMessages.analysisControllerMsgReady}"/>
<p:tooltip for="iconLEDGreen_2" value="#{localizedMessages.analysisControllerMsgRunning}"/>
<p:tooltip for="iconLEDRed2_2" value="#{localizedMessages.analysisControllerMsgFailed}"/>
</div>
</h:form>
......
......@@ -33,7 +33,7 @@
<br />
<br />
<h:form enctype="multipart/form-data">
<p:fileUpload auto="true" allowTypes="/(\.|\/)(jar)$/" sizeLimit="104857600" mode="advanced" fileUploadListener="#{currentAnalysisEditorBean.handleFileUpload}" update=":dependenciesForm :messages :toolpalette"/>
<p:fileUpload label="#{localizedMessages.choose}" cancelLabel="#{localizedMessages.cancel}" auto="true" allowTypes="/(\.|\/)(jar)$/" sizeLimit="104857600" mode="advanced" fileUploadListener="#{currentAnalysisEditorBean.handleFileUpload}" update=":dependenciesForm :messages :toolpalette"/>
</h:form>
</div>
<hr/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment