Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for a free UML tool that runs on Windows and lets me create simple diagrams very fast, with as little mouse fiddling as possible.
I have no need for code generation or fancy stuff, just UML style boxes with arrows.
What I would like is something that for example lets me add a new class with a keyboard shortcut and lets me enter the name without having to double click the added class or something like that. Just a simple app that let you model efficiently without getting the urge to eat your desk...
What I don't want is to have to drag an item from a toolbox to the surface, double click the item, enter the name, grab the mouse again, click the ok button, rince and repeat.
For Eclipse there is TextUML that lets you create diagrams using a textual notation, but I want it for .Net development and I don't want to run Eclipse just for a tiny diagramming plugin.
I have tried quite a few of the open source tools out there, but most of them have quite an awful user experience.
So, is there a tool that fits the above description?
If you really just want boxes with arrows, use GraphViz. It allows you to enter textual descriptions and the current Windows version is now able to provide a graphical preview of the text file. You can choose different shape types and it will allow you produce diagrams even as fancy as the following one.
I have a full-blown UML tool (the superb Enterprise Architect) but I still use GraphViz daily for simple sketch diagrams.
For more traditional UML examples with GraphViz see this blog and the UMLGraph site.
digraph {
/* notes */
subgraph cluster_legend {
graph [color=lightyellow style=filled]
node[shape=plaintext]
edge[style=invisible arrowhead=none]
Mac[label="On Macintosh\nonly" color=blue fontcolor=blue]
Next[label="Next Version" color=grey fontcolor=grey]
Mac->Next
}
edge [color=black fontcolor=black]
node [weight=bold fontsize=14 color=black fontcolor=black]
/* docs */
node[ shape=box3d]
AppMakerv2[label="AppMaker V2\nDocument" color=blue fontcolor=blue]
AppMakerX[label="AppMakerX\nDocument"]
/* Code */
node [shape=folder]
PP[label="PowerPlant\nPPob Resources" color=blue fontcolor=blue]
Classic[label="Classic Mac\nResource fork:\nMENU, DLOG, DITL" color=blue fontcolor=blue]
XAML
WPFApp[label="WPF Application\nXAML resources\nC# Code and properties"]
REALBasic[label="REALbasic Application\nXML format\nwindows and code" color=grey fontcolor=grey]
Cocoa[label="Cocoa Application\nxib resources\nObjective-C Code" color=grey fontcolor=grey]
hand[label="Hand Editing in\nAppMaker v2 GUI" shape=plaintext fontcolor=blue]
/* processes */
node[shape=ellipse]
Importer[color=blue fontcolor=blue]
Exporter[color=blue fontcolor=blue]
Converter
WPFGen[label="WPF\nGenerator"]
CocoaGen[label="Cocoa\nGenerator" color=grey fontcolor=grey]
RBGen[label="REALbasic\nGenerator" color=grey fontcolor=grey]
/* Mac workflow */
edge[color=blue]
PP->Importer
Classic->Importer
hand->AppMakerv2
Importer->AppMakerv2
AppMakerv2->Exporter->AppMakerX
/* cross-platform workflow */
edge[color=black]
XAML->Converter->AppMakerX
AppMakerX->WPFGen->WPFApp
/* future workflow */
edge [color=grey fontcolor=grey]
AppMakerX->CocoaGen->Cocoa
AppMakerX->RBGen->REALBasic
}
alt text http://www.aussiedesignedsoftware.com/AppMakerX/files/amxworkflow.png
try trace2uml
http://trace2uml.tigris.org/
it is free, easy to use and light
I find JUDE very good, lightweight software for modeling in UML. It's cross-platform, has community edition, it's easy to use, supports standard UML and diagrams look very nice.
http://jude.change-vision.com/jude-web/index.html
Related
I'm fairly new to coding for Linux, and haven't done a lot of GUI programming. I've run into problems using Gnome Builder and programmatic access to UI widgets.
How the heck to you access a widget (built in a UI file and instantiated by widget templates in the *-window.c source file) to do anything with the widget? I could use gtk_builder calls in GTK3 to access widgets, but the GTK4 model is completely different, and I haven't found useful information that describes or demonstrates how to do it.
There are 2 ways of doing this in GTK (both 3 and 4) with UI files:
Parse the UI definition using something like gtk_builder_new_from_resource(). You can then use API like gtk_builder_get_object() to fetch the widgets you want by their id attribute
Use composite templates like gtk_widget_class_bind_template_child(). You can find an example of how to do this in the second chapter of the GNOME beginners tutorial
Usually, the second option is preferred, as it tends to lead to less boilerplate code
I'm new to Haxe/HaxeFlixel and I want to use an UI tool to make my game.
After some research I find 3 tools that seems to be good to make UI for Haxe.
HaxeUI
StablexUI
flixel-ui
flixel-ui has a serious lack of documentation, so I'm leaning towards StablexUI. However, it's not integrated with HaxeFlixel.
I test to load it in a FlxState but there are some issues.
First, the cursor is behind the UI
Second, the UI doesn't catch keyboard input
Third, the text is not visible
This is my code:
override public function create():Void
{
FlxG.cameras.bgColor = 0xff131c1b;
FlxG.mouse.useSystemCursor = true;
UIBuilder.init();
Lib.current.addChild( UIBuilder.buildFn('ui/main.xml')() );
super.create();
}
And the XML:
<?xml version="1.0" encoding="UTF-8"?>
<HBox padding="10" childPadding="5">
<InputText id="'input'" skin:Paint-border="1" skin:Paint-color="0xFFFFFF" w="150" h="20" text="'type any message here'"/>
<!-- Here we create on-click handler wich shows our alert box with input message -->
<Button h="20" text="'Show me the alert!'" skin:Paint-color="0xbbbbbb" skin:Paint-border="1"/>
Is it possible to use StablexUI with HaxeFlixel, and if yes how?
First of all, Flixel subverts the basic OpenFL display list with its own, so you'll have to layer the entire StablexUI object over the entire Flixel canvas.
This has some noteable downsides to it -- primarily that your entire UI will always have to be over your entire flixel canvas, and will not care about or respond to things like flixel state changes, etc. It also cannot mix with flixel assets like FlxSprites. With the cursor you might be able to get good results by turning off the HaxeFlixel cursor and just using the regular system cursor.
As for flixel-ui's documentation what specifically is lacking? Were you not able to find what you needed here?
https://github.com/haxeflixel/flixel-ui
Another possibility is HaxeUI -- HaxeUI has customizable backends, so it's possible that it could be implemented with native flixel widgets. That's a lot of work, but you could let the maintainer, Ian Harrigan, know that it would be valuable to you, and he might add it in the future.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have small test to handle bitmap in MFC (VC++ 2008).
I want to process left mouse click or right mouse click on a image to call any event.
(I dont want to calculate coordinates, I only want to handle image as a object and left click, right click on that object)
Anyone know the MFC lib or source code, please help me.
Thanks.
Use a picture control to display the image. The picture control is represented in MFC by CStatic. Since CStatic does not generate the mouse notifications that you want you need to customize it, using the MFC subclassing technique.
First you create a control member variable of type CStatic. Then to add the custom mouse handling that you want you create a class derived from CStatic and add message handlers for all the mouse messages that you are interested in, like WM_LBUTTONDOWN and WM_RBUTTONDOWN. Change your control member variable to be your CStatic-derived class instead of CStatic. Now you are intercepting the mouse messages that come in to the picture control. Write a little code in each message handler to notify the parent dialog/form, like...
#define UWM_LIMAGECLICK (WM_USER+10) // your custom message
GetParent()->PostMessage(UWM_IMAGECLICK, IDC_IMAGE, 0); // your picture control's ID
The parent window can receive and handle this message with
ON_MESSAGE(UWM_LIMAGECLICK, OnLImageClick) // in the message map
LRESULT CYourParentClass::OnLImageClick(WPARAM wParam, LPARAM lParam)
{
....the image was L clicked
return 0;
}
Using 2.0
Getting starting, confortable with Smalltalk, so tool questions I have not found readily in image or 'by Example' book (outdated).
Looking for entry field (not ready-to-use dialog box).
Like:
(TextMorph new) contents: '(enter name here)'; openInWorld.
"but this just opens text, would like to be editable"
Would like to construct [simple] canvas with say four fields e.g. entry, radio, dropdown, etc. examples available?
Anyone know where 'PreferencesBrowser' has been moved to (e.g. keyboard etc.).
Is there a 'Local senders of...' in regard to class browser selected method?
In order to construct a UI you could either use Polymorph or Spec.
For Polymorph examples try in a workspace:
UITheme exampleDialogs.
UITheme exampleBasicControls
For a Spec tutorial have a look at:
Bahman Movaqar, Spec - Part I: The Basics.
The Preferences Browser is replaced by the much nicer Settings Browser which can be found in WorldMenu > System > Settings.
And you can display a method’s senders in Nautilus (the new standard system browser) when you right click on a method name in the method list via the context menu.
You may want to read a Spec tutorial: http://www.bahmanm.com/blogs/spec-part-1-basics
Actually, I want to perform pure mouse actions(Clicking buttons, selecting check boxes, and select radio button)based upon the GUI label(name), But all the tutorials are given the example to perform with JFrame which we have created.
These examples makes me confusing.
Honestly I'm not professional developer. My professional is testing(QA), but I believe I have sufficient programming knowledge to understand the code. Please give me some sample that i can perform in eclipse IDE.
Note:
The objective of my question is:
How to perform the ActionEvent() in existed iDE?(The frame have File menu, Edit menu and so on.) Is it possible to do with Java?
Please share your ideas with me.
Thanks in advance.
Santhosh.
Create a frame.
Put a button into it.
Call the addActionListener class and add a ActionLister object
into it.
Override the actionPerformed method inside the anonymous inner
class.
As your question talks specifically about eclipse. You should use a plugin called window builder, built by google. It helps you handle action events.
Read the oracle's documentation for learning. http://docs.oracle.com/javase/tutorial/uiswing/components/button.html
I can't write all the code here. But just to get you started here's a link. http://www.javaprogrammingforums.com/java-swing-tutorials/278-how-add-actionlistener-jbutton-swing.html.