Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] User defined CLI command in CommandFactory?

That could be a good idea, but such a CLI command would
be limited by not being able to get any output parsed, I think.

What would be the return type of the proposed  
createCLICommand(IDMContext ctx, String command)

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Andy Jin
> Sent: Thursday, March 11, 2010 10:32 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] User defined CLI command in CommandFactory?
> In "org.eclipse.cdt.dsf.mi.service.command.CommandFactory" class, it
> pre-defines CLI commands and MI commands, but it does not allow a user
> defined CLI command to be factored from it. Is it a reason 
> why we don't
> provide such a method like below?
> createCLICommand(IDMContext ctx, String command)
> In JTag final launch sequence I have to run specific CLI commands but
> have to create CLICommand objects for them. Would be better if I could
> use the factory class to do it.
> Thanks,
> Andy
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

Back to the top