Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum
  • From: Ming Cheng <chengm349@xxxxxxxxxxx>
  • Date: Mon, 16 Dec 2019 05:16:08 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z/Rv96ZNU81y3C0z7yeFPVrjTueuCfpZ6poB0CEYEio=; b=knPX2iypKEqk0Z7ssPDvwMd1H7KsXQeJXTJl8z91Am15EGxdxTK62Lk2DFjfHlTkoLVeRrslJnqMKWtIHjCFlQvohP+DwBI56LqGAblaCWFiCAM5nGuPQFxFEUPDxNwjvYzYNI9WpJbA4QkQbqtMDexD0A8EZaKMSN/FGQNe6FXLOhNwaKtQyyjpFaJK05/uwA1M/FW6HdYyy0NmsfwHEaIp+ueMuEvxzJGwgY62lJpMVmYUIwJO+JRIskxMoi11tH0YwoPH1HDtr2k6WsgtcKCWzDOfKTOTUtfSxiKPEyd6ciQuNNjbeopxYj8tpUl6Az2CjnNW2B4FLYYs2p8uEw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EeZKAlr6iiuBf5pLdOq5oml61Ngtk6+OXZw8czsNxMmdrdUAK31dxcv4tZMHRk7XDjzB7EQqyKHdLdH4gOtsoE3DR9gU6RjdjeqA4kNeFyD4q/4HdaXwudGurLPuay7cMsMB5rH3rhs8qtLd13BFEhqqaUvtINcEDwOLFkX/40w0/4YzzIiV0VExj44tBRKp/9z+xmnHlO83kHYrmOAAg/ic0Men0/3dxDIyp3P3WZt5++7caNq0v9vyp6uXoThUxu9Yi6zmd5ypTaWE5PSw2JKXKmAVF1TccQco6CszIWSGo30ynJNN9ALFf0scBGdR3Lc+8lnZIoGeEqF4nq5fiQ==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHVqwsPman4yV3TP06y8wYySKvP3qeqyVwAgA0X656AAAg4AIAEX/kD
  • Thread-topic: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum

Hi Alexander and All,

 

I changed code to:

 

JOptionPane.showMessageDialog( null, "generateAClass" );

NewClassCreationWizard page = new NewClassCreationWizard();

JOptionPane.showMessageDialog( null, classname );

 

But the same result (only see first showMessageDialog).

 

In fact I don't need Wizard popup window. I just need to have a simple way to create .h and .cpp files. If possible, please give me a almost there snipet.

 

Thanks.

 

Sent from Mail for Windows 10

 

From: Alexander Fedorov
Sent: Friday, December 13, 2019 6:27 PM
To: cdt-dev@xxxxxxxxxxx
Subject: Re: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum

 

Hi Ming Cheng,

You need to read a bit about how Eclipse JFace and Eclipse Workbench is working. I added the answer below to your GitHub issue as well.

> NewClassCreationWizardPage page = new NewClassCreationWizardPage();

the WizardPage is designed to live inside the Wizard. Please have a closer look to the surrounding code, where should be a Wizard that instantiates this page. What you need to "emulate" the result of wizard work is the content of its "performFinish()" method.

Regards,
AF

13.12.2019 12:59, Ming Cheng пишет:

Hi Jonah,

 

I am following your suggestion about new C++ class but can’t move. I logged an issue to “my” tool

 

https://github.com/umlet/umlet/issues/562

 

Thanks.

 

Sent from Mail for Windows 10

 

From: Jonah Graham
Sent: Thursday, December 5, 2019 10:01 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] Any comment is welcome to my topics in Eclipse Forum

 

Hi,

 

I had a quick look at all these questions - I am not surprised that no one has answered on the forums, the forums are really meant for Users of the Eclipse CDT IDE - i.e. people writing C/C++ code.

 

I don't have answers to most of your questions, but I can try an answer on some of them:

 

> How to stop inserting same include stmt more than once

 

Try looking at how organize imports in CDT is implemented, it manipulates includes so may give you a good idea.

 

>  How to load a file content into a new editor tab

 

Look up the IDE class in Eclipse platform (such as openEditor method)

 

> How to use CDT to create a .h with a class decl?

 

Look how the new C++ class wizard is implemented for some clues.

 


I don't t


~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com

 

 

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev

 



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev

 

 


Back to the top