1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-19 06:55:23 +02:00
Commit graph

110 commits

Author SHA1 Message Date
Doug Schaefer
40b483f43f 497437 - Fix composite icon for null target. Increment maint version.
Change-Id: Ie4fc47e30cdcab149fde828db6138ab7b16026a8
2016-07-11 14:44:42 -04:00
Doug Schaefer
ebecae3167 Bug 497437 - Fix issues with null target.
Avoid assert in enablement on null target. Fix order of initialization
of null target in ILaunchTarget interface.

Change-Id: I4c85433743bbb16c54514005b27e0414bb27c510
2016-07-11 14:15:36 -04:00
Doug Schaefer
62545585be Make sure we can terminate a launch before we do it.
DSF throws an exception when we try to terminate a launch that's
already terminated.

Change-Id: Ie836e1f3e182b009ba4649a27afda716e8876885
2016-06-03 16:30:26 -04:00
Doug Schaefer
c4d7ecfc60 Bug 494427 - fix NPE in launch active.
Change-Id: I97e150b2c457702208b714dd7870955dc9e70067
2016-05-24 10:55:34 -04:00
Alena Laskavaia
a91b8a801a launchbar: added tests, cleaned up API
added some tests for LaunchTarget
hide some API's for LaunchTarget
added some asserts to prevent misuse

Change-Id: I8b5b59ea8901133e79d03afe55e6c1fca2762bc1
2016-05-11 16:53:00 -04:00
Doug Schaefer
83f6bf8deb Refactor LaunchBar Control into it's own plug-in. Adjust APIs.
Added a whole bunch of APIs to the managers to enable this without
exposing internals to the control. Documentation will be added before
release.

Change-Id: I7a643eca3d48643e7a1202d83c7b4818722c54f0
2016-05-09 12:03:39 -04:00
Doug Schaefer
91be36a418 Bug 488348 - fix target remove.
Change-Id: I50d08fcfc46d723aa59fc6cc2f909de73f74d3de
2016-05-05 11:46:02 -04:00
Alexander Kurtakov
c6eca5a103 Update Maven machinery.
* Update Tycho to 0.25.
* Jarsigner plugin to 1.1.3.
* Resource plugin to 2.7.
* Antrun plugin to 1.8.
* Findbugs plugin to 3.0.3.
* PMD plugin to 3.6.


Change-Id: I6ac8b6dd7d70e856ba5a54387485363f881aaa03
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-05-05 12:49:22 +03:00
Doug Schaefer
1f95c6cd61 Allow rename of launch targets. Add property tester for target type.
Change-Id: I1e87f8012e4c5bcd11cf1fce62c8a0dcf1d25e1e
2016-04-23 21:28:12 -04:00
Vincent Guignot
3ad5cd3e42 Bug 491062: [Launchbar] Add preference to control Build button
https://bugs.eclipse.org/bugs/show_bug.cgi?id=491062

Signed-off-by: Vincent Guignot <vincent.guignot@ingenico.com>
Change-Id: I4de5a684b4d694db81c6cd782bdbc9c03b4a4747
2016-04-15 12:41:49 -04:00
Doug Schaefer
c3f9546a47 Fix removing of targets. Make sure we clear their attributes.
Change-Id: Ie2c6e4bd6168fae95db1680143d4c4cafc159369
2016-04-14 10:26:14 -04:00
Doug Schaefer
77fda006a5 Add attributes to launch targets.
Follows the working copy pattern to ensure changes to the target
are transactional.

Change-Id: Iff4fda10bcebc80efa11bc15f75ad7df7d4f4bca
2016-04-13 20:09:24 -04:00
Jonathan Williams
9a170471ad Bug 491357 - Support Renamed Remote Connnections
Change-Id: Ibfb0399135561c35a16c26cdc07c6914198400e2
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
2016-04-11 11:04:34 -04:00
Doug Schaefer
0f76cd2171 Fix NPE on new workspace startup.
Call initTargets in getProvider().

Change-Id: I717428e92d85114c61026eb18ca61def6bbb973b
2016-04-04 11:22:46 -04:00
Rob Stryker
4a76061d66 Bug 489699 - ILaunchTargetProvider is not cached or stored after creation
Change-Id: I9c3cf19d5fe1dd6a41ec3c6a7d230028ee88501d
Signed-off-by: Rob Stryker <rob.stryker@jboss.com>
2016-03-15 19:11:16 -04:00
Doug Schaefer
93cdb07d8c Do a stop launch when doing a launch active. Remote fixes.
This is the first step towards cleaning up the actions.

Also make sure teh remote target provider only acts on remotes of the
type it's associated with.

Change-Id: Ifb2e39620e7d62b075c3d18dd338694071dc5720
2016-02-27 20:27:44 -05:00
Alena Laskavaia
4b42a1d050 Bug 457086" launchbar: proper support for launch groups
- unfortunately same mode is re-used for different launch group, which
have different images
- so we cannot cash icons by mode since it show wrong icon
- we also has to notify mode select that mode change event it is
"equals" so it can update launch group image
- also fixed resource leak for launch bar button

Change-Id: Iaa7b80d74963e4d0d1ccef5e6e4cd54a3ae5a4d4
2016-02-24 13:25:15 -05:00
Doug Schaefer
32bcbba8bb Change remote target to new strategy. Allows individual types to reg.
Remote connection type providers must also register as target types
if they want to show up in the launch bar. This change eliminates the
autoregistering we were doing and instead provides reusable classes
to handle the interface. Arduino does that coming up.

Change-Id: Iafb9305225f1ba3b97640bb3b15bfb671888a914
2016-02-22 21:54:15 -05:00
Doug Schaefer
302c601bac Enable double click selection in New Launch Config Wizard.
Also set the title on the edit page so we can tell what type we're
editing.

Change-Id: Ia526eae2cdb906e8ab115a3a74585db8b3c5de2c
2016-02-22 21:07:03 -05:00
Alena Laskavaia
d87141b0f9 launchbar: prevent widget is disposed exception
Change-Id: I5afe239ed7b594a2f7fb3be7bae4120d84c879b2
2016-02-18 12:16:18 -05:00
Doug Schaefer
68da3d3a38 Bug 487471 - 16 pixel button icons in 32x24 pixels space.
Brings back the switching since we're using the launch group icons
in the Launch button. The Build and Stop buttons are also made 16-bit
and should be familiar.

Warning clean-up in CSelector.

Change-Id: I05e4b912d0470eb3f533d462b402faa3002bddd2
2016-02-16 14:08:42 -05:00
Doug Schaefer
91369b4692 Bug 487471 - Improve look and feel of Launch Bar.
New icons that have transparent backgrounds and are 24 pixels square
and have hot image counterparts.

The Launch button now looks different enough to turn off the mode
specific icons for now.

Change-Id: Iaa8454ffde5e5c6660a5d0d144ae2af971a7b8c6
2016-02-08 15:33:06 -05:00
Alena Laskavaia
584728a7ae Bug 487386 - [LaunchBar] Launching default configs resets target to no
target

Change-Id: If0d9724fe5f23d633dc1f5ab4d46363e1c00d3cf
2016-02-08 11:16:30 -05:00
Alena Laskavaia
353fe40897 launchbar: fixed unsafe cast
- instead of doing method check and then casting without check, just do
a instance check which would gurantee the result and won't rely on that
method

Change-Id: I153f3113d15d6b145e41ee8c3d48cfe0a5c296d8
2016-02-04 13:02:58 -05:00
Doug Schaefer
2b940d6fea Check for null when getting launch config provider.
Change-Id: I60a8dae467885dea5685515b40a658f3328b3ec3
2016-02-01 14:08:19 -05:00
Alena Laskavaia
e39d6946cf launchbar: widget is disposed exceptions in tests
Change-Id: I1b921ffeeb931c19059a14825b3ebc4e26bd14d1
2016-02-01 11:20:18 -05:00
Alena Laskavaia
da4bfe781f launchbar: fixed compilation error with neon M5
NOTE: there is nasty fix in ViewerComparator that now requires
comparator to be working on strings, we don't use it this way this has
to be fixed at some point

Change-Id: I0199a830546cf1e9bad5c45bec67e17daf42d558
2016-02-01 10:34:58 -05:00
Alena Laskavaia
3a66908e57 launchbar: public API for launch bar listeners
Change-Id: Ic33a181f679708de2b78aa7a49bde1ab45578b39
2016-01-29 11:01:24 -05:00
Alena Laskavaia
3eb77d17f6 launchbar: track non launch bar launches
- when user runs something not from launch bar, launch bar won't updade
which creates unplesent gap in experience.
This fix makes launchbar track launches and update active
descriptor/mode/target depending on what was launched.

Change-Id: Ie70c6927997bba8ee06a393e767e02ccb4cf4cb7
2016-01-29 10:20:39 -05:00
Alena Laskavaia
ca538d05a5 launchar: launch target wizard fixes
- removed hack with overloading wizard classes
- added wizard contribution, so it can be bound to command or used
without launchbar
- removed hack with using category to identify launch target wizard
- added more comments in schema
- fixed hack when parsing wizard if they categorized

Change-Id: I791679ef30c395db10ec2528a6e2b90370e56a75
2016-01-26 09:47:48 -05:00
Alena Laskavaia
99da8cee74 launchar: action to invoke new launch target wizard
- new extension to contribute a wizard to launchTypeUI extension point
- copied bunch of wizards from platform ui since they cannot be extended

Change-Id: I45f2801fe04a24e7f8d2bbbd3f31ada1de4a1fc3
2016-01-25 16:51:44 -05:00
Doug Schaefer
92d08ca430 Bug 466489 - Filter out external tools builders.
Change-Id: Id14a01246c013fc47c76f693dc7f9d063f361163
2016-01-20 16:55:53 -05:00
Alena Laskavaia
f16f7a86c8 launchbar: launch button - mode overlay
- when mode select - change button to match mode, change tooltip to show
mode name
- also added errors settings

Change-Id: Id537e0fe65d8632dbd97183680d2bc1b3d635c86
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-19 15:11:40 -05:00
Rafael Peria de Sene
ab9ad3ffba launchbar: fix url to eclipse updates
Fix the wrong URL which was braking the build.

	- <url>http://download.eclipse.org/eclipse/updates/4.5milestones/</url>
	+ <url>http://download.eclipse.org/eclipse/updates/4.5/</url>

Change-Id: I647301fe72432df0a347f7541605eba41bb8baa0
Signed-off-by: Rafael Peria de Sene <rpsene@br.ibm.com>
2016-01-19 13:12:48 -02:00
Alena Laskavaia
7972418551 launchbar: open stanard eclipse launch configs dialog on edit
- when we click gear on launch descriptor we open a custom dialog,
there is no really need for it we can just open standard eclipse launch
configuration dialog and select configuration from the descriptor

Change-Id: I40f52baa5cc161a7281231600c29a4f5609733a5
2016-01-14 13:59:01 -05:00
Alena Laskavaia
cd852c72c5 launchbar: use LinkedHashMap to avoid random order
order of targets returned by target manager some-what important, use
linked hash maps everywhere to avoid randomness of hashmap

Change-Id: I670859854f10006c8591c3ebaa8f036d3127b5b8
2016-01-11 15:09:01 -05:00
Alena Laskavaia
cec2cbf4dc launchbar: more reasonable launch target defaults
- if new descriptor is created check first of current target is suitable
before calling getDefaultTarget
- change method getDefaultTarget to return last target from the list
rather then first, since list is kept in order of addition, meaning last
entry is the most recent

Change-Id: I0d9a7760cf52c7dff761f760f3fce05d9ca4c540
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-11 11:45:21 -05:00
Alena Laskavaia
e9db9389f2 launchbar: fixed widget is disposed exception
Change-Id: I8c39e7bc55e88b8b93f6d445b9b94face7f4d1f1
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-07 15:39:42 -05:00
Doug Schaefer
83ecb792db Bug 484993 - Add remote ui feature to the build.
Change-Id: I4c1e48fd8018c952d6f743c91b64022274c7e81a
2015-12-31 00:06:11 -05:00
Doug Schaefer
7a1e27eb12 Bug 484993 - Hook up label provider to remote launch target
Since we're using label providers to provide the name and image
for ILaunchTargets, we don't need the dual id, name in the launch
target. Switching to id instead of name tho.

Change-Id: I96071cfd40873494d4cf73f0e845d62bc46ea1cb
2015-12-30 21:59:47 -05:00
Doug Schaefer
b588b08034 Bug 484993 - Feature and build for Remote Launch Target support.
Change-Id: Id07df46546e7852443377f0abd68bd8592e5f9e6
2015-12-29 18:55:11 -05:00
Doug Schaefer
2b373042a4 Bug 484993 - Add support for IRemoteConnection launch targets.
Creates a new core plug-in that bridges the gap between ILaunchTarget
and IRemoteConnection.

Also adds unique id's to ILaunchTarget that are separate from the
user visible name. This is to allow for unique names in o.e.remote
which include the connection type and the connection name. The launch
target type is for all o.e.remote targets.

Change-Id: I08d4c3534fc0947f946bfcdec3f13df04fc4ec98
2015-12-29 18:40:23 -05:00
Alena Laskavaia
b63caf6c72 launchbar: fixed some visual glitches in custom widget list
- list background was not inherited creating spotty list
- removed rectangle around list items which was very custom and non
stylable
- removed paint lister after lazy item initialization to prevent lag


Change-Id: I4e458c816dcb96138871b906e43806b0cf2e72e8
2015-12-11 16:17:33 -05:00
Doug Schaefer
7b5cdff64f Bug 482938 - Add missing getLaunch method to return the TargetedLaunch.
Change-Id: Ifea22b29a24e7afbdd6e60f7e32369b29fe11a5c
2015-11-26 16:15:13 -05:00
Alena Laskavaia
1df3be627f launchbar: API to get text of the custom control for UI testing
Change-Id: I8824070c562dc830b6791e6e7670ed9ebf42b758
2015-11-24 16:45:07 -05:00
Doug Schaefer
632980a73a Bug 482938 - Pass LaunchTarget to launch delegates.
Creates a new standard delegate that implements the targeted launch
delegate interface introduced earlier. Also provided a standard
launch object that stores the launch target to be launched on.

Adds storing of the config to target mapping in the launch target
manager. Sets that mapping as close to build/launch time as we can.

Change-Id: I78a1412af043f0be240d5617fcfc08b81c3fb3ea
2015-11-24 14:52:49 -05:00
Alena Laskavaia
9435e1f802 launchbar: fixing colors to be compatible with skinning
it looked awful in dark skin, now it should be inheriting
system colors properly

Change-Id: If963a19651ac30b20c7a2cb100b285f33f799ca9
2015-11-23 12:16:14 -05:00
Alena Laskavaia
d5c63d386c [launchbar] Support launching without a target
- we should not make assumption about the target and let
delegate deal with it. For example if no targets are
created and you run for the first time, delegate can offer
to create a target
- also if launch bar participants don't care about targets at all we
should be able to still show modes, etc
- so I removed filters on null target and let participant deal with it
(note null target is not the same as Local). To avoid NPEs null target
is actually an object ILaunchTarget.NULL_TARGET

Change-Id: Ie2a4d3430284adbb137a4565d9976a0ba554d41f
2015-11-09 15:42:55 -05:00
elaskavaia
503a393e4e launchbar - widget is disposed exception
Change-Id: I059f5f30d34ab8858fdf6ac61d513f912a56ea19
2015-11-05 15:42:48 -05:00
Doug Schaefer
3c6d66259a Bug 481352 - reintroduce ILaunchTarget as target selector.
Replace IRemoteConnection with ILaunchTarget. Launch target
providers that want to use IRemoteConnection can adapt to it.
Also removes IHoverProvider since tools tips on the target selector
use the status message for the target.

Change-Id: I117745e61789ef780c742da9b73bded2b598915c
2015-11-04 15:51:50 -05:00