public final class AppConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLIENT_TYPE_PROP |
Modifier and Type | Method and Description |
---|---|
static ExportDisplay |
createExportDisplay(Frame frame)
Create an ExportDisplay implementation.
|
static BackgroundWorker |
getBackgroundWorker()
Deprecated.
|
static ClientType |
getClientType()
Current client type.
|
static ComponentsFactory |
getFactory()
Deprecated.
todo
|
static java.lang.String |
getMessagesPack()
Main messages pack used by GenericUI components and application code.
|
public static final java.lang.String CLIENT_TYPE_PROP
public static ClientType getClientType()
CLIENT_TYPE_PROP
on a client tier.public static java.lang.String getMessagesPack()
cuba.messagePack
depending on the client type and set of base projects.
Messages.getMainMessagePack()
.
Messages.getMainMessage(String)
.public static ExportDisplay createExportDisplay(@Nullable Frame frame)
frame
- current frame. It is needed for desktop implementation to correctly show dialog inside of currently
active main window. Can be null, but in this case a position of the dialog is not guaranteed.@Deprecated public static BackgroundWorker getBackgroundWorker()
@Deprecated public static ComponentsFactory getFactory()