Class InternalUnoType

java.lang.Object
org.libreoffice.ide.eclipse.core.unotypebrowser.InternalUnoType

public class InternalUnoType extends Object
Class describing a UNO-Type. Only used with the UnoTypeProvider. A UNO type is described by its name, a boolean field defining if it's a local type and a path containing the fully qualified name of the type container.
  • Field Details

  • Constructor Details

    • InternalUnoType

      public InternalUnoType(String pTypeString)
      Constructor.
      Parameters:
      pTypeString - the string representing the type.
    • InternalUnoType

      public InternalUnoType(String completeName, int type, boolean isLocal)
      Constructor.
      Parameters:
      completeName - the type complete name separated with "."
      type - the UNO type's type
      isLocal - true if the type is defined in the project, false if it's defined in an external types.rdb.
  • Method Details

    • getName

      public String getName()
      Returns:
      the type name, ie XInterface for com.sun.star.uno.XInterface.
    • getFullName

      public String getFullName()
      Returns:
      the type complete name, i.e. com.sun.star.uno.XInterface for com.sun.star.uno.XInterface.
    • getType

      public int getType()
      Returns the type of the type, ie IUnoFactoryConstants.INTERFACE for com.sun.star.uno.XInterface.
      Returns:
      one of the types defined in UnoTypeProvider
    • isLocalType

      public boolean isLocalType()
      Returns:
      whether the type is defined in an external project or not.
    • toString

      public String toString()
      Overrides:
      toString in class Object