Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [riena-dev] ISubApplicationNode -- isActivated vs isSelected

Sorry, to be more precise

"If you switch from subApp 1 to subapp 2 you want to have the same modules activated again"
should be

"If you switch from subApp 1 to subapp 2 you want to have the original nodes activated when coming back to subapp 1"


________________________________________
From: riena-dev-bounces@xxxxxxxxxxx [riena-dev-bounces@xxxxxxxxxxx] On Behalf Of Barth, Heiko [Heiko.Barth@xxxxxxxxxxxx]
Sent: Thursday, June 25, 2009 1:03 PM
To: Riena Developers list
Subject: RE: [riena-dev] ISubApplicationNode -- isActivated vs isSelected

Hi Elias,

if a node is activated it is allways selected, too.
Selected just saves the state of nodes for activation changes on a higher navigation hierarchy level, for example the subapplication.
If you switch from subApp 1 to subapp 2 you want to have the same modules activated again. At "reactivation" time the selected state
is considered when calculating the activation path from root node to active submodule.

Heiko


________________________________________
From: riena-dev-bounces@xxxxxxxxxxx [riena-dev-bounces@xxxxxxxxxxx] On Behalf Of Elias Volanakis [elias@xxxxxxxxxxxxxxxxx]
Sent: Thursday, June 25, 2009 5:38 AM
To: Riena Developers list
Subject: [riena-dev] ISubApplicationNode -- isActivated vs isSelected

Hi,

I've been writing code to switch between ISubApplicationNodes via keyboard.

Is there is any difference between the isActivated() and isSelected()
methods? Currently they both have the same value (i.e. either both
false or both true) so it doesn't make a difference. If there is a
case where they can differ, let me know which one is the more correct
to use...

Thanks,
Elias.

--
Elias Volanakis | Technical Lead | EclipseSource Portland
elias@xxxxxxxxxxxxxxxxx | +1 503 929 5537 | http://eclipsesource.com
_______________________________________________
riena-dev mailing list
riena-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/riena-dev
_______________________________________________
riena-dev mailing list
riena-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/riena-dev


Back to the top