diagramming

Reverse Engineering a C# Solution

China☆狼群 提交于 2020-01-01 03:27:11
问题 I know Visual Studio 2010 Ultimate has some abilities, and I would normally do this by instinct, but I am on a very tight schedule. I also have Visio 2010 installed and integrated into VS, but its reverse engineer function doesn't seem to do much, and has to be run on a per project basis, and a hindrance here is the solution structure, with several solution folders each holding a multitude of projects. I would like some advice on how to go about reverse engineering a C# solution into

change:source event in JointJS

自闭症网瘾萝莉.ら 提交于 2019-12-25 04:53:06
问题 Merry Christmas, everyone! I want to do something when the source element or target element of a joint.dia.Link is changed. Firstly I tried to put the code in the callback function of 'change:source' and 'change:target' events. However, it turns out that those callback functions are called as soon as the link's position changes, instead of being called when the source element or target element changes. Then I tried to put the code in the LinkView.pointup() function, by adding a tag, which is

Wrap conditional into a function or not represent it at all in a sequence diagram?

落爺英雄遲暮 提交于 2019-12-25 03:33:02
问题 I've this PHP controller class (belongs to Symfony2 bundle): class ReptoolController extends PageController { // ... private function _get($request, $action, $case) { $app_id = $this->getRequested('app_id'); if( ( $repappConfig = $this->getDoctrine()->getRepository('PDOneBundle:RepappConfig')->findOneBy(array("app_id"=>$app_id))) ) { $current_timestamp = new \DateTime(date('Y-m-d')); if($repappConfig->getExpireDate()) $expire_date = $repappConfig->getExpireDate()->getTimestamp(); else { $temp

Survey function in Android App

為{幸葍}努か 提交于 2019-12-25 03:18:08
问题 i want to implement a survey function in my app. There should be a 4 alternative answers and a diagramm which ilustrates the results. Has anyone an idea how i could do this? Maybe is there even a Library? I am thankful for every suggestion. Thanks for help 回答1: You could possibly use a Webview within your app and an existing survey service like Survey monkey. https://www.surveymonkey.com/mp/mobile-surveys/ In addition to this they also have a developer platform if you want to do more than the

JLayeredPane, background image + “icon” layer

╄→尐↘猪︶ㄣ 提交于 2019-12-11 08:37:17
问题 I need 2 separate JPanels (or any lightweight components) on top of each-other and ultimately embedded within a JPanel, either directly or through something like a JLayeredPane. Thus, no heavy-weight components or glass pane. The lower JPanel (named BackgroundPanel) paints a background image or plays a video while maintaining aspect ratio and using an alpha. The upper panel (called CompassPanel) has icons on it and allows the user to add icons, delete them, and move them around (like a

MVVM-Pattern for a Diagraming Application with WPF - Convert enum to xxxViewModel

两盒软妹~` 提交于 2019-12-08 00:21:42
问题 I'm trying to apply the MVVM design pattern to a diagramming application. In this application there are different items (for example a rectangle, a circle,...). I would like to save the item type as an enum in my model. In my modelview I made a class for every item type (rectangleViewMode, circleViewMode,...). On my view I apply a data template to the type, so it renders like a circle, or like a rectangle. The problem is...how can I convert the enum in my model to the requiered xxxViewMode? I

Is there a free (as in beer) Flow chart generator for COBOL Code? [closed]

别说谁变了你拦得住时间么 提交于 2019-12-07 15:26:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I've never read COBOL in my life and have been tasked with rewriting the old COBOL code in a new language. Are there any free or free-to-try software packages out there that will generate a flow chart for a COBOL program? I've looked at "Visustin" and "Code Visual to Flowchart" Visustin blanks out part of the

UML - association or aggregation (simple code snippets)

孤街浪徒 提交于 2019-12-07 10:01:20
问题 I drives me crazy how many books contradicts themselves. Class A {} class B {void UseA(A a)} //some say this is an association, no reference is held but communication is possible Class A {} class B {A a;} //some say this is aggregration, a reference is held But many say that holding a reference is still just an association and for aggregation they use a list - IMHO this is the same, it it still a reference. I am very confused, I would like to understand the problem. E.g. here: http:/

MVVM-Pattern for a Diagraming Application with WPF - Convert enum to xxxViewModel

筅森魡賤 提交于 2019-12-06 13:37:44
I'm trying to apply the MVVM design pattern to a diagramming application. In this application there are different items (for example a rectangle, a circle,...). I would like to save the item type as an enum in my model. In my modelview I made a class for every item type (rectangleViewMode, circleViewMode,...). On my view I apply a data template to the type, so it renders like a circle, or like a rectangle. The problem is...how can I convert the enum in my model to the requiered xxxViewMode? I have a lot of types and I would like an automatic conversion. I'm new to MVVM and maybe there is a

UML - association or aggregation (simple code snippets)

久未见 提交于 2019-12-05 16:58:47
I drives me crazy how many books contradicts themselves. Class A {} class B {void UseA(A a)} //some say this is an association, no reference is held but communication is possible Class A {} class B {A a;} //some say this is aggregration, a reference is held But many say that holding a reference is still just an association and for aggregation they use a list - IMHO this is the same, it it still a reference. I am very confused, I would like to understand the problem. E.g. here: http://aviadezra.blogspot.cz/2009/05/uml-association-aggregation-composition.html - what is the difference between