-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supports templates managing (fixes #54)
Specifically: - saving templates (fixes #34) - deleting previously saved templates - apply a template after the initial import (fixes #50)
- Loading branch information
Joel Håkansson
committed
Apr 12, 2018
1 parent
ca37438
commit c0687dd
Showing
27 changed files
with
789 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/META-INF/services/org.daisy.streamline.api.config.UserConfigurationsProvider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
application.ui.impl.template.UserConfigurationsImpl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package application.common; | ||
|
||
import org.daisy.streamline.api.config.ConfigurationsCatalog; | ||
import org.daisy.streamline.api.config.ConfigurationsCatalogService; | ||
|
||
public enum Singleton { | ||
INSTANCE; | ||
public static Singleton getInstance() { | ||
return Singleton.INSTANCE; | ||
} | ||
|
||
private ConfigurationsCatalogService configsCatalog; | ||
public synchronized ConfigurationsCatalogService getConfigurationsCatalog() { | ||
if (configsCatalog==null) { | ||
configsCatalog = ConfigurationsCatalog.newInstance(); | ||
} | ||
return configsCatalog; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.