Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 560084: Improve startup up time of Marketplace client
Refactored UI initialization. Everything is lazy and service-based now. Change-Id: I43bebf133f9d764ce336895e8cd6bbff13c166b4 Signed-off-by: Carsten Reckord <reckord@yatta.de>
- Loading branch information
Showing
32 changed files
with
695 additions
and
195 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
8 changes: 8 additions & 0 deletions
8
org.eclipse.epp.mpc.ui/.settings/org.eclipse.pde.ds.annotations.prefs
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,8 @@ | ||
classpath=true | ||
dsVersion=V1_3 | ||
eclipse.preferences.version=1 | ||
enabled=true | ||
generateBundleActivationPolicyLazy=true | ||
path=OSGI-INF/services | ||
validationErrorLevel=error | ||
validationErrorLevel.missingImplicitUnbindMethod=error |
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
org.eclipse.epp.mpc.ui/OSGI-INF/services/org.eclipse.epp.mpc.ui.debug.options.xml
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,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.eclipse.epp.mpc.ui.debug.options"> | ||
<property name="listener.symbolic.name" value="org.eclipse.epp.mpc.ui"/> | ||
<service> | ||
<provide interface="org.eclipse.osgi.service.debug.DebugOptionsListener"/> | ||
</service> | ||
<implementation class="org.eclipse.epp.internal.mpc.ui.MarketplaceClientUiPlugin$DebugOptionsInitializer"/> | ||
</scr:component> |
6 changes: 3 additions & 3 deletions
6
.../OSGI-INF/services/marketplace-client.xml → ...eclipse.epp.mpc.ui.marketplace-client.xml
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.eclipse.epp.mpc.ui.marketplace-client"> | ||
<implementation class="org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceClientService"/> | ||
<service> | ||
<provide interface="org.eclipse.epp.mpc.ui.IMarketplaceClientService"/> | ||
</service> | ||
</scr:component> | ||
</service> | ||
<implementation class="org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceClientService"/> | ||
</scr:component> |
7 changes: 7 additions & 0 deletions
7
org.eclipse.epp.mpc.ui/OSGI-INF/services/org.eclipse.epp.mpc.ui.resources.xml
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,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="activate" deactivate="deactivate" name="org.eclipse.epp.mpc.ui.resources"> | ||
<service> | ||
<provide interface="org.eclipse.epp.internal.mpc.ui.MarketplaceClientUiResources"/> | ||
</service> | ||
<implementation class="org.eclipse.epp.internal.mpc.ui.MarketplaceClientUiResources"/> | ||
</scr:component> |
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.