Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
set
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
Eclipse Signalling Engineering Toolbox
set
Merge requests
!30
#28
Remove splash screen
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
#28
Remove splash screen
ntruongg36/set:issue#28
into
main
Overview
0
Commits
2
Pipelines
0
Changes
10
Closed
Ngoc Quang Truong
requested to merge
ntruongg36/set:issue#28
into
main
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
10
Expand
0
0
Merge request reports
Compare
main
version 2
9b93e6b2
2 years ago
version 1
f7cb008e
2 years ago
main (base)
and
latest version
latest version
153738c8
2 commits,
2 years ago
version 2
9b93e6b2
1 commit,
2 years ago
version 1
f7cb008e
6 commits,
2 years ago
10 files
+
14
−
18
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
java/bundles/org.eclipse.set.application/src/org/eclipse/set/application/E4LifeCycle.java
+
9
−
1
Options
@@ -8,10 +8,13 @@
*/
package
org.eclipse.set.application
;
import
java.util.Optional
;
import
org.eclipse.e4.core.contexts.IEclipseContext
;
import
org.eclipse.e4.ui.workbench.lifecycle.PostContextCreate
;
import
org.eclipse.e4.ui.workbench.lifecycle.PreSave
;
import
org.eclipse.e4.ui.workbench.lifecycle.ProcessRemovals
;
import
org.eclipse.jface.resource.ImageDescriptor
;
import
org.eclipse.set.core.services.branding.BrandingService
;
import
org.eclipse.set.core.services.splash.SplashScreenService
;
import
org.slf4j.Logger
;
@@ -33,7 +36,12 @@ public class E4LifeCycle {
final
SplashScreenService
splashScreenService
,
final
BrandingService
brandingService
)
{
logger
.
debug
(
workbenchContext
.
toString
());
splashScreenService
.
show
(
brandingService
.
getSplashImage
());
final
Optional
<
ImageDescriptor
>
splashImage
=
brandingService
.
getSplashImage
();
if
(
splashImage
.
isPresent
())
{
splashScreenService
.
show
(
splashImage
.
get
());
}
}
@PreSave
Loading