1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Proposed changes form Hoda now extends IVariableDeclaration

This commit is contained in:
Alain Magloire 2003-01-23 16:39:35 +00:00
parent fa981af205
commit b365162ce5
2 changed files with 17 additions and 9 deletions

View file

@ -8,7 +8,7 @@ package org.eclipse.cdt.core.model;
/**
* Represent struct(ure), class or union.
*/
public interface IStructure extends IInheritance, IParent, ICElement, IVariable {
public interface IStructure extends IInheritance, IParent, ICElement, IVariableDeclaration {
//public String instantiatesTemplate();
public IField getField(String name);

View file

@ -64,14 +64,6 @@ public class Structure extends SourceManipulation implements IStructure {
return new IStructure[0];
}
/**
* Return the access control for each inherited structure.
* @IInheritance
*/
public int getAccessControl(int pos) throws CModelException {
return 0;
}
/**
* @see IVariable
*/
@ -101,4 +93,20 @@ public class Structure extends SourceManipulation implements IStructure {
return new SourceManipulationInfo(this);
}
/**
* Return the access control for each inherited structure.
* @IInheritance
*/
public int getAccessControl(int pos) throws CModelException {
return 0;
}
/**
* @see org.eclipse.cdt.core.model.IVariableDeclaration#getAccesControl()
*/
public int getAccesControl() {
return 0;
}
}