-
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.
WIP (requires snapshot): Supports templates managing
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 10, 2018
1 parent
84e9082
commit dd3bde6
Showing
27 changed files
with
790 additions
and
139 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.