1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-05 16:15:25 +02:00
Commit graph

31 commits

Author SHA1 Message Date
Alena Laskavaia
d7a91f70ee Bug 466490: [launchbar] Color of the sash
Trying to make sash more visible

Change-Id: I6baeb1b05451e808c86204d0b0b1a1c13af5c7de
2015-05-07 08:31:39 -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
Alena Laskavaia
fd58fed7e4 launch bar: corrected edit dialog handling of adding of new LC
- launch bar launch config was not handling add of another launch config
correctly - it was just resetting itself to handle new LC. This cannot
really be done because this dialog is bound to launch group and new lc
may not be part of it and may not even support the mode current dialog
is in. Also that make missyncronization between LC stored in parent and
LC stored in getTabViewer which can cause other nasty problems.
So let parent handle adding (which only handles locatio change) and for
duplication we just open a new dialog and close current one.

Change-Id: I2dde5c3af26d901d1f4b18cad84a83a9857a6ca9
2015-05-05 16:33:56 -04:00
Alena Laskavaia
03ab4beaf8 launch bar: "launch" button name in LC edit dialog
- use same name as in LaunchConfigurationDialog, i.e. Run, Debug, etc.

Change-Id: I497ff5c7913c47e3cfeb736557a3c8e90040d2ef
2015-05-05 11:19:25 -04:00
Alena Laskavaia
3e548fced4 launchbar: hook up connect/disconnect state for target selector
Change-Id: I93240fa2385053454fe9f84279eddc1518290d4f
2015-05-04 13:44: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
Doug Schaefer
e8eec12ec4 Bug 466089 - Stop only launches for the active config.
Turns out to be pretty easy, just check the config for each launch
and stop the ones that match the active config.

Change-Id: Ib74a31405382b2d1996b257f7e8ad1d85a23e6c6
2015-05-01 12:21:04 -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
013c6fa1fe launch-bar: prevent event storm on initialization
- prevent events dispatch during initialization of launch bar manager
- also fix case when connection is renamed - we don't need to remove it

Change-Id: I8ba5938afd21c9b2459563cd9e3385fb9a69f673
2015-04-10 12:59:39 -04:00
Alena Laskavaia
baa294b085 launch-bar: config selector - remove active config chage
in last patch I did not actually remove setting active
config from configSelector - it should not set it, but
it will be set automatically when config is saved.


Change-Id: Idcb84d2d71567f1e60cb452fb4df15ed962dded6
2015-04-10 10:00:16 -04:00
Alena Laskavaia
17fff835d1 launch-bar: added some guards for mode selection and API for setting
mode

* added API for setting mode and target without changing active
descriptor
* used this API in the config selector to set the mode
* added guard against mismatched mode


Change-Id: I58da4aac12950c21192385820683623f9e939786
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-04-09 11:39:56 -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
Alena Laskavaia
e1fdb68ea3 launchbar: command to open config selector plus more
- added command to open config selector (unbound now)
- refactored common code to edit config (move into edit config command)
- removed unused includes
- changed wording on other launch bar command for consistency

Change-Id: I9af26cc307cfde4e63d8caa3822a169f42638ef3
2015-03-17 11:29:36 -04:00
Doug Schaefer
210058b955 Hook up the new connection wizard the target selector action area.
Also externalize strings for the target selector.

Change-Id: Ib082066560a1ab786783d47f165d7638189d338d
2015-03-02 21:24:57 -05: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
5f3b1af3f1 Remove the o.e.remote proposal. It's going live now at home.
Not sure why this stuff was on master anyway. It was supposed to be
on the oeremote branch. At any rate, I've started to contribute the
new API to o.e.remote properly so this is no longer needed.

Change-Id: I83409423ee5d5ad1295efadabb9d686b4d0fce4f
2015-01-27 20:27:19 -05:00
Alena Laskavaia
457fd76f5d remove debug output
Change-Id: If587d17f8670a6f9bc2623a72c0395f921495eee
2015-01-21 13:57:22 -05:00
Alena Laskavaia
3487f9e9e2 LaunchBar: prevent widget is disposed exception on shutdown
Change-Id: I79afcded38a64a9c2f2ce0190eee1766a9d4265e
2015-01-20 15:45:14 -05:00
Alena Laskavaia
faf222b8f2 Launch Bar: ui tweaks for proper re-sizing and keyboard events
- fixed issues when list is not drawn properly
- fixed that Esc does not work to close pop up sometimes
- fixed filtering for list with edit button
- fixed layout issues when only one item in the list and filter becomes
visible (filter is disabled in this case)
Change-Id: I562f12df8326b4efecf75150b57b699c53d398da
2015-01-19 16:21:31 -05:00
Doug Schaefer
40b6b6c05c Merge "LaunchBar: prevent repaint storm during initialization" 2015-01-14 11:58:05 -05:00
Doug Schaefer
5503a7526f Merge "LaunchBar: do not allow to Finish new config wizard prematurely" 2015-01-14 11:56:48 -05:00
Alena Laskavaia
7983b686f0 LaunchBar: prevent repaint storm during initialization
when launch descriptor (and other objects) are changed
using API it can create event storm which leaves control
changing rapidly. To prevent that added X ms delay
if API is used to change launch bar ui (or during initialization)

Change-Id: Ic02587cbd89c754abd6020cac2754e971ad50a37
2015-01-14 11:24:26 -05:00
Alena Laskavaia
d4621c4aa9 LaunchBar: do not allow to Finish new config wizard prematurely
Finish button is active when not all parameters for lauch
configuration are set

Change-Id: Iae33a1679e043257bb591ae18a7db8310a93cf52
2015-01-14 09:27:26 -05:00
Alena Laskavaia
edeec7aaaa LaunchBar: ui changes in selector
- added ability to filter by typing in selector pop-up
- refactored list part of selection in its own components which is kind
of list viewer
- filter is visible by default if we have more than 7 elements in drop
down
- filter become visible if user start typing, even if it was not visible
originally
- moving storing of history size into the list viewer itself
- hooked up proper focus support and keyboard traversal
- modified CButton so we can re-use it for Edit button 
of selectors and list items
- when filtering is activated history list is no longer available

Change-Id: I2057ad658f5a5c9f8fbce203748d26d7e4b14dd6
2015-01-13 16:48:24 -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
Alena Laskavaia
ac02204fde launchBar: sash for increasing recently used size
launch element drop down has hardcoded list of 3 elements
of recent history, sometimes it is too many, sometimes not enought.
added sash so user can resize it

save this as preference, but no ui to edit this preference in pref pages
for now
2015-01-06 16:52:46 -05:00
Doug Schaefer
a3cf9db1ce Fix feature version. 2014-12-11 20:26:31 -05:00
Doug Schaefer
24244f8469 Added the p2 repo and finished the poms. 2014-12-11 11:48:00 -05:00
Doug Schaefer
74797fe6e3 Start of new remote interface.
Change-Id: I078456841dd4b6ddec3852178c307dbd2cf465f5
2014-12-11 10:56:27 -05:00
Doug Schaefer
8f8c2e02b6 Initial commit separating the launchbar into it's own git repo. 2014-12-10 11:31:47 -05:00