-
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.
Showing
189 changed files
with
5,427 additions
and
702 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
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
27 changes: 27 additions & 0 deletions
27
...src/main/java/edu/stanford/bmir/protege/web/client/app/ApplicationEnvironmentManager.java
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,27 @@ | ||
package edu.stanford.bmir.protege.web.client.app; | ||
|
||
|
||
import edu.stanford.bmir.protege.web.shared.dispatch.actions.AppEnvVariables; | ||
import edu.stanford.bmir.protege.web.shared.inject.ApplicationSingleton; | ||
|
||
import javax.inject.Inject; | ||
|
||
@ApplicationSingleton | ||
public class ApplicationEnvironmentManager { | ||
|
||
private AppEnvVariables appEnvVariables; | ||
|
||
@Inject | ||
public ApplicationEnvironmentManager() { | ||
|
||
} | ||
|
||
public void loadAppEnvVariables(AppEnvVariables envVariables) { | ||
this.appEnvVariables = envVariables; | ||
} | ||
|
||
|
||
public AppEnvVariables getAppEnvVariables() { | ||
return appEnvVariables; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
.../main/java/edu/stanford/bmir/protege/web/client/app/FetchApplicationEnvVariablesTask.java
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,35 @@ | ||
package edu.stanford.bmir.protege.web.client.app; | ||
|
||
import edu.stanford.bmir.protege.web.client.dispatch.DispatchServiceManager; | ||
import edu.stanford.bmir.protege.web.shared.dispatch.actions.FetchAppEnvVariables; | ||
|
||
import javax.annotation.Nonnull; | ||
import javax.inject.Inject; | ||
|
||
public class FetchApplicationEnvVariablesTask implements ApplicationInitManager.ApplicationInitializationTask { | ||
|
||
@Nonnull | ||
private final DispatchServiceManager dispatch; | ||
|
||
@Nonnull | ||
private final ApplicationEnvironmentManager applicationEnvironmentManager; | ||
|
||
@Inject | ||
public FetchApplicationEnvVariablesTask(@Nonnull DispatchServiceManager dispatch, @Nonnull ApplicationEnvironmentManager applicationEnvironmentManager) { | ||
this.dispatch = dispatch; | ||
this.applicationEnvironmentManager = applicationEnvironmentManager; | ||
} | ||
|
||
@Override | ||
public void run(ApplicationInitManager.ApplicationInitTaskCallback callback) { | ||
dispatch.execute(new FetchAppEnvVariables(), result -> { | ||
applicationEnvironmentManager.loadAppEnvVariables(result); | ||
callback.taskComplete(); | ||
}); | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return "FetchApplicationEnvVariablesTask"; | ||
} | ||
} |
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
13 changes: 13 additions & 0 deletions
13
.../java/edu/stanford/bmir/protege/web/client/change/combined/CombinedChangeDetailsView.java
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,13 @@ | ||
package edu.stanford.bmir.protege.web.client.change.combined; | ||
|
||
import com.google.gwt.user.client.ui.IsWidget; | ||
import edu.stanford.bmir.protege.web.client.change.ChangeDetailsView; | ||
|
||
/** | ||
* Matthew Horridge | ||
* Stanford Center for Biomedical Informatics Research | ||
* 26/02/15 | ||
*/ | ||
public interface CombinedChangeDetailsView extends IsWidget, ChangeDetailsView { | ||
|
||
} |
Oops, something went wrong.