Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Creating a console view in the RCP Application (Simple Example/Tutorial to perform this task)
Creating a console view in the RCP Application [message #998298] Wed, 09 January 2013 18:45
Vítor Moscon is currently offline Vítor MosconFriend
Messages: 4
Registered: January 2013
Junior Member
I am new to Eclipse 4 RCP and am trying to create and add a console view, like the Eclipse IDE, to my RCP Application. I have no idea how to do that! More specifically, I have a simulator with a CLI (Command-Line Interface) implemented with the Cliche Coomand-Line Shell library (code dot google dot com/p/cliche/), so I want to display the cliche shell/console in the RCP Application. Someone could give a glue, tip, tutorial how to do that? Bellow, I pasted a very simple CLI with the Cliche Library.

package asg.cliche.sample;

import asg.cliche.Command;
import asg.cliche.ShellFactory;

public class HelloWorld {

@Command // One,
public String hello() {
return "Hello, World!";

@Command // two,
public int add(int a, int b) {
return a + b;

public static void main(String[] args) throws IOException {
ShellFactory.createConsoleShell("hello", "", new HelloWorld())
.commandLoop(); // and three.
Previous Topic:Problems with launching Eclipse 4 applications
Next Topic:ParameterizedCommand not being executed after update to 4.3M4
Goto Forum:

Current Time: Wed Jun 20 06:09:12 GMT 2018

Powered by FUDForum. Page generated in 0.01450 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top