Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] CDT-based launch configuration

29.03.2012 15:33, Branko Drevenšek пишет:
Hi.

On 03/29/2012 03:23 PM, Sergey Smolov wrote:
Branko Drevenšek,

That you for your quick answer.

Do you mean ILaunchConfiguration or ILaunchConfigurationTab? Because I have class, that should implement methods of ILaunchConfiguration and it is really empty, but there are no such methods in it.
ILaunchConfigurationTab of course, sorry.

Class that implements methods of ICLaunchConfigurationTab have performApply, setDefaults and initializeFrom, and they're not empty in my project.
Sure it might be some other reason. While I was working on this and was doing some testing (while still implementing things in that class) until performApply(ILaunchConfigurationWorkingCopy) did actually change the ILaunchConfigurationWorkingCopy by setting/modifying attributes there, those two buttons were disabled.

Well, in this method I have only calls of setAttribute(...) method for input parameters of ConfigurationTab. It looks like it's not enough to enable those buttons.

Is it possible for you to look at your implementation of performApply(..) and see, what else do you have?


Regards.
Branko

May be I miss something else?

29.03.2012 15:01, Branko Drevenšek пишет:
Hi.

You are probably missing (have empty) ILaunchConfiguration.performApply, setDefaults, initializeFrom. As far as I know, only when those do transfer data to/from ILaunchConfigurationWorkingCopy are these buttons enabled.

Regards.
Branko

On 03/29/2012 02:55 PM, Sergey Smolov wrote:
Hello, List!

My purpose now is to develop a special CDT-based launch configuration for launching C++ applications. For reaching that purpose I've developed some classes, but the problem is that in my ConfigurationTab (that extends CLaunchConfigurationTab) I have "Apply\Revert" buttons inactive and, as I can see, the information, that I enter at that tab, didn't stored anywhere(for example, I can't extract it in class that extends AbstractCLaunchDelegate ).

What could be the reason of such strange behaviour?

Any help will be much appreciated. Thanks in advance!
-- 
Sincerely yours,
Sergey Smolov
ISP RAS


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________ cdt-dev mailing list cdt-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/cdt-dev


-- 
Sincerely yours,
Sergey Smolov
ISP RAS


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________ cdt-dev mailing list cdt-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/cdt-dev


-- 
Sincerely yours,
Sergey Smolov
ISP RAS

Back to the top