15,896,487 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Daskul (Top 18 by date)
Daskul
27-Jan-13 5:59am
View
NO i dont want to create polygon shape.
I want to create a line with a custom shape at its end like this:
----------------> for triangle or ------------------<> for diamond like in the UML diagram aggregation and composition
Daskul
7-Jan-13 8:42am
View
What is the term for Views, Functions, Stored Procedures, Routines? Is there some kind of thing like them that returns multiple row data so that I can omit the SELECT statement?
Daskul
6-Jan-13 6:10am
View
Do you mean I need to create two ViewModels? AuthorViewModel and BookViewModel that will contain ObservableCollection of AuthorViewModel?
But I want my Models be synchronized to whatever changes happened so that when I want to save my Models data lets say in a persistence storage.
How can I do that? I dont want to use the ViewModels data instead of MOdels data to be saved in persistence storage. Because base on what I understand about MVVM, ViewModels are just for supplying data on VIews and not on Business Layer.
Daskul
14-Dec-12 1:12am
View
Sir can i ask how to implement or more detailed approach on the Type class? how can i use it? what should be the content of the class? who extends it? who and how will i interact with the object?
as well as the relationship. cant quite figure out how to implement it. can you make it crystal clear for me sir?
thanks a lot
Daskul
12-Dec-12 20:45pm
View
ALL answers, comments, questions are VERY much accepted :-)
can you some reference about OOP, Interface Programming and other important concepts of software engineering? cant find ebooks on some of those.
Daskul
12-Dec-12 20:23pm
View
thanks a lot. as a beginner i find it overwhelming :)
but ill just review it till i get the concept of the hierarchy.
Daskul
12-Dec-12 20:16pm
View
reviewing your previous comments sir, i guess youre right that its better or should i say the right thing, to just build my own simple data contract. i can still use parsing then using relfection right?
Daskul
11-Dec-12 20:18pm
View
But can you still help me sir on the UML Model part? Can you show me the class hierarchy and example on how to use it?
thank you very much sir
Daskul
10-Dec-12 20:44pm
View
I agree that using data contract is more convenient, but what I must do is "manually" traverse the UML Diagram objects, and get all the UMLEntity data and then save them to XML, I also need to manually load them by using XMLReader, and instantiate UMLEntity(s) based on the data fetched on the XML.
Base on what I read about Data Contract it automatically save/load data on XML.
I will use XAML for data binding, styles, triggers for user experience. Do I need to use geometry? where can I use it? I thought the only thing I need is the Polyline.
On Pattern I will use MVVM, Can you help me sir design my Domain Models for the UML?
The study will be accepted only if I will traverse data back and forth from XML and Memory manually.
All your solutions are well accepted, but I need different approach. And that is manually traverse the data.
Daskul
10-Dec-12 10:00am
View
I dont know sir, please help me to decide.
The purpose of my study is to use existing parsing algorithm to read/write xml for loading and saving of UML Diagram respectively. The UML Tool will also generate PHP Files based on the diagram. So I am afraid I cant use the Data COntract or other built in libraries because it will break the purpose of the study.
I also checked out Reflection, but i dont know if it will be a good choice.
So what I am planning to do is create a Inheritance Tree(dont know what the actual term is) which will mimic the data that are inside a Class or Interface. like this :
UMLEntity
-Properties
* Name
* List of fields (maybe type of UMLEntityProperty )
* list of methods (maybe type of UMLEntityMethod )
UMLClass extends UMLEntity
UMLInterface extends UMLEntity
so one object on the UML Diagram will be equivalent to an instance of type UMLEntity (UMLClass/UMLInterface)
By the way I am going to use C# 4.0, WPF + XAML. So i hope design of my classes wont get me into trouble in data binding.
or is there a better way than this?
Daskul
10-Dec-12 1:33am
View
it would be better sir if you provide both. ^_^
why you came up with that, what is good about that approach. what are the drawbacks on other approach.
those questions are also the reason sir that's why i am looking for a mentor. its rare to see answers like that in the internet.
thanks a lot sir for being patient responding to my post ^_^
Daskul
10-Dec-12 0:37am
View
If you'll be the one to design it, what is your approach regarding this project? Can you please share your idea.
Thank you
Daskul
9-Dec-12 23:05pm
View
Yes sir that's what im trying to say, it is already done. The purpose of my project is to CREATE a parser that will save and load .Net objects (UMLENtity) from XML (vice-versa). What else should i do if it is provided by "Data Contract". Now going back to my original question, Thats why i am focusing my questions on how to Structure my CLASSES to fit on this UML Editor project for easy PARSING from UMLEntity(s) to XML files vice-versa.
Daskul
9-Dec-12 21:21pm
View
I forgot to tell you sir that part of my project is to create a parser for XML and UML Class diagram for saving and loading the diagram. so i think i cant use data contract. I really apologize.
Daskul
9-Dec-12 21:16pm
View
Thank you sir I will check that out. I guess it is use only for read/write from lets say xml to .Net objects and vice-versa. and creating a inheritance tree is still neccessary like my previous concern?
Daskul
9-Dec-12 20:32pm
View
What I am trying to say is, should I create an interface like IAccessModifier which will have properties like (IsStatic, IsAbstract etc) and will be implemented by Entities and Members? because I think i cant achieve it by inheritance, can it be(?).
My idea is one Item on the diagram will be an instance of UMLEntity (UMLEntity or UMLInterface) then when the user wants to save it (want to come back to it the next day) the data will be stored in an XML, then it will be use to load and instatiate all the objects (UMLEntity) again and create the diagram.
I am using WPF.
Daskul
9-Dec-12 20:17pm
View
Why do you want to add items on combobox2 when selectedIndex is changed? Everytime you changed the selection, combobox2 will have same entry of items.
Maybe you want to change the content of the combobox2 when combobox1 changes, and not adding same data each time you change selection on combobox1
Daskul
9-Dec-12 20:04pm
View
I apologize, Thank you for your response. By saying limited I mean, for example not all members of an UMLEntity can be static, private like members of an UMLInterface. and you cant use all those modifiers at the same time.
I hope this answers your question
Show More