Umbrello supports modeling of "interfaces", which initial came from java (see https://docs.oracle.com/javase/tutorial/java/concepts/interface.html). In c++ interface are also possible and are identified by having only pure virtual methods and static const data members (see http://stackoverflow.com/questions/12854778/abstract-class-vs-interface-in-c). It would be nice if the c++ importer would be able to support this by tagging related imported classes as "interface". Reproducible: Always Steps to Reproduce: 1. start umbrello 2. import appended test case Actual Results: In the class property the imported class do not have the stereotype "interface". Expected Results: The imported class should have the stereotype "interface".
Created attachment 100875 [details] test case
Git commit dfa788ff49d023c73c6292498995ce4355167b6e by Ralf Habacker. Committed on 01/09/2016 at 06:53. Pushed by habacker into branch 'Applications/16.08'. Import c++ class only containing static const members and pure virtual methods as 'interface'. FIXED-IN:2.20.1 (KDE Applications 16.08.1) A +24 -0 test/import/cxx/interface.h [License: UNKNOWN] * M +15 -0 umbrello/codeimport/kdevcppparser/cpptree2uml.cpp The files marked with a * at the end have a non valid license. Please read: http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page. http://commits.kde.org/umbrello/dfa788ff49d023c73c6292498995ce4355167b6e