diff options
Diffstat (limited to 'odk/examples/java/Inspector/UnoFacetteNode.java')
-rw-r--r-- | odk/examples/java/Inspector/UnoFacetteNode.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/odk/examples/java/Inspector/UnoFacetteNode.java b/odk/examples/java/Inspector/UnoFacetteNode.java index 53296129b2da..0fd91e434736 100644 --- a/odk/examples/java/Inspector/UnoFacetteNode.java +++ b/odk/examples/java/Inspector/UnoFacetteNode.java @@ -2,7 +2,7 @@ * * The Contents of this file are made available subject to the terms of * the BSD license. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * All rights reserved. * @@ -29,7 +29,7 @@ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * *************************************************************************/ import com.sun.star.reflection.XIdlMethod; @@ -39,27 +39,27 @@ import javax.swing.tree.DefaultMutableTreeNode; public class UnoFacetteNode extends UnoNode{ String m_sFilter = ""; - - + + /** Creates a new instance of UnoMethodNode */ public UnoFacetteNode(Object _oUnoObject){ super(_oUnoObject); - addDummyNode(); + addDummyNode(); } - - + + public String getFilter(){ return m_sFilter; } - + public void setFilter(String _sFilter){ m_sFilter = _sFilter; } - + public String getName(){ return toString(); } - + // TODO The implementation of the following nodes is not really robust and should be changed!!! public boolean isMethodNode(){ return ((String) getUserObject()).equals(SMETHODDESCRIPTION); @@ -77,7 +77,7 @@ public class UnoFacetteNode extends UnoNode{ public boolean isServiceNode(){ return ((String) getUserObject()).equals(SSERVICEDESCRIPTION); } - + public boolean isInterfaceNode(){ return ((String) getUserObject()).equals(SINTERFACEDESCRIPTION); } |