1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-27 10:13:23 +02:00
Commit graph

11 commits

Author SHA1 Message Date
Alena Laskavaia
b46cc02560 launch bar: per target provider and test fixes
- fixed tests and added tests for previous API changes
- fixed unsafe call of provider methods without catching exceptions
- added description of priority attribute in the extension point API
- fixed default return values in DefaultLaunchConfigProvider, in case it
is extended
- removed unused import
- fixed per target provider to support persistance
- added test for per target provider

Change-Id: If08b18b939e86757108a800d1092a62621a8c7d0
2015-05-28 16:54:43 -04:00
Doug Schaefer
f6e8b921c3 Bug 467153 - Remove last remnants of per type config providers.
Also adds a tighter check for ownsConfiguration based on class name
of the provider that created the config.

Change-Id: If197246af0906cb5af92819171ee97dc7cd30bee
2015-05-18 23:29:06 -04:00
Doug Schaefer
86c73092fa Bug 467153 - Step one of making configs per target.
WTP needs a new config for every target. That breaks our architecture
of one config per target type. But that's actually already broken
since we can't really get the proper target to the launch config.
Depending on active, we always hoped the target didn't change, but
it can. So one config per target is correct anyway.

Change-Id: I14ba8413b9494a13f3496eed5535debbc330a56c
2015-05-17 23:22:09 -04:00
Rob Stryker
4e67214de3 Bug 466489 - Limit launchbar-visible configs to public launch types; fix unit test
- Cleanup of bad catch block

Change-Id: If5c9adcc6970ffb480312e2453fcb153674cf79b
Signed-off-by: Rob Stryker <rob.stryker@jboss.com>
2015-05-06 09:37:16 -04:00
Doug Schaefer
3c33b772b8 Bug 466095 - Externalize Strings and minimize warnings.
Removed dead code and minimize use of internal interfaces.

Change-Id: Ief9c29bff721940bf5a173dfacf60b715691dcf7
2015-05-01 13:42:54 -04:00
Alena Laskavaia
f2b778e3c7 launchbar: active remote connection is not persisted in the remote
services

- if you select target for given launch config and restart IDE
it is not persistent, because it queries remote services and
it has not been set. Moving setting of target in the correct place
Note: if launch config is not created yet it would not be create
and mapping would not be set but it would be persisted by launch bar
itself
- also added protection against null listener

Change-Id: I41f8651ba2251ca9f841450fc1f511643bfde681
2015-04-27 16:05:04 -04:00
Alena Laskavaia
28985bd18d launch bar: renamed test so it picked by gerrit verifier
- also mocked another target so it does not always test local one

Change-Id: Idf59342aac75bf5c92c5ca63870eade760065f70
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-18 16:28:55 -04:00
Alena Laskavaia
b447d528f8 launch bar: tests restored and test fixes
- restored test module in pom
- fixed tests - xml tag was renamed
- fixed tests - stub functionality that rely on o.e.remote
- fixed NPE when accesssing osname from LaunchTargetTypeInfo
- added guards when calling into user defined classes 
- added more comments in java docs
- restored original launch bar tests
- current provider won't get notified when lc is removed, need to fix
more

Change-Id: I15f1a30e9f965ad5c84bdc51238ef129dc314450
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-18 15:24:10 -04:00
Doug Schaefer
9c7de82238 Bug 459972 - Update LaunchBar to use IRemoteConnection for targets.
ILaunchTarget is removed and replaced with IRemoteConnection. You
still have to declare a launch target type to point at a connection
type. It uses os and arch to help decide what toolchains to use for
builds.

Change-Id: I8f21b4e5043ccd8af85be91c643f58ad301c3ac4
2015-02-16 02:17:27 -05:00
Doug Schaefer
bb7f665007 Add tests and make them run (adding hamcrest properly)
Change-Id: Ifc2e5d9cd4289147539d6b90b59f689ffdf69a37
2015-01-13 14:14:56 -05:00
Doug Schaefer
8f8c2e02b6 Initial commit separating the launchbar into it's own git repo. 2014-12-10 11:31:47 -05:00