Does this .NET tool/utility exist? [closed] - class

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
When I generate a Class Diagram using VS2008, say for a C# file XYZ.cs - I get a Class Diagram detailing all the Fields,Properties,Methods and Nested Types.
Is there a tool/utility, which will do the same for all the internal Class/Interface references I have used within this file.
For eg. I have a Property of the type ABC in XYZ.cs ...is there any way to get to show ABC and related reference on the class diagram of XYZ itself?
To be more precise: If my XYZ.cs has a property Biped of the type Mammal. The class diagram displays and lists Biped...what I would like to see is Mammal also listed as a hierarchical node in the diagram itself.
To put it simply the complete object tree for all types...for atleast the user defined types.

Right click the property and choose "Show as Association"
Repeat for all properties with different classes

Altova UModel or Enterprise Architect. Both applications can reverse-engineer C# and Java code into UML diagrams, including class diagrams. To do this, they analyse the sourcecode or assemblies of your project.
I have used both but prefer UModel because it has less functionality. !!! EA is just overkill since it has a lot of other functionality related to project management, bug tracking and a lot more. Unfortunately, EA doesn't always allow you to undo certain actions. With UModel, you can always undo your mistakes and the user interface is more user-friendly, in my opinion.

Related

Where can I find an official complete list of scopes to go with textMateRules for C#/.NET core in Visual Studio Code? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
So far I checked out a request at https://github.com/Microsoft/vscode/issues/6056 which was closed based on Complete list of theme elements to colorize?. This in turn send to https://code.visualstudio.com/docs/getstarted/themes and https://code.visualstudio.com/docs/getstarted/theme-color-reference but there's no information on scopes.
The closest inspiration source I could found was https://github.com/Microsoft/vscode/blob/master/extensions/theme-defaults/themes/hc_black.json but it's far from a Microsoft issued official complete, systematic list/tree of C# specific scopes.
If it matters, it started from the need to color-differentiate variables by scope i.e. local vs. outer scope, or by access modifier i.e. private protected etc.
Scope names are arbitrary. You can use whatever names you want when writing a language grammar.
Because of that, there is no way to get a complete list of those names.
The official conventions for naming scopes can be found here. This page offers only the most basic guidance, so you'll need to look at some popular themes and grammars and figure out what conventions they use.
EDIT:
If you're interested specifically in C# scope names, you can get them from the corresponding grammar file at C:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\csharp\syntaxes\csharp.tmLanguage.json.

AEM Package Manager OOTB to filter properties of package filter nodes [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Is there any OOTB solution to filter some properties like cq:lastReplicated, cq:lastReplicatedBy , etc, I wanted to migrate some code from lower environments to higher these properties shows the newly moved content in author also as replicated especially on sites content. So planning to create the packages with the filters without these properties.
There is no such possibility at the moment. I would suggest to use groovy script (https://github.com/OlsonDigital/cq-groovy-console) to remove not needed properties.
As others have mentioned that there is no such functionality yet. You can either use groovy console or other alternatives as mentioned above or you can unzip your package and use text manipulation to clean the content.xml files to remove the properties. I am sure that some simple XSL or command line should be sufficient to do this.
Package manager is a node level tool so nothing is available to filter properties yet.

Perl UMMF Tutorial? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I want to be able to create UML diagrams from source code - and I found UMMF - UML Meta-Model Framework. However, I could not find any tutorial to get me started on creating a diagram with two classes and a simple relationship between them.
Basically what I am trying to achieve for now, is to create a simple two tables diagram in a relation of 1..n:
The XMI output for this diagram, is pretty verbose, because I created the diagram with Enterprise Architect - you can find this XMI file here (I could not embed the text here because is too big)
I want to use UMMF because it creates XMI files, based on perl object hierarchies that are related to OMG UML standards and those files can be imported in any modelling tool that implement those standard.
So the question is, how can I create this diagram using UMMF? - it is not necessary to be that complex.
I need the diagram to have:
two tables
at least one table to have:
one field as primary key
one indexed field
one regular field (not indexed)
a relation between the two tables
Also if you know of the existence of any good Perl UMMF tutorials, please show us their links
UML::Class::Simple can create XMI files from source code. That may be a good starting point.
You can use UMMF to programmatically create UML models from Perl and export them to XMI. However, UMMF only supports UML 1.5 -- a standard graphical diagram meta-model didn't exist until UML 2.0 AFAIK.
You might want to look at Graphvis: http://www.graphviz.org/
I've done some basic stuff to create UML-like diagrams with it. It has some basic support for record-oriented diagrams.
Someone could probably write a XMI->Graphvis transformer using UMMF. :)
BTW: I'm the author of UMMF.

Entity Framework Code First - Is there a way to create a model diagram from POCO classes [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm really into the new Entity Framework code first features (currently at CTP5 at the moment). One thing which would be ace would be the ability to generate some kind of model diagram from the POCO classes that I build.
Does such a tool exist? Preferably I'm looking for an open source solution if possible.
Cheers.
Jas.
You can always use built-in class diagram in Visual studio.
The MS ADO.NET guys have released a tool that's awesome for diagramming your EF Code-First context. There's more to your EF model than just the POCO classes - for example, the mapping fluent API - and the tool takes it into account.
Without further ado, it's the "EF Power Tools" VS extension (Beta 2 at the time of writing)
Read all about how to install and use it on the related ADO.NET blog post
Be warned, the diagram is read-only, but what would you expect when the input for it is your own code?

Is there a system or framework for non-programmer form creation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Anyone know of a system or framework for a non-programmer form creation? Not a full implementation, but something that handles the designer aspect and something that handles the displaying for being filled in. All the logic we'll be doing. Maybe just a pair of widgets.
We've got a client-server application into which normal users enter and modify data in a thick client and we want to allow the customers to update and create forms with another thick client application, rather than calling us every time they need a letter changed. We want something to do the display bits while we implement the various hooks and functions the system uses.
We're a java shop, but we expect that we're open to writing these clients in another language if it'll be easier.
Possibly Xopus with a schema for the XForm could work.
http://xopus.com/
Try searching for XForms libraries and tools. XForms is a new-ish standard format for defining forms and there are some libraries and tools available for it. Haven't tried any of these myself.
EDIT:
This looks interesting: http://www.orbeon.com/forms/builder
Well, you're a Java shop so this might not be the best tool for you, but from you description you look like a classic case for Infopath:
http://office.microsoft.com/en-us/infopath/default.aspx