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

Replaced some components; Removed some bugs

parent ce9a7d8d
No related branches found
No related tags found
No related merge requests found
......@@ -602,6 +602,10 @@ public final class CurrentAnalysisEditorBean implements IProjectBean {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the displays of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the displays of the plugin.");
return false;
} catch (final NoClassDefFoundError ex) {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the displays of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the displays of the plugin.");
return false;
}
}
}
......@@ -669,6 +673,10 @@ public final class CurrentAnalysisEditorBean implements IProjectBean {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the ports of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the ports of the plugin.");
return false;
} catch (final NoClassDefFoundError ex) {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the ports of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the ports of the plugin.");
return false;
}
}
}
......@@ -709,6 +717,10 @@ public final class CurrentAnalysisEditorBean implements IProjectBean {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the properties of the repository.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the properties of the repository.");
return false;
} catch (final NoClassDefFoundError ex) {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the properties of the repository.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the properties of the repository.");
return false;
}
}
......@@ -748,6 +760,10 @@ public final class CurrentAnalysisEditorBean implements IProjectBean {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the properties of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the properties of the plugin.");
return false;
} catch (final NoClassDefFoundError ex) {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the properties of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the properties of the plugin.");
return false;
}
}
......
......@@ -325,8 +325,10 @@ public final class ACManager { // NOCS (Class Data Abstraction Coupling)
this.controller.getController().run();
} catch (final IllegalStateException ex) {
ACManager.LOG.error("An error occured while starting the analysis.", ex);
ex.printStackTrace();
} catch (final AnalysisConfigurationException ex) {
ACManager.LOG.error("An error occured while starting the analysis.", ex);
ex.printStackTrace();
}
}
}
......
......@@ -120,23 +120,14 @@
</p:column>
<p:column headerText="Value" style="width:125px">
<p:cellEditor>
<f:facet name="output">
<h:outputText value="#{property.value}" rendered="#{not stringBean.checkString(property)}"/>
<h:outputText value="#{currentAnalysisEditorBean.selectedPlugin.name}" rendered="#{stringBean.checkString(property)}"/>
</f:facet>
<f:facet name="input">
<h:inputText value="#{property.value}" rendered="#{not stringBean.checkString(property)}"/>
<h:inputText value="#{currentAnalysisEditorBean.selectedPlugin.name}" rendered="#{stringBean.checkString(property)}"/>
</f:facet>
</p:cellEditor>
</p:column>
<p:column headerText="Options" style="width:50px">
<p:rowEditor />
</p:column>
<p:ajax event="rowEdit" update=":centerForm" />
<p:inplace editor="true" rendered="#{not stringBean.checkString(property)}">
<p:inputText value="#{property.value}" />
</p:inplace>
<p:inplace editor="true" rendered="#{stringBean.checkString(property)}" >
<p:inputText value="#{currentAnalysisEditorBean.selectedPlugin.name}" />
<p:ajax event="save" update=":centerForm" />
</p:inplace>
</p:column>
</p:dataTable>
</h:form>
</p:layoutUnit>
......
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