Package org.freeplane.features.filter.condition

Examples of org.freeplane.features.filter.condition.ASelectableCondition.checkNode()


    }
    final IMapSelection selection = Controller.getCurrentController().getSelection();
    final MapController mapController = Controller.getCurrentModeController().getMapController();
    final NodeModel selected = selection.getSelected();
        final NodeModel rootNode = selected.getMap().getRootNode();
    boolean nodeFound = condition.checkNode(rootNode);
    if(nodeFound){
      selection.selectAsTheOnlyOneSelected(rootNode);
    }
    NodeModel next = rootNode;
    for(;;){
View Full Code Here


      else{
        selection.selectAsTheOnlyOneSelected(next);
        nodeFound = true;
      }
    }
    if(condition.checkNode(selected))
        selection.makeTheSelected(selected);
  }
}
View Full Code Here

    try{
      recursiveCall = true;
      Collection<IStyle> matchingStyles = new LinkedHashSet<IStyle>();
      for(Item item : styles){
        final ASelectableCondition condition = item.getCondition();
        if( item.isActive() && (condition == null || condition.checkNode(node))){
          matchingStyles.add(item.style);
          if(item.isLast()){
            break;
          }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.