[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-ui-dev] new c type wizards
|
I've added a new attribute to the C wizards for contributing type/class
wizards to the C perspective. This is the same mechanism used by JDT in
the Java perspective.
<wizard
name="My C Wizard"
icon="icons/cwiz.gif"
category="org.eclipse.cdt.ui.newCCWizards"
id="xx.yy.zz.MyCWizard">
<class class="org.xx.yy.zz.MyCWizardClass">
<parameter name="ctype" value="true" />
</class>
<description>My C Wizard</description>
</wizard>
The 'category' attribute is "org.eclipse.cdt.ui.newCWizards" or
"org.eclipse.cdt.ui.newCCWizards" for C or C++ projects.
The 'class' attribute is the usual wizard class (subclass of
org.eclipse.jface.wizard.Wizard) you want to run.
The parameter 'ctype' tells the drop-down toolbar action for the "New
C++ Class" to include this wizard in the list.
Chris
Chris Wiebe wrote:
Thanks.
Note: You may need to reset your C perspective to see the changes.
(There may also be a log message about missing CFolderActionSet but this
goes away after the reset.)
Alain Magloire wrote:
This patch adds a drop-down project wizard to the toolbar with the
various project types (stdmake C/C++, managed C/C++). It also adds a
drop-down class wizard with the ability to support additional type
wizards (e.g. new structure, abstract class, interface (pure virtual)
class, etc.)
I've fixed the File -> New... menu shortcuts so the C project wizards
now appear in the root menu.
Oh yeah, there are some newer-look icons as well. :)
Opening the gates ...
Patch applied to the head.
Cheers
-Chris
Future considerations: add drop-down actions for the file wizard (new
.c/.cpp/.h/.hpp file) and folder wizard (new source folder, new
include folder, etc).
Recommand you send an email to cdt-ui-dev about your new attribute for
the C wizards.
_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-patch
_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-patch