| Hi. 
 On 03/29/2012 03:42 PM, Sergey Smolov wrote:
 
      
      29.03.2012 15:33, Branko Drevenšek пишет:
      There's nothing else.
        
        Hi.
 On 03/29/2012 03:23 PM, Sergey Smolov wrote:
 
          
          Branko Drevenšek,ILaunchConfigurationTab of course, sorry.
 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.
 
 
  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.Class that implements methods of ICLaunchConfigurationTab have
          performApply, setDefaults and initializeFrom, and they're not
          empty in my project.
 
 
 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?
 
 Just few more lines like these:
 config.setAttribute(
    LaunchConstants.ATTRIBUTE_CONSOLE_HW_SPECIFYPARAMS,
    getSelectedSerialOptionsEnablement() );
 config.setAttribute(
    LaunchConstants.ATTRIBUTE_CONSOLE_HW_PORT, hwConsolePort.getText()
    );
 config.setAttribute(
    LaunchConstants.ATTRIBUTE_CONSOLE_HW_BAUDRATE, getSelectedBaudrate()
    );
 
 If you actually do modify attributes in there, then your problem
    seems to have different cause.
 
 Regards.
 Branko
 
  
  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 
 
 _______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
 
 |