ComponentTreeTraversal.java (34dd1e25) | ComponentTreeTraversal.java (74cbd1f1) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 25 unchanged lines hidden (view full) --- 34}; 35 36/**************************************************************************/ 37/** a helper class for travelling a form component tree 38*/ 39class ComponentTreeTraversal implements IFormComponentAction 40{ 41 /* ------------------------------------------------------------------ */ | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 25 unchanged lines hidden (view full) --- 34}; 35 36/**************************************************************************/ 37/** a helper class for travelling a form component tree 38*/ 39class ComponentTreeTraversal implements IFormComponentAction 40{ 41 /* ------------------------------------------------------------------ */ |
42 /** Indicator method to decide wether to step down the tree. | 42 /** Indicator method to decide whether to step down the tree. |
43 44 <p>The default implementation checks if the container given is a grid 45 control model or a <service scope="com.sun.star.form">FormComponents</service> 46 instance.</p> 47 */ 48 protected boolean shouldStepInto( XIndexContainer xContainer ) throws com.sun.star.uno.Exception 49 { 50 // step down the tree, if possible --- 30 unchanged lines hidden --- | 43 44 <p>The default implementation checks if the container given is a grid 45 control model or a <service scope="com.sun.star.form">FormComponents</service> 46 instance.</p> 47 */ 48 protected boolean shouldStepInto( XIndexContainer xContainer ) throws com.sun.star.uno.Exception 49 { 50 // step down the tree, if possible --- 30 unchanged lines hidden --- |