The NewLaunchConfig*Page classes don't notify their listeners when they
automatically select a type or mode with table.select(). This causes
the NewLaunchConfigEditPage to have a "null" type if the user doesn't
explicitly click on one and thus opens the default page.
Added in calls to table.notifyListeners() in order to fix this.
Verified that the launch config edit page opens appropriately even if
there is no explicit selection by the user
Change-Id: I5fbafd2f43d7c0951e929f5dcbfc57fcccd18db6
Signed-off-by: Matthew Bastien <bastien.matthew@gmail.com>
Otherwise, launch targets with same type, but different ids, will get
the wrong icon, but only when the target status is != OK.
Change-Id: I97e5713bec16eb3a08cae3ffe58bc4fab51b04df
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
Default behavior is to only show the launch target selector when
the active launch descriptor supports multiple targets. Add a pref
to always show the launch target selector.
Change-Id: I2615ab605be8a6cb706baca7407b265f8b832cf1
It no longer brings up the traditional launch configuration dialog.
Instead it has a new one that uses the tabs but without the other
stuff.
Change-Id: I89e2ac4e6a7575e0151c24632f26b5ee565a5449
This is used, for example, by ESP8266 to set the OS and ARCH attributes
on new launch targets created by the remote launch target provider.
Change-Id: If0e5f2c20debfa17dcab3608584b54638679bb63
Move to Neon final p2 repos and update Tycho to 0.26 which did the same.
Change-Id: I9342de800ce9e260d1baebed5253fa3ed17ff68c
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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