Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » state feedback during creation of a connection
state feedback during creation of a connection [message #634587] Fri, 22 October 2010 10:45 Go to next message
Henrik Rentz-Reichert is currently offline Henrik Rentz-ReichertFriend
Messages: 261
Registered: July 2009
Senior Member
Hi,

I'm interested in state information about the progress of creating a
connection.
The states I'm interested in are
- not attached
- attached to source
- attached to target

The first state is the initial one. It is entered again if escape is
pressed or after having clicked on an invalid target.

The second state is assumed after clicking on a valid anchor.
Then a feedback figure for the connection to be created is drawn.

The third state is entered when a valid target anchor was clicked.
This is easy to determine since then
org.eclipse.graphiti.func.ICreateConnection.create(ICreateCo nnectionContext)
is called.

I did not find an easy way to find out about the first and third state
without digging into GEF...

Can anyone give me a hint?

Thanks,
Henrik
Re: state feedback during creation of a connection [message #637371 is a reply to message #634587] Fri, 05 November 2010 09:15 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Henrik created bugzilla
https://bugs.eclipse.org/bugs/show_bug.cgi?id=329517 for this.



Michael


"Henrik Rentz-Reichert" <hrr@protos.de> wrote in message
news:i9rpp6$v2b$1@news.eclipse.org...
> Hi,
>
> I'm interested in state information about the progress of creating a
> connection.
> The states I'm interested in are
> - not attached
> - attached to source
> - attached to target
>
> The first state is the initial one. It is entered again if escape is
> pressed or after having clicked on an invalid target.
>
> The second state is assumed after clicking on a valid anchor.
> Then a feedback figure for the connection to be created is drawn.
>
> The third state is entered when a valid target anchor was clicked.
> This is easy to determine since then
> org.eclipse.graphiti.func.ICreateConnection.create(ICreateCo nnectionContext)
> is called.
>
> I did not find an easy way to find out about the first and third state
> without digging into GEF...
>
> Can anyone give me a hint?
>
> Thanks,
> Henrik
Previous Topic:POJO Domain Model - How do I get started?
Next Topic:Respect grid when creating element
Goto Forum:
  


Current Time: Sat Apr 27 00:41:27 GMT 2024

Powered by FUDForum. Page generated in 0.03083 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top