cz.cuni.pogamut.posh.view
Class TreeCollapseImprint

Package class diagram package TreeCollapseImprint
java.lang.Object
  extended by cz.cuni.pogamut.posh.view.TreeCollapseImprint

public class TreeCollapseImprint
extends Object

This class is an attempt to remember which widgets were collapse in the widget tree so I can try to restore collapse state of tree after some modifications in source view.

Basically :

Author:
Honza

Constructor Summary
TreeCollapseImprint(PoshWidget<? extends cz.cuni.amis.pogamut.sposh.elements.PoshElement> dcw)
          Create a TreeCollapseImprint from using passed posh plan tree
 
Method Summary
 void restore(PoshWidget<? extends cz.cuni.amis.pogamut.sposh.elements.PoshElement> dcw)
          Take passed widget tree and try to restore collapse state that is stored in this memory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeCollapseImprint

public TreeCollapseImprint(PoshWidget<? extends cz.cuni.amis.pogamut.sposh.elements.PoshElement> dcw)
Create a TreeCollapseImprint from using passed posh plan tree

Parameters:
dcw - DriveCollectionWidget, root widget of KidElementView
Method Detail

restore

public void restore(PoshWidget<? extends cz.cuni.amis.pogamut.sposh.elements.PoshElement> dcw)
Take passed widget tree and try to restore collapse state that is stored in this memory.

Parameters:
dcw - root of widget tree we want to collapse according to this imprint


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.