Class InternalUnoType
java.lang.Object
org.libreoffice.ide.eclipse.core.unotypebrowser.InternalUnoType
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoTypestatic final InternalUnoType -
Constructor Summary
ConstructorsConstructorDescriptionInternalUnoType(String pTypeString) Constructor.InternalUnoType(String completeName, int type, boolean isLocal) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetName()intgetType()Returns the type of the type, ieIUnoFactoryConstants.INTERFACEforcom.sun.star.uno.XInterface.booleantoString()
-
Field Details
-
STRING
-
VOID
-
BOOLEAN
-
BYTE
-
SHORT
-
LONG
-
HYPER
-
FLOAT
-
DOUBLE
-
CHAR
-
TYPE
-
ANY
-
USHORT
-
ULONG
-
UHYPER
-
ALL_TYPES
public static final int ALL_TYPES- See Also:
-
-
Constructor Details
-
InternalUnoType
Constructor.- Parameters:
pTypeString- the string representing the type.
-
InternalUnoType
Constructor.- Parameters:
completeName- the type complete name separated with "."type- the UNO type's typeisLocal-trueif the type is defined in the project,falseif it's defined in an externaltypes.rdb.
-
-
Method Details
-
getName
- Returns:
- the type name, ie
XInterfaceforcom.sun.star.uno.XInterface.
-
getFullName
- Returns:
- the type complete name, i.e.
com.sun.star.uno.XInterfaceforcom.sun.star.uno.XInterface.
-
getType
public int getType()Returns the type of the type, ieIUnoFactoryConstants.INTERFACEforcom.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
-