Added images including the error overlay for when connections are
closed. Made the resulting label provider public so it can be reused
by the launch bar.
Fixed a bug with the JschConnection factory which was creating new
connections everytime asked resulting in great weirdness. Added getting
list of services to the IRemoteConnectionType API and separated
out the three types of services.
Added open and close connection commands for the Connections view.
Changed connection type capabilities to booleans and removed unused
ones.
Removed launch config service. Found a better way to pass targets
to launch configs that will actually work.
Change-Id: I99d85f72d496f42d6ba790bd1b91943ea869c12b
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
Adds a terminal console which can be opened by selecting Open Console >
Terminal Console and selecting a remote connection which supports the
command shell service. If a console is already open for that remote
connection it will be shown and if one doesn't exist then a new one will
be created. Buttons for connecting, disconnecting, scroll lock, and
closing the console are also available.
Also adds a local command shell with PTY support. Also added some
syncronization around the connections in the connection type.
Moved the Open Terminal to console plug-in and renamed it Open
Command Shell.
Also fixed missing serial port feature from the remote repo.
Change-Id: I84282b04813471bb01385a328ebc144bdf0e6a28
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
Added JSchCommandShellService which creates a ChannelShell through JSch
in order to open a remote terminal.
Change-Id: Ib7ddeb3f9c964ab32130baf99a8d70d36605c3d8
Signed-off-by: Matthew Bastien <mbastien@qnx.com>
This adds a remote connection type that uses the CDT Native serial
port driver. Really all this is supported is the command shell for
the Remote Terminal. But it's a great example of something very
different from SSH and Local that supports the same common infra
structure such as the Terminal.
Change-Id: I813e26370d3d137d5158fa63deba4b0820cdd596
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
- replace Launch Type with Connection type
- message "Enter name for connection" is not relevant and confusing when
user actually entered it already (and it is set by default too),
replaced with generic message (only visible in the begging and when no
errors)
Change-Id: I4deb8b2a0e878084eaf59030c9bd5d09610d2d78
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
LocalFileManager is renamed to LocalFileService to fit in with the
standard naming.
Change-Id: I2ac49c64346709bdde0f3b38034cefaea3df913f
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
v2 of Remote API. New Services architecture.
Connections are now stored in preferences and loaded by the framework.
Attributes are stored in the preferences. Secure attributes are stored
in the secure preferences. Remote services renamed to connection types.
Remote connections broken up into services. JSch and Local connection
types have been updated to new architecture.
Also moved the tests from core.tests to jsch.core.tests since they
are actually JSch tests and need to reference attribute names from
the jsch.core plug-in.
This is just phase one. Many more changes are expected to clean up
and to fix bugs this introduces.
Change-Id: I62ad2567b0c5ca7d277649879a8d16bec7058d5f
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
This allows the user to clone and checkout the source code of Remote Services
without knowing where the repository is. See:
https://wiki.eclipse.org/PDE/UI/SourceReferences
One use case is to right-click on a plug-in under the Plug-in dependencies in
Package Explorer view and select Import from Repository. Note that for this
EGit needs to be installed.
What this patch does is to let Tycho generate the source references in the
MANIFEST.MF of the built jars. So to test this patch, one can build the update
site locally and inspect the manifests of the (non-source) jars.
Change-Id: I9214bfc31c6d04a6945be398a2c7b10f9a30d204
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>