umbrello
2.32.2
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:420
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1389
void editProperties()
Definition: refactoringassistant.cpp:307
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:117
ObjectType
Definition: umlobject.h:75
@ N_ICONTYPES
Definition: icon_utils.h:227
@ Implementation
Definition: basictypes.h:49
UMLOperation * asUMLOperation()
Definition: umlobject.cpp:1404
Definition: umlattributelist.h:20
QString name() const
Definition: umlobject.cpp:206
@ it_Properties
Definition: icon_utils.h:133
QSet< UMLClassifier * > m_alreadySeen
recursive guard
Definition: refactoringassistant.h:78
UMLAttributeList getParmList() const
Definition: operation.cpp:173
@ it_Protected_Method
Definition: icon_utils.h:100
UMLAttribute * asUMLAttribute()
Definition: umlobject.cpp:1385
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Definition: object_factory.cpp:203
UMLAssociation * createUMLAssociation(UMLObject *a, UMLObject *b, Uml::AssociationType::Enum type)
Definition: umldoc.cpp:1464
@ ot_Class
Definition: umlobject.h:85
void operationAdded(UMLClassifierListItem *listItem)
Definition: refactoringassistant.cpp:212
@ 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:1300
Definition: refactoringassistant.h:23
@ it_Implementation_Attribute
Definition: icon_utils.h:105
@ it_Protected_Attribute
Definition: icon_utils.h:104
void itemExecuted(QTreeWidgetItem *item, int column)
Definition: refactoringassistant.cpp:134
UMLObject * umlParent() const
Definition: umlobject.cpp:674
virtual void dragMoveEvent(QDragMoveEvent *event)
Definition: refactoringassistant.cpp:732
QAction * createAction(const QString &text, const char *method, const Icon_Utils::IconType icon=Icon_Utils::N_ICONTYPES)
Definition: refactoringassistant.cpp:416
QList< UMLClassifier * > UMLClassifierList
Definition: umlclassifierlist.h:12
void operationRemoved(UMLClassifierListItem *listItem)
Definition: refactoringassistant.cpp:242
Definition: umlattributedialog.h:29
UMLDoc * m_doc
Definition: refactoringassistant.h:75
@ it_Folder_Orange
Definition: icon_utils.h:48
@ it_Private_Attribute
Definition: icon_utils.h:103
Definition: classpropertiesdialog.h:29
The base class for UML objects.
Definition: umlobject.h:69
void deleteItem()
Definition: refactoringassistant.cpp:356
ObjectType baseType() const
Definition: umlobject.cpp:392
int removeAttribute(UMLAttribute *att)
Definition: classifier.cpp:889
void signalUMLObjectCreated(UMLObject *o)
Definition: umldoc.cpp:1984
@ Public
Definition: basictypes.h:46
QMap< QTreeWidgetItem *, UMLObject * > m_umlObjectMap
Definition: refactoringassistant.h:77
void addDerivedClassifier()
Definition: refactoringassistant.cpp:524
@ it_Uniassociation
Definition: icon_utils.h:92
QTreeWidgetItem * findListViewItem(const UMLObject *obj)
Definition: refactoringassistant.cpp:116
Uml::Visibility::Enum visibility() const
Definition: umlobject.cpp:461
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:305
#define uWarning()
Definition: debug_utils.h:110
@ it_Delete
Definition: icon_utils.h:121
int removeOperation(UMLOperation *op)
Definition: classifier.cpp:365
#define i18n
Definition: main.cpp:34
UMLObject * findUMLObject(const QTreeWidgetItem *)
Definition: refactoringassistant.cpp:98
void addClassifier(UMLClassifier *classifier, QTreeWidgetItem *parent=0, bool addSuper=true, bool addSub=true, bool recurse=false)
Definition: refactoringassistant.cpp:637
Definition: umloperationdialog.h:38
QPixmap SmallIcon(IconType type)
Definition: icon_utils.cpp:26
virtual UMLObject * clone() const
Definition: operation.cpp:333
connect()
Definition: namespaces-multiple.php:5
@ 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:289
Sets up attribute information.
Definition: attribute.h:22
UMLAttributeList getAttributeList() const
Definition: classifier.cpp:431
@ it_Generalisation
Definition: icon_utils.h:90
void refactor(UMLClassifier *obj)
Definition: refactoringassistant.cpp:74
#define DEBUG(src)
Definition: debug_utils.h:115
Definition: operation.h:19
@ it_Public_Method
Definition: icon_utils.h:98
IconType
Definition: icon_utils.h:32
UMLClassifier * m_umlObject
Definition: refactoringassistant.h:74
@ it_Implementation_Method
Definition: icon_utils.h:101
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:148
void addInterfaceImplementation()
Definition: refactoringassistant.cpp:569
#define DBG_SRC
Definition: import_utils.cpp:38
RefactoringAssistant(UMLDoc *doc, UMLClassifier *obj=0, QWidget *parent=0, const QString &name=QString())
Definition: refactoringassistant.cpp:37
void addBaseClassifier()
Definition: refactoringassistant.cpp:479
void attributeAdded(UMLClassifierListItem *listItem)
Definition: refactoringassistant.cpp:258
@ it_Public_Attribute
Definition: icon_utils.h:102
void objectModified()
Definition: refactoringassistant.cpp:192
void createAttribute()
Definition: refactoringassistant.cpp:610
void createOperation()
Definition: refactoringassistant.cpp:588
@ ot_Operation
Definition: umlobject.h:89
virtual UMLObject * clone() const
Definition: attribute.cpp:247
virtual void dropEvent(QDropEvent *event)
Definition: refactoringassistant.cpp:767
@ 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:129
A base class for classifier list items (e.g. attributes)
Definition: classifierlistitem.h:24
virtual ~RefactoringAssistant()
Definition: refactoringassistant.cpp:64
@ it_Private_Method
Definition: icon_utils.h:99
void showContextMenu(const QPoint &)
Definition: refactoringassistant.cpp:431
UMLAttribute * addAttribute(const QString &name, Uml::ID::Type id=Uml::ID::None)
Definition: classifier.cpp:806