umbrello
2.35.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Go to the documentation of this file.
8 #ifndef REFACTORING_ASSISTANT_H
9 #define REFACTORING_ASSISTANT_H
14 #include <QTreeWidget>
67 void addClassifier(
UMLClassifier *classifier, QTreeWidgetItem *parent = 0,
bool addSuper =
true,
bool addSub =
true,
bool recurse =
false);
70 virtual void dropEvent(QDropEvent *event);
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:421
void editProperties()
Definition: refactoringassistant.cpp:312
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:129
ObjectType
Definition: umlobject.h:75
@ N_ICONTYPES
Definition: icon_utils.h:224
@ Implementation
Definition: basictypes.h:49
Definition: umlattributelist.h:20
QString name() const
Definition: umlobject.cpp:207
@ it_Properties
Definition: icon_utils.h:130
QSet< UMLClassifier * > m_alreadySeen
recursive guard
Definition: refactoringassistant.h:78
UMLAttributeList getParmList() const
Definition: operation.cpp:177
@ it_Protected_Method
Definition: icon_utils.h:97
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Definition: object_factory.cpp:209
UMLAssociation * createUMLAssociation(UMLObject *a, UMLObject *b, Uml::AssociationType::Enum type)
Definition: umldoc.cpp:1518
@ ot_Class
Definition: umlobject.h:85
#define DEBUG()
Definition: debug_utils.h:127
void operationAdded(UMLClassifierListItem *listItem)
Definition: refactoringassistant.cpp:215
@ ot_Attribute
Definition: umlobject.h:88
QMenu * m_menu
Definition: refactoringassistant.h:76
@ ot_Interface
Definition: umlobject.h:82
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1306
Definition: refactoringassistant.h:23
@ it_Implementation_Attribute
Definition: icon_utils.h:102
@ it_Protected_Attribute
Definition: icon_utils.h:101
void itemExecuted(QTreeWidgetItem *item, int column)
Definition: refactoringassistant.cpp:137
UMLObject * umlParent() const
Definition: umlobject.cpp:676
virtual void dragMoveEvent(QDragMoveEvent *event)
Definition: refactoringassistant.cpp:737
QAction * createAction(const QString &text, const char *method, const Icon_Utils::IconType icon=Icon_Utils::N_ICONTYPES)
Definition: refactoringassistant.cpp:421
QList< UMLClassifier * > UMLClassifierList
Definition: umlclassifierlist.h:12
void operationRemoved(UMLClassifierListItem *listItem)
Definition: refactoringassistant.cpp:246
Definition: umlattributedialog.h:29
UMLAttribute * asUMLAttribute()
Definition: umlobject.cpp:1418
UMLDoc * m_doc
Definition: refactoringassistant.h:75
@ it_Folder_Orange
Definition: icon_utils.h:45
@ it_Private_Attribute
Definition: icon_utils.h:100
Definition: classpropertiesdialog.h:29
The base class for UML objects.
Definition: umlobject.h:69
void deleteItem()
Definition: refactoringassistant.cpp:361
UMLOperation * asUMLOperation()
Definition: umlobject.cpp:1437
ObjectType baseType() const
Definition: umlobject.cpp:393
int removeAttribute(UMLAttribute *att)
Definition: classifier.cpp:893
void signalUMLObjectCreated(UMLObject *o)
Definition: umldoc.cpp:2039
@ Public
Definition: basictypes.h:46
QMap< QTreeWidgetItem *, UMLObject * > m_umlObjectMap
Definition: refactoringassistant.h:77
void addDerivedClassifier()
Definition: refactoringassistant.cpp:529
@ it_Uniassociation
Definition: icon_utils.h:89
QTreeWidgetItem * findListViewItem(const UMLObject *obj)
Definition: refactoringassistant.cpp:118
Uml::Visibility::Enum visibility() const
Definition: umlobject.cpp:462
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for distribution and modification follow TERMS AND CONDITIONS FOR DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The refers to any such program or and a work based on the Program means either the Program or any derivative work under copyright a work containing the Program or a portion of it
Definition: GPL-2.0-only.txt:64
bool addOperation(UMLOperation *op, int position=-1)
Definition: classifier.cpp:308
@ it_Delete
Definition: icon_utils.h:118
int removeOperation(UMLOperation *op)
Definition: classifier.cpp:369
#define i18n
Definition: main.cpp:35
UMLObject * findUMLObject(const QTreeWidgetItem *)
Definition: refactoringassistant.cpp:99
void addClassifier(UMLClassifier *classifier, QTreeWidgetItem *parent=0, bool addSuper=true, bool addSub=true, bool recurse=false)
Definition: refactoringassistant.cpp:642
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1422
Definition: umloperationdialog.h:38
static QString toString(ObjectType ot)
Definition: umlobject.cpp:1214
QPixmap SmallIcon(IconType type)
Definition: icon_utils.cpp:34
virtual UMLObject * clone() const
Definition: operation.cpp:338
connect()
Definition: namespaces-multiple.php:5
#define logWarn1(s, a)
Definition: uml.h:544
@ Generalization
Definition: basictypes.h:93
type show c for details The hypothetical commands show w and show c should show the appropriate parts of the General Public License Of the commands you use may be called something other than show w and show c
Definition: GPL-2.0-only.txt:301
void attributeRemoved(UMLClassifierListItem *listItem)
Definition: refactoringassistant.cpp:294
Sets up attribute information.
Definition: attribute.h:22
UMLAttributeList getAttributeList() const
Definition: classifier.cpp:435
@ it_Generalisation
Definition: icon_utils.h:87
void refactor(UMLClassifier *obj)
Definition: refactoringassistant.cpp:75
#define logWarn0(s)
Definition: uml.h:538
Definition: operation.h:19
@ it_Public_Method
Definition: icon_utils.h:95
IconType
Definition: icon_utils.h:29
UMLClassifier * m_umlObject
Definition: refactoringassistant.h:74
@ it_Implementation_Method
Definition: icon_utils.h:98
int exec()
Definition: multipagedialogbase.cpp:218
Information for a non-graphical Concept/Class.
Definition: classifier.h:34
void setVisibilityIcon(QTreeWidgetItem *item, const UMLObject *obj)
Definition: refactoringassistant.cpp:151
void addInterfaceImplementation()
Definition: refactoringassistant.cpp:574
RefactoringAssistant(UMLDoc *doc, UMLClassifier *obj=0, QWidget *parent=0, const QString &name=QString())
Definition: refactoringassistant.cpp:38
void addBaseClassifier()
Definition: refactoringassistant.cpp:484
void attributeAdded(UMLClassifierListItem *listItem)
Definition: refactoringassistant.cpp:262
@ it_Public_Attribute
Definition: icon_utils.h:99
void objectModified()
Definition: refactoringassistant.cpp:195
void createAttribute()
Definition: refactoringassistant.cpp:615
void createOperation()
Definition: refactoringassistant.cpp:593
@ ot_Operation
Definition: umlobject.h:89
virtual UMLObject * clone() const
Definition: attribute.cpp:254
virtual void dropEvent(QDropEvent *event)
Definition: refactoringassistant.cpp:772
@ Private
Definition: basictypes.h:47
@ Protected
Definition: basictypes.h:48
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:12
UMLOperation * checkOperationSignature(const QString &name, UMLAttributeList opParams, UMLOperation *exemptOp=0) const
Definition: classifier.cpp:132
A base class for classifier list items (e.g. attributes)
Definition: classifierlistitem.h:24
virtual ~RefactoringAssistant()
Definition: refactoringassistant.cpp:65
@ it_Private_Method
Definition: icon_utils.h:96
void showContextMenu(const QPoint &)
Definition: refactoringassistant.cpp:436
UMLAttribute * addAttribute(const QString &name, Uml::ID::Type id=Uml::ID::None)
Definition: classifier.cpp:810