Avoid assert in enablement on null target. Fix order of initialization
of null target in ILaunchTarget interface.
Change-Id: I4c85433743bbb16c54514005b27e0414bb27c510
added some tests for LaunchTarget
hide some API's for LaunchTarget
added some asserts to prevent misuse
Change-Id: I8b5b59ea8901133e79d03afe55e6c1fca2762bc1
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
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
- 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
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
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
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
- 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
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
- 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
- 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
- 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
- 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>
- 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
order of targets returned by target manager some-what important, use
linked hash maps everywhere to avoid randomness of hashmap
Change-Id: I670859854f10006c8591c3ebaa8f036d3127b5b8
- 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>
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
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
- 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
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
- 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
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