all!
I have c++/cli project. I've imported it in Enterprise Architect 8.0. But I've in code xml comments. How can I make EA to show them in class diagrams?
It looks like EA version 9 supports both C++/CLI and XML documentation comments:
Related
I'm generating PDF documents using iText(Sharp).
I'm developing the app using Visual Studio 2017.
I've added iTestSharp using NuGet and I've experimented with both VB and C#
All is fine for the 'high-level' stuff (chapter 1 from the jumpstart tutorial). Now I want to go more low-level using 'page', 'canvas' and 'low-level' drawing commands : chapter 2 from the jumpstart tutorial
http://developers.itextpdf.com/content/itext-7-jump-start-tutorial/chapter-2-adding-low-level-content
My problem is that I can't access the classes PdfDocument, PdfCanvas, etc. these classes are not available..
Also I can't create a New PdfWriter object (New operator is not implemented)
What's wrong ?
am I missing some Imports / using libraries ? (I currently include
iTextSharp.text and iTextSharp.text.pdf)
has this someting to do with iText V5 - > V7 and is the tutorial maybe a bit out of date ?
are these classes only available in the Java libraries, and not in the .NET port ?
Does anyone have an example of drawing stuff on a canvas using VB.NET - this would be very helpful!
Thanks.
To clarify further:
iText 5 .NET is nicknamed iTextSharp because of historical reasons that are beyond the scope of a Stack Overflow question.
iText 7 .NET doesn't have a nickname because we (iText Software) want to emphasize that it is exactly the same product as iText 7 Java, just for a different platform.
The tutorial you found is not out of date, on the contrary, it's the most recent one. It's the iTextSharp you got from NuGet that is out of date.
If you read the description on NuGet.org then you will clearly see that iTextSharp is the old version: https://www.nuget.org/packages/iTextSharp
We have two currently supported versions: iText 5 and iText 7. Both
are available under AGPL and Commercial license.
iText 5 AGPL
iText 7 community: https://www.nuget.org/packages/itext7/
iText 5 is a one solution library that is complex, but well documented
to help you create your solutions.
iText 7 is a complete re-write of iText 5, allowing you to choose your
adventure with add-ons, all based on a simple, modular code structure
that is easy to use and well documented.
and
iTextSharp is the .NET port of iText 5.
If this wasn't clear enough for you (and it obviously wasn't), then I would really, really appreciate your feedback on how we can improve the description on NuGet.org.
Make sure you have the right NuGet packages on your system.
To try this out, create an empty project and include NuGet packages
iText7 by iText Software v 7.0.4
The jumpstart tutorial was written for iText7, so it make sense you'd need that specific version. iText7 is a complete re-write of iText5. So you might indeed find several classes missing if you try to run the samples against the iText5 library.
I am trying to generate a diagram from IntelliJ 14. It is told in the documentation to install the UML Support plugin. I do not find a such plugin on my computer:
What am I missing?
The solution is: don't use the community edition. It is limited in respect to diagram options.
As I also mentioned here:
The community edition only supports a limited number of plugins. The
class diagram plugin is only supported in the Ultimate edition if I
remember correctly.
You can always try a 30-day free trial of IntelliJ Ultimate in order
to generate your class diagrams.
I recall reading that one has to pay for IntelliJ to get that functionality. It is not in the free version.
I use Code Iris and PlantUML. It is a very useful tools especially PlantUML. Other tools of this type in the IDEA are paid.
Below PlantUML.
I hope it will help you.
I've been looking for 3 days for a an eclipse plugin that helps you to create a visual component diagram. I also want to be able to extract the XMI file that corresponds to the diagram I create. So far I tried EMF, and GMF, but after installing them, I couldn't find what I need. I only got stuff like this:
I have no problem with using a non-eclipse based tool, as long as it serves my need.
Any help? Thanks.
Try Papyrus. EMF and GMF are frameworks to create your own diagram editors, Papyrus is an open-source tool which is based on them. Component diagram is one of supported UML diagrams. Steps to create a new diagram are described here.
What worked for me is Altova UModel 2014. I downloaded a trial version, and it perfectly matches my need. I can buy it later. No problem.
I understand that OSGI is just a specification and they don't event mandate that implementation be in Java.
Then who/which guys have framed the "org.osgi.framework.x" packages. For e.g. where does the BundleContext.java class come from? Has this API provided by OSGIALliance itself?
Note that I understand that the implementation of these interfaces are provided by various different communities. I only need to know where the foundation interfaces come from, as I see both Knopplerfish and Equinox have similar org.osgi.framework.* files
I understand that OSGI is just a specification and they don't event mandate that implementation be in Java.
Not true:
http://www.osgi.org/About/HomePage
The OSGi Alliance is a worldwide consortium of technology innovators that advances a proven and mature process to create open specifications that enable the modular assembly of software built with Java technology.
Then who/which guys have framed the "org.osgi.framework.x" packages.
The OSGi Alliance is a consortium, and the framework API was arrived at by consensus.
In addition to skaffman's answer: Please have a look at the FAQ posted on the OSGi Alliance's web side ( http://www.osgi.org/About/FAQ ). You'll find good descriptions about the work, the specification process and relationships to other standard bodies.
The foundation interfaces can be downloaded here: http://www.osgi.org/Specifications/HomePage . You have to choose the release and accept the click-trough license.
The org.osgi.* packages are part of the OSGi Specification. They can be downloaded as a JAR from the following page: http://www.osgi.org/Specifications/HomePage
Simple question really. No elaboration required.
I have found similar tools for Java, C#, C++ and other languages but not VB.Net.
Thanks
Unfortunately, I don't know of a plugin for StarUML that will generate VB.NET code, however, if using a different modelling tool is a possibility, Sparx System's Enterprise Architect will generate code in VB.NET (as well as many other languages).
Enterprise Architect enables you to
generate source code from UML model
elements, creating a source code
equivalent of the Class or Interface
element for future elaboration and
compilation. In particular you can
generate C, C++, C#, Delphi, Java,
PHP, Python, ActionScript, Visual
Basic and VB.NET source code. The
source code generated includes Class
definitions, variables and function
stubs for each attribute and method in
the UML Class.
Unfortunately, Enterprise Architect is not free nor is it open source, however, there is a full functional 30 day trial available, along with discount options for academic pricing (if appropriate).
If you're looking to stay with free and/or open source software, I think the closest for VB.NET code generation would be to use a couple of tools in conjunction with each other:
Dia is an open source, GTK+ based diagram creation program for Linux, Unix and Windows released under the GPL license. You can use this to create your UML diagrams. From there, you would use:
Project: CodeGen from Novell, which will take the UML diagrams saved/exported from Dia and convert them into skeleton C# or VB.NET code.
If you're prepared to look at a more "general purpose" code generator, this page:
Generators that build VB.NET
will give you a good starting list of tools that will generate VB.NET code.