API needed to add superclass / superinterfaces
Status: Beta
Brought to you by:
bernhardbrem
The CSharpFileManipulator provides APIs for adding an interface and a class but doesn't provide an API to set the class/interface's supertype. This can be used by the UI for a user to set superclasses / implementing interfaces when using creating new types in the wizards.
Logged In: YES
user_id=1245734
Originator: NO
Hi Rem,
Do You want to use this feature and add this function?
Then I'd add the API to the CSharpFileMani in the next time.
Else it has to wait till we need it.....
Logged In: YES
user_id=1299552
Originator: YES
I think this will be useful for the wizard but I don't think it is a high priority. I think we can defer this to another time.
Logged In: YES
user_id=1245734
Originator: NO
Implemented in CVS.
Rem: Please look at the TODO-Tags in the class- and interface wizard, there is shown how to use it.
Logged In: YES
user_id=1299552
Originator: YES
Bernhard, I cannot find any new changes when synchronizing against CVS. Did you commit your work?
Logged In: YES
user_id=1245734
Originator: NO
Now I have commited it.... sorry!
Logged In: YES
user_id=1299552
Originator: YES
Thanks Bernhard, I have tried it out and it is working as expected. However, it is not uncommon for a class to be implementing several interfaces. I think the method should be changed to a String[] instead of simply being a String. What do you think?