nkzhlee / gwt-links Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gwt-links
Automatically exported from code.google.com/p/gwt-links
hi all,
How can I save the graph on DB please,
any suggestions?
thanks a lot
Regards
Original issue reported on code.google.com by [email protected]
on 1 Feb 2012 at 10:52
What steps will reproduce the problem?
1.add the gwt links DiagramControllerto a tab panel and with a scrollbar
Entrypoint
TabPanel
ScrollPanel
VerticalPanel
Horizontal panel with buttons ( toolbar )
DiagramController
The graph will render with the connections mis-aligned ( apparently relative to
the Scroll panel and not the vertical panel
A graph will render properly WITHOUT the scroll panel however with the scroll
panel the connections are not draw properly.
See attached example screenshot
What version of the product are you using? On what operating system?
Using gwt-links 1.3 and this is evident in all versions of Firefox and IE
Original issue reported on code.google.com by [email protected]
on 19 Jul 2011 at 8:22
Attachments:
What steps will reproduce the problem?
1. adding gwt-links in a maven pom.xml
What is the expected output? What do you see instead?
Maven should find the artifact on a maven repository (public or ftrd maven2
repo)
What version of the product are you using? On what operating system?
All versions
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 29 Jun 2011 at 12:06
Steps to reproduce the problem :
1.DiagramController controller = new DiagramController(3000,3000);
2.With no other interaction
If you try to use the controller then the use will be limited as the computer
is completely slowing down. And make it unusable.
If you use Chrome you can see that there is one processes per tab and so see
that the tab that make running your server is constantly taking CPU usage and
memory, enough to slowing down a good computer.
Did you repaint all the time the panel ?
Configs :
gwt-links-1.4.2.jar
GWT 2.4.0
Windows XP pro
Original issue reported on code.google.com by [email protected]
on 8 May 2012 at 10:44
hi all,
I have a problem with refresh widget, when I draw a boxlabel for example and
then I want to change its content, I can't refresh the new boxLabel on the
diagram, but in the debug it works.
Please help, any idear?
thanks a lot
Original issue reported on code.google.com by [email protected]
on 24 Apr 2012 at 10:29
What steps will reproduce the problem?
1.Create a DiagramController and add a few widgets.Add a connection between the
widgets.
2.Create a PopupPanel above this.
3.
What is the expected output? What do you see instead?
The PopupPanel should appear above the connection. But instead the lines of the
connection cut through the PopupPanel and render it out of focus.
What version of the product are you using? On what operating system?
Gwt-links-1.4.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Mar 2015 at 12:31
What steps will reproduce the problem?
1.We are trying to draw a sequence diagram using gwt-links.
2.Draw the diagrams.
3.Load on chrome.
What is the expected output? What do you see instead?
When we try to load the diagrams onto windows chrome, chrome crashes even if
its just one sequence diagram with around 4-5 objects.
What version of the product are you using? On what operating system?
gwt-links-1.4.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 14 Apr 2015 at 6:35
right now I think it automatically adds line segments, but you have no way of
managing them (adding and removing). They are added automatically when you
click on a part of the lines and drag, and the only way to remove them is to
"straighten path"
Original issue reported on code.google.com by [email protected]
on 12 May 2011 at 2:58
Hi all,
I'm trying to use shape and abstractShape, plz can you provide me an example?
thanks o lot
Regards
Original issue reported on code.google.com by [email protected]
on 3 Feb 2012 at 9:09
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I'm trying to do the demo code and I obtain an error with the line onnection c1
= controller.drawStraightArrowConnection(helloLabel, worldLabel);
What version of the product are you using? On what operating system?
I use Eclipse Helios and GWT 2.2.0 and I work with windows XP.
Please provide any additional information below.
My code :
DiagramController controller = new DiagramController(400,400);
controller.showGrid(true); // Display a background grid
HorizontalPanel myPanel = new HorizontalPanel();
Label helloLabel = new Label("Hello");
controller.addWidget(helloLabel,25,115);
Label worldLabel = new Label("World");
controller.addWidget(worldLabel,200,115);
Connection c1 = controller.drawStraightArrowConnection(helloLabel, worldLabel);
Widget w = controller.getView();
myPanel.add(w);
RootPanel.get().add(myPanel);
Error :
11:54:11.802 [ERROR] [webprotege] Uncaught exception escaped
com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught,
see full set in UmbrellaException#getCauses
at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:214)
at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:103)
at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:101)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:103)
at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:151)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1310)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.orange.links.client.exception.DiagramViewNotDisplayedException:
Add the view in your application. Try :
RootPanel.get().add(controller.getView());You can also add the view in a Panel
for example : myPanel.add(controller.getView());
at com.orange.links.client.utils.SegmentPath.straightPath(SegmentPath.java:86)
at com.orange.links.client.utils.SegmentPath.<init>(SegmentPath.java:19)
at com.orange.links.client.connection.AbstractConnection.<init>(AbstractConnection.java:57)
at com.orange.links.client.connection.StraightArrowConnection.<init>(StraightArrowConnection.java:19)
at com.orange.links.client.connection.ConnectionFactory.create(ConnectionFactory.java:25)
at com.orange.links.client.DiagramController.drawConnection(DiagramController.java:239)
at com.orange.links.client.DiagramController.drawConnection(DiagramController.java:234)
at com.orange.links.client.DiagramController.drawStraightArrowConnection(DiagramController.java:228)
at edu.stanford.bmir.protege.web.client.WebProtege.loadWelcomeView(WebProtege.java:125)
at edu.stanford.bmir.protege.web.client.WebProtege.access$0(WebProtege.java:110)
at edu.stanford.bmir.protege.web.client.WebProtege$1.onClick(WebProtege.java:83)
at com.google.gwt.user.client.ui.ListenerWrapper$WrappedClickListener.onClick(ListenerWrapper.java:245)
at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:54)
at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:1)
at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:204)
at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:103)
at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:101)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:103)
at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:151)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1310)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:662)
Original issue reported on code.google.com by [email protected]
on 20 Sep 2011 at 10:09
I'd like to know how to make DiagramController scrollable, for example in your
demo when you drag item to any side of the DiagramController it get extended to
more width/height ?
Thanks
Original issue reported on code.google.com by [email protected]
on 20 Jul 2011 at 6:13
The canvas is extremely slow in chrome dev plugin on linux. I wonder if this
is the experience on windows as well. After compiling to javascript (i.e.,
outside the chrome dev plugin), it's fast. I tried both multibrowser and html5
diagram canvas
Original issue reported on code.google.com by [email protected]
on 25 Apr 2011 at 4:20
Hy everybody,
How could I change the connection color one-bye-one? Because I would like to
represent the traffic on the graph, where it is going.
I saw the "public static CssColor defaultConnectionColor" variable in the
source, but it is the class variable.
So it is possible?
Has it any API to do it?
Brs,
Krisz
Original issue reported on code.google.com by [email protected]
on 8 Mar 2013 at 8:56
What steps will reproduce the problem?
1. open the demo with Firefox4
2. try to add links between widgets, the widget hover listener seems like to be
bad calibrated, also the right click on arrows is affected
3. i can see the orange semicircle appear if i'm out of the widget with my
mouse pointer and not in the place i should
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Firefox4, Mac OSX SL
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 13 May 2011 at 8:57
What steps will reproduce the problem?
I've tried the demo code you propose on project home, with Eclipse 3.5 Galileo
and GWT 2.2
Project Compiles but gives the following runtime exception on SegmentPath class:
java.lang.NullPointerException: null
at com.orange.links.client.utils.SegmentPath.straightPath(SegmentPath.java:82)
at com.orange.links.client.utils.SegmentPath.<init>(SegmentPath.java:18)
at com.orange.links.client.connection.AbstractConnection.<init>(AbstractConnection.java:45)
at com.orange.links.client.connection.StraightArrowConnection.<init>(StraightArrowConnection.java:17)
at com.orange.links.client.DiagramController.drawStraightArrowConnection(DiagramController.java:204)
at org.gcube.portlets.admin.wftemplates.client.WorkflowTemplates.onModuleLoad(WorkflowTemplates.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
What is the expected output? What do you see instead?
runtime exception / nothing
What version of the product are you using? On what operating system?
GWT 2.2, both FF 3.6 and Chrome 11.0 on Mac OSX Snow Leopard.
Please provide any additional information below.
my method of WorkflowTemplates.java
public void onModuleLoad() {
DiagramCanvas canvas = new MultiBrowserDiagramCanvas(400,400);
//DiagramCanvas canvas = new Html5DiagramCanvas(400,400); //for a Html5 implementation
DiagramController controller = new DiagramController(canvas);
controller.showGrid(true); // Display a background grid
Label helloLabel = new Label("Hello");
controller.addWidget(helloLabel,25,115);
Label worldLabel = new Label("World");
controller.addWidget(worldLabel,200,115);
/*LINE 34*/ Connection c1 = controller.drawStraightArrowConnection(helloLabel,
worldLabel); //PROBLEM HERE
Label decorationLabel = new Label("Mickey");
controller.addDecoration(decorationLabel, c1);
RootPanel.get().add(controller.getView());
}
Original issue reported on code.google.com by [email protected]
on 6 May 2011 at 4:27
Hello,
I am new to GWT so I have to ask that is gwt-links a Js wrapper around GWT ot
native GWt implementation ?
Original issue reported on code.google.com by [email protected]
on 13 Feb 2014 at 7:25
creation of scroll panel
AbsolutePanel flowPanelScroll_1=new AbsolutePanel();
verticalPanel.add(flowPanelScroll_1);
verticalPanel_1 = new VerticalPanel();
final ScrollPanel scrollPanel = new ScrollPanel(verticalPanel_1);
flowPanelScroll_1.add(scrollPanel);
scrollPanel.setWidth("777px");
//scrollPanel.setWidget(verticalPanel_1);
verticalPanel_1.setSize("1485px", "100%");
FlexTable fltbSpecialistDetails = new FlexTable();
verticalPanel_1.add(fltbSpecialistDetails);
fltbSpecialistDetails.setSize("1331px", "20px");
Original issue reported on code.google.com by [email protected]
on 13 Apr 2012 at 11:00
Attachments:
It would be nice to have the possibility to add custom commands to the
connections contextual menu, apart from setStraight and delete edge.
Original issue reported on code.google.com by [email protected]
on 12 May 2011 at 12:06
It would be nice to support different menu bars depending on where the user
right clicks. For instance, they may click on the canvas and get a menu to add
a shape, or they click on a line to straighten it, or they click on a box to
remove it.
Original issue reported on code.google.com by [email protected]
on 16 May 2011 at 6:00
Structure I think would be good is this:
trunk
-> gwt-links
-> src
-> ...
-> gwt-links-demo
-> src
-> ...
Here's an example:
http://code.google.com/p/gxtforms/source/browse/#svn%2Ftrunk%2Fgxtforms%253Fstat
e%253Dclosed
This saves me some eclipse setup .. btw, I have more suggestions on this front.
Original issue reported on code.google.com by [email protected]
on 16 May 2011 at 2:23
I made be offbase on this, but there are some common methods in DecorationShape
and FunctionShape. Patch makes FunctionShape extend DecorationShape with
common methods in DecorationShape
Original issue reported on code.google.com by [email protected]
on 13 May 2011 at 8:23
What steps will reproduce the problem?
1.In vertical panel added gwt links DiagramController
2.Added two label widgets in DiagramController. Two labels linked using
connector.
3.Only IE 8 and 7 connector get shifted below label.
In other browser (FF, chrome) and also IE9 connector links/aligned properly.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
IE 8 and 7. I am using gwt-links 1.4.2
Please provide any additional information below.
If you change document mode from standard 8 to standard 7 and back to standard
8 connector gets aligned properly.
Original issue reported on code.google.com by [email protected]
on 23 Jan 2012 at 12:10
Attachments:
What steps will reproduce the problem?
Label helloLabel = new Label("hello");
Label goodbyeLabel = new Label("goodbye");
controller.addWidget(helloLabel, 10, 10);
controller.addWidget(goodbyeLabel, 100, 100);
controller.drawStraightArrowConnection(helloLabel, goodbyeLabel);
What is the expected output? What do you see instead?
Two labels, with a line inbetween
Instead, I get that:
00:01:02.672 [ERROR] Uncaught exception escaped
java.lang.NullPointerException: null at
com.orange.links.client.utils.SegmentPath.straightPath(SegmentPath.java:82) at
com.orange.links.client.utils.SegmentPath.<init>(SegmentPath.java:18) at
com.orange.links.client.connection.AbstractConnection.<init>(AbstractConnection.
java:45) at
com.orange.links.client.connection.StraightArrowConnection.<init>(StraightArrowC
onnection.java:17) at
com.orange.links.client.DiagramController.drawStraightArrowConnection(DiagramCon
troller.java:221)
What version of the product are you using? On what operating system?
gwt-links from svn
gwt 2.2
firefox 3.6.17 (Ubuntu 10.10)
Please provide any additional information below.
If I remove the line "controller.drawStraightArrowConnection(helloLabel,
goodbyeLabel);" then everything works fine, I see my two labels on the canvas.
Original issue reported on code.google.com by [email protected]
on 12 May 2011 at 5:39
What steps will reproduce the problem?
1. create a DiagramController (DC)
2. add two widgets to the DC
3. draw a straigt, arrowed connection between these widgets
What is the expected output? What do you see instead?
The drawed connection starts at the "end"shape and points to nothing.
What version of the product are you using? On what operating system?
Win7, Eclipse Indigo, GWT 2.4, GWT-Links 1.4.2
Please provide any additional information below.
On the attached sceenshot, the arrow should point from the box "Puzzle" to the
"Ending Sceene".
Original issue reported on code.google.com by [email protected]
on 5 Aug 2012 at 3:42
Attachments:
What steps will reproduce the problem?
1. Take a BoxLabel and implement your own equals and hashCode
2. Run the application as per normal
3. Drag widgets around
It all works for a while and then I get :
Caused by: java.lang.AssertionError: null at
com.allen_sauer.gwt.dnd.client.drop.AbsolutePositionDropController.onEnter(Absol
utePositionDropController.java:110) at
com.allen_sauer.gwt.dnd.client.PickupDragController.dragStart(PickupDragControll
er.java:213) at
com.allen_sauer.gwt.dnd.client.MouseDragHandler.startDragging(MouseDragHandler.j
ava:513) at
com.allen_sauer.gwt.dnd.client.MouseDragHandler.onMouseDown(MouseDragHandler.jav
a:174) at
com.google.gwt.event.dom.client.MouseDownEvent.dispatch(MouseDownEvent.java:54)
at
com.google.gwt.event.dom.client.MouseDownEvent.dispatch(MouseDownEvent.java:1)
at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
Version : GWT 2.4.0 , GWT 2.3.0
Chrome 11.10.
If I remove the equals and hashCode, it works like a charm.
I suggest documenting this, and maybe fixing the in the future since it's easy
to work around.
Thanks for a great library!
Original issue reported on code.google.com by [email protected]
on 11 May 2012 at 8:02
also I believe GwtLinksStyle.css contains an error
should be filter:alpha(opacity=30);
and remove the other lines with the comments for IE8
Original issue reported on code.google.com by [email protected]
on 3 May 2012 at 2:44
What steps will reproduce the problem?
1. Open example in IE 8 http://gwt-links.appspot.com/
2.
3.
What is the expected output? What do you see instead?
No connections between items
What version of the product are you using? On what operating system?
Win XP, IE 8
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 2 Aug 2011 at 7:25
What steps will reproduce the problem?
1. Connection con = controller.drawStraightArrowConnection(labelHello, hasMenu);
What is the expected output? What do you see instead?
Should be able to specify the destination Arrow shape
What version of the product are you using? On what operating system?
1.3-snapshot
Please provide any additional information below.
Is there a way to specify what shape the Connection link target/destination
will be?
Original issue reported on code.google.com by [email protected]
on 31 Jul 2012 at 2:33
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.