1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00
-#39961: Template parameter signature documentation 
UI: 
        -#39968: Template Union missing an icon
This commit is contained in:
John Camelon 2003-08-28 19:49:37 +00:00
parent f6653a6c61
commit f8a656fbcf
5 changed files with 27 additions and 0 deletions

View file

@ -4,6 +4,11 @@
IResource/IFile.
* model/org/eclipse/cdt/internal/core/model/TranslationUnit.java
2003-08-28 Hoda Amer
Solution to bugs #39961 & #39968:
-Template Union missing an icon
-Template parameter signature documentation
2003-08-28 Hoda Amer
- Added resolving references in a method's qualified name
in Complete parse mode.

View file

@ -49,6 +49,14 @@ public class FunctionTemplate extends FunctionDeclaration implements ITemplate{
/**
* @see org.eclipse.cdt.core.model.ITemplate#getTemplateSignature()
*/
/*
* The signature in the outline view will be:
* The class X followed by its template parameters,
* then the scope resolution, then the function name,
* followed by its template parameters, folowed by its
* normal parameter list, then a colon then the function's
* return type.
*/
public String getTemplateSignature() {
StringBuffer sig = new StringBuffer(getElementName());

View file

@ -50,6 +50,15 @@ public class MethodTemplate extends MethodDeclaration implements ITemplate{
/**
* @see org.eclipse.cdt.core.model.ITemplate#getTemplateSignature()
*/
/*
* The signature in the outline view will be:
* The class X followed by its template parameters,
* then the scope resolution, then the function name,
* followed by its template parameters, folowed by its
* normal parameter list, then a colon then the function's
* return type.
*/
public String getTemplateSignature() {
StringBuffer sig = new StringBuffer(getElementName());
if(getNumberOfTemplateParameters() > 0){

View file

@ -1,3 +1,7 @@
2003-08-28 Hoda Amer
Solution to Bug #39968:
-Template Union missing an icon
2003-08-28 Alain Magloire
Changes to be able to see external file in the CEditor. The main problem

View file

@ -212,6 +212,7 @@ public class CElementImageProvider {
return CPluginImages.DESC_OBJS_CLASS;
case ICElement.C_UNION:
case ICElement.C_TEMPLATE_UNION:
return CPluginImages.DESC_OBJS_UNION;
case ICElement.C_TYPEDEF: