Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Unexpected getAction() behavior

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Christian,

On 09/02/2014 04:12 PM, Christian Krause wrote:
> 
> You should use Node.getAction(). But that's not the main point.
> Yes, the returned action can be null. This is because it is
> important for us that we always have a unique "action node" that we
> can refer to in the editor. In the case of preserve-nodes, this
> would be the LHS node (not the RHS node).
> 

Oh yes, sorry, I was using Node.getAction(), indeed.

> You can use NodeActionHelper.INSTANCE.getActionNode() to find the 
> corresponding action node (with a non-null action).
> 

Ah ok, thanks for the tip that'll help ;)

Cheers, Sebastian

- -- 
Sebastian Gabmeyer
Business Informatics Group (BIG)
Vienna University of Technology

http://www.big.tuwien.ac.at/staff/sgabmeyer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUB2QkAAoJELSN8YoN2kNZaacH/jzEOFqM7VytqWntjRcgT5CX
o+tYBnL9c7/5DftySl932jJ5ZSavu9R4ehjKGg2evsKZGP185DVe0IdKPUxXnikH
tVgwQfZpY/LSxmmhHZqhzdJ/cxgFcELX/SzCkKnYR+TymHMkzh+1vieO1IoYtzLh
6z0rOPJ/61s2j4GLTTsjPJJFVVWWE5zfyBviB8VL9oorUPEp98c+JuWaUXwT7tEI
QXnHI1xery7Wawu2Ptv95J49De96eYisjrSlHSSr0qX+imzoF3XLSKWRpwJ1eRly
TJUxUqYfac6yKnZ0qrqyRFAc3eRmmCZYpwP/6E5HyCVip3XpfSGqjHkehX7G8TA=
=m/45
-----END PGP SIGNATURE-----


Back to the top