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

Minor bugfixing.

parent b514c0b6
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,6 @@ import java.util.ArrayList; ...@@ -34,8 +34,6 @@ import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.List; import java.util.List;
import javax.annotation.PostConstruct;
import kieker.analysis.AnalysisController; import kieker.analysis.AnalysisController;
import kieker.analysis.model.analysisMetaModel.MIAnalysisMetaModelFactory; import kieker.analysis.model.analysisMetaModel.MIAnalysisMetaModelFactory;
import kieker.analysis.model.analysisMetaModel.MIDependency; import kieker.analysis.model.analysisMetaModel.MIDependency;
...@@ -101,14 +99,14 @@ public final class FSManager { ...@@ -101,14 +99,14 @@ public final class FSManager {
* Creates a new instance of this class. * Creates a new instance of this class.
*/ */
private FSManager() { private FSManager() {
// No code necessary this.initialize();
} }
/** /**
* This method initializes the class. <b>Do not call this method. The method is managed by the class loader.</b> * This method initializes the class. Normally this method should be called via the @PostConstruction annotation, but for unknown reason it does only work for
* beans.
*/ */
@PostConstruct private void initialize() {
protected void initialize() {
// Check for our root-directory and create it if necessary // Check for our root-directory and create it if necessary
final File rootDir = new File(FSManager.ROOT_DIRECTORY); final File rootDir = new File(FSManager.ROOT_DIRECTORY);
if (!rootDir.exists()) { if (!rootDir.exists()) {
......
...@@ -29,6 +29,8 @@ saveProjectAs = Projekt Speichern Unter ...@@ -29,6 +29,8 @@ saveProjectAs = Projekt Speichern Unter
reloadProject = Projekt Neu Laden reloadProject = Projekt Neu Laden
closeProject = Projekt schlie\u00dfen closeProject = Projekt schlie\u00dfen
noRecordsFound = Keine Eintrge vorhanden.
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# #
# These are the messages for the settings dialog. # These are the messages for the settings dialog.
......
...@@ -29,6 +29,8 @@ saveProjectAs = Save Project As ...@@ -29,6 +29,8 @@ saveProjectAs = Save Project As
reloadProject = Reload Project reloadProject = Reload Project
closeProject = Close Project closeProject = Close Project
noRecordsFound = No records found.
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# #
# These are the messages for the settings dialog. # These are the messages for the settings dialog.
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<!-- Abstand zu Icons --> <!-- Abstand zu Icons -->
<p:layoutUnit position="center"> <p:layoutUnit position="center">
<h:form id="projectsListForm"> <h:form id="projectsListForm">
<p:dataTable rows="15" paginator="true" paginatorPosition="both" var="project" rowsPerPageTemplate="5,10,15,25,50" value="#{currentProjectOverviewBean.projects}" paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}" selection="#{currentProjectOverviewBean.projectName}" rowKey="#{project}" selectionMode="single"> <p:dataTable emptyMessage="#{localizedMessages.noRecordsFound}" rows="15" paginator="true" paginatorPosition="both" var="project" rowsPerPageTemplate="5,10,15,25,50" value="#{currentProjectOverviewBean.projects}" paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}" selection="#{currentProjectOverviewBean.projectName}" rowKey="#{project}" selectionMode="single">
<!-- Makes sure that rows are selected instantaneously. --> <!-- Makes sure that rows are selected instantaneously. -->
<p:ajax event="rowSelect" listener="#{currentProjectOverviewBean.onRowSelect}" update=":menuForm" /> <p:ajax event="rowSelect" listener="#{currentProjectOverviewBean.onRowSelect}" update=":menuForm" />
......
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