Open my console as default when running the Eclipse plugin -
i working on eclipse plugin , have need of communication console. have developed console using this:
public void openconsole() { myconsole = createconsole1(); } private ioconsole createconsole1() { //creating console title welcome soc console. ioconsole ioconsole = new ioconsole("welcome console.",null); //adding created console console list in console view. consoleplugin.getdefault().getconsolemanager().addconsoles(new iconsole[] {ioconsole}); consoleplugin.getdefault().getconsolemanager().showconsoleview(ioconsole); ioconsoleoutputstream opstream = ioconsole.newoutputstream(); try { opstream.write("myconsole>"); } catch (ioexception e) { // todo auto-generated catch block e.printstacktrace(); }
but after deploying none of console visible in plugin , message shows this:
no console display @ time.
now need open console when open plugin instead of this. me if know this. least may me lot please help.
Comments
Post a Comment