Netbeans changed after UML installed - uml

I installed and used a UML plugin found here: UML Plugin for Netbeans 7.0?
Afterword, all of my .java code associated with the UML became black and white and un-editable. Although, I can write extra text it cannot be deleted. Running my project results in "Cannot execute - java executable not found".
I deleted the UML files associated with my projects and the code hasn't returned to normal.
Thanks.
Here is a picture:
This actually occurred to all java files.

Unlike Eclipse, different versions of NetBeans are so different that plugins made for younger versions (6) DO NOT work on later versions (8) by default. You can upgrade only subversions steps (digits after dot) without changing plugins. So you have used two pieces of SW that need not be compatible at all. You used a workaround to make to work the installation. And you can get absolutely any consequences, don't be surprised.
The history of the problem: there is no free UML plugin supporting NetBeans NOW. There was one, of Visual Paradigm, for versions to 6. But it's later variants are not free anymore and they are differently organized. If you want to use the modern version of the plugin, prepare to pay. It is very probable, that the free plugin doesn't work on NetBeans 8 by purpose.
You can try a new different plugin http://plugins.netbeans.org/plugin/49069/plantuml#v2590 of another author. It seems more simple, but at least it won't destroy your IDE. And now you have to save the project, reinstall NetBEans and import the project again.

Related

Installing Sublime Text 3 on Mac with ST 2 installed

Is it OK to install ST3 on Mac OSX 10.11.2 which has ST2 installed? and what things I need to look out for?
Thanks
I mean your only going to get benefits as you go up the chain so here are some(from hundreds):
Speed. Startup time, file load time, and Replace All have all been
significantly improved. If you're using OS X with a Retina display,
then you'll find huge rendering speed improvements too.
Symbol Indexing, for Goto Definition and Goto Symbol in Project.
Complementing these are the Jump Forward and Jump Back features.
Improved HTML Editing, including tag and attribute completion as well
as automatic tag closing.
Improved Project and Pane management, including multiple workspaces
for a single project.
Richer API. Plugins are better insulated from the application, and
now have a broader and fully threadsafe API to work with.
I have sublime text 3, and its the best code-editor ive used. Dont worry get sublime text 3 as it will only get better :)

How do I detach View windows in Eclipse Mars on openSuSE?

First, the basic operation is described in the Eclipse Help here!
Unfortunately, it does not work as described there!
Does anybody get it to work?
Please keep in mind that it may behave differently on different platforms; I am running Eclipse Mars on openSuSE 13.1/KDE 4.11.5, and this may be of course the reason why it will not work at all ... :-(
It worked fine for all previous versions of Eclipse I installed on that machine before.
Just drag them out of the workbench window (also works for editors in Eclipse 4...;-). Now you can also make a detached window contain more than one stack with its own maximize support...

How can I create a class diagram with NetBeans' 6.8 UML module?

It seems to me the UML module of NetBeans is a bit too much hidden. In NetBeans 6.5 it was very easy to create an UML diagram. No plugin installation necessary or sth. like.
Read my post where I found a zip file to install the UML module.
And now, after this procedure, I got the UML module back, but it seems to me that I cannot create class diagram with it. Do you know how I can do this with NetBeans 6.8?
Update1: There seems to be no support
Update2: Nevertheless somebody seems to got it working.
Converted to answer: The UML plugin is no longer supported in new versions of NetBeans as stated in the wiki http://wiki.netbeans.org/UML. Not sure why, but that seems to be the case, does not answer your question, but it does put it in context. I could be just slowly breaking which is why both you and the blogger you linked to can't gets things to work.
Visual Paradigm has released a community edition for UML 7.2 which is free for non-commercial use.
You can find it at http://www.visual-paradigm.com/download/vpuml.jsp?edition=ce. You have to register for an activation key though!
cant add comment :-( but just want to confirm what DCraft said:
the community edition of Visual Paradigm does not support forward or reverse engineering.
seems the only solution is to use an older version of netbeans
With the current 7.2 Netbeans release the capability for UML Sequence and class diagram creation exists with the Visual Paradigm UML tool (version 10). You can get the trial version for 30 days that will do the reverse engineering from the code. Here is a link to the instructions. http://www.visual-paradigm.com/support/documents/vpumluserguide/2381/2384/66565_reverseengin.html ( The community version has this feature but it is disabled).
If you go here and download the UML module cluster you can simply copy it into the NetBeans install directory and then NetBeans will have UML functionality again!
If you don't feel like looking through the page of module clusters the direct download link is here.
I am using a SDE-NB visual paradigm
I have NB 6.9.1. I've installed the UML plugin but it fails to make reverse engineering (create UML class diagram from existing source).
I didn't want to downgrade to 6.7, so I installed ArgoUML tool.
In order to generate class diagram from existing source you need to follow next steps:
1. File->Import Sources
2. Change the Files of Types to "All Files"
3. Select the directory (where the *.java files are stored) or packages
4. A small dialog window pop up -> select OK
5. On the left hand side, you will see UntitledModel. Click on the _classes and they should occur in right in the diagram as little boxes.
6. To show the attributes/methods, point a class (in the diagram), right click the mouse, select Show->"Show All Compartment"

How do I get a new version of a xcdatamodel to appear in xcode?

Environment: xcode 3.2.1, document-based core-data application.
I have a document-based cocoa app which uses core data. I have made multiple versions of the data model Xcode shows a xcdatamodeld directory with multiple xcdatamodels (versions) that I made over time. (I also have the appropriate mapping models). All works fine, but now when I want to create a new version, xcode refuses to show the new xcdatamodel. The file is actually created; I can see it in the finder if I go into the xcdatamodeld package.
Has anyone run into this behaviour? Is there a fix? Perhaps my xcodeproj file is corrupted somehow?
Thanks,
Martin
I'll answer my own question. Believe it or not, this anomalous behaviour was caused by a bug in a Logitech scripting addition which was tickled by the fact that I am using Default Folder X!
Weird, but true.
All better now.

Vim as Visual Studio IDE

I have spent lot of time doing research on VIM. I am Windows guy since last 6 yrs and was using VS.
Now started working on Linux. I want to make VIM as close as possible to VS.
I want features like
Project Navigation
Files in Different Tabs
Search in Project
AutoCompletion
I have found plugins for the above requirements
Project Pligin
MiniExplore
Taglist
OmniComplete
I am not able to correctly set vimrc script.
When I try to open file from Project it gets open in different tabs.I want to get it open in different buffers.
Also when I want to close file in buffer , complete window gets closed.
Open taglist and project window makes all mess.
Has any one done settings with these plugin..
Could you guys please post your vimrc files??
It will save lot of time for newbies like me..
Vim is a very different tool than Visual Studio. Plugins may help you get certain bits of functionality you desire, but do not expect them to work exactly like VS, work well together, or even work at all.
If you are looking for a programming environment more like Visual Studio, there are many good graphical IDE's you can use such as NetBeans, Eclipse, Code::Blocks, KDevelop, Anjuta, etc. Some of these tools are, IMHO, better heavyweight IDE's than Visual Studio, and all are available on Linux for free.
You should either learn to use Vim the way it was built to be used, or find a different tool that suits you better. Shoehorning Vim into a surrogate for Visual Studio will probably cause you more pain than it's worth.
Yes it's different to VS, but that doesn't mean it can't be used in the same way. It's just not as easy to do it :)
Personally I go the other way and use ViEmu to get VS to behave like VIM. But I'm not in the same situation as the author of this question.
Why not have a dig through some uploaded vimrc files on dotfiles.org?
You can use the following script, Trinity.
http://www.vim.org/scripts/script.php?script_id=2347
It will require 3 more scripts, and Vim will look like an IDE.
The TagList at left, a file exporer (NERDTree) at right, and Source Explorer at bottom.
Also, you can find some very useful blog entries at
http://kevin-berridge.blogspot.com/search/label/vim
The author, Kevin, explains how to compile solutions form inside Vim. He also shows interfacing and jumping between them which is very useful too.
Furhermore, there is the script vim-visual-studio which can be found at
http://code.google.com/p/vim-visual-studio/
This script is using Python extension. I have Python 2.5 installed in Windows. I am using Gvim 7.2 which is compiled with Python 2.4. So, I have replaced the executables of Gvim as explained here:
http://www.gooli.org/blog/gvim-72-with-python-2526-support-windows-binaries/
So, Gvim became compatible with Python 2.5 and raised no problems. Also, a menu entry "Visual Studio" has appeared as expected. It connects to Visual Studio itself, and it works perfectly. It does not just compiles a file, it can compile a solution containing more than one project as in Visual Studio. You can even use the Vim's 'quickfix' feature. Hope this helps.
If you really want to have vim as the front end, try Eclim. It uses Eclipse as a backend daemon for code completion and project management, and vim as the interface.
If you only like vim because of the vi key bindings, but want it to be more IDE like, you could try the latest MonoDevelop that has it built in.
These plugins used to exist long before vim had tabs. I'd be quite surprised there isn't a way to tune these plugins to split windows instead of opening tabs.
Now I can't help you much as I don't use these specific plugins but other ones. You should look at their help (:h project, :h taglist, etc)
PS: in vim terminology (it will help you browse the help files), what you call "buffer" is actually called "window", while a "buffer" is just the text you are working on, it may be associated to a file, or not. For a given buffer, there may be no or several window displaying parts of the buffer.
you can give a try to eXvim
http://code.google.com/p/exvim/

Resources