public class IdeCore
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
productID |
Modifier | Constructor and Description |
---|---|
protected |
IdeCore(IdeArgs ideArgs) |
Modifier and Type | Method and Description |
---|---|
static void |
_registerStreamFactory()
Deprecated.
without replacement
|
protected void |
brandMainWindow() |
protected void |
copyExtensionUserData()
Copy any extension user data (files & directories) to the system extension
directory.
|
protected Addin[] |
createCoreModules(IdeMainWindow mainWindow)
Returns an array of core services to initialize.
|
protected AddinManager |
getAddinManager()
Returns an AddinManager instance.
|
IdeArgs |
getIdeArgs() |
protected IdeMainWindow |
getMainWindow() |
protected java.lang.String |
getProductID() |
protected java.lang.String |
getProductNameFromBranding() |
protected java.lang.String |
getProductShortNameFromBranding() |
protected java.lang.String |
getProperty(java.lang.String key,
java.lang.String def) |
protected java.lang.SecurityManager |
getSecurityManager() |
protected void |
initAboutBoxModel() |
protected void |
initializeLookAndFeel()
Initializes the look and feel for the platform.
|
protected void |
initProductAndUserAddins() |
protected void |
initProductAndUserAddinsAndActionRegistry() |
protected void |
installAboutBox(AboutBoxFactory factory) |
protected boolean |
isHeadless() |
protected boolean |
isInOSGiMode()
For detecting at runtime if IDE is in OSGi mode.
|
protected java.net.URL |
productSystemDirectory() |
protected void |
registerStreamFactory() |
static void |
setActiveProjectOverride(Project project)
Sets the overridden value of the active workspace.
|
static void |
setActiveWorkspaceOverride(Workspace workspace)
Sets the overridden value of the active workspace.
|
static void |
setActiveWorkspaceOverrideEnabled(boolean enabled)
Enable or disable overriding of the active workspace and project.
|
protected void |
startupImpl() |
void |
useInvokeLaterForAddinsLoadedEvenThoughHeadless()
Because I don't know how to test all the command line programs, this
allows the ones I can't test to specify the old behavior.
|
protected IdeCore(IdeArgs ideArgs)
public void useInvokeLaterForAddinsLoadedEvenThoughHeadless()
protected java.lang.SecurityManager getSecurityManager()
protected AddinManager getAddinManager()
This implementation returns null.
protected Addin[] createCoreModules(IdeMainWindow mainWindow)
This implementation returns null.
protected void initializeLookAndFeel()
This implementation uses the system look and feel on the Mac. On other platforms, it first attempts to use the Oracle Look and Feel. If the Oracle Look and Feel is not available, it falls back to using the cross platform look and feel provided by the Java platform.
public IdeArgs getIdeArgs()
protected boolean isHeadless()
protected boolean isInOSGiMode()
protected java.lang.String getProductID()
protected java.lang.String getProperty(java.lang.String key, java.lang.String def)
protected IdeMainWindow getMainWindow()
protected java.net.URL productSystemDirectory()
public static void _registerStreamFactory()
protected void registerStreamFactory()
protected void startupImpl()
protected void initProductAndUserAddins()
protected void initProductAndUserAddinsAndActionRegistry()
protected void copyExtensionUserData()
protected void installAboutBox(AboutBoxFactory factory)
protected java.lang.String getProductNameFromBranding()
protected java.lang.String getProductShortNameFromBranding()
protected void initAboutBoxModel()
protected void brandMainWindow()
public static void setActiveWorkspaceOverrideEnabled(boolean enabled)
java.lang.IllegalStateException
- if enabling and overriding is already
enabled or if disabling and overriding is already disabled.public static void setActiveWorkspaceOverride(Workspace workspace)
java.lang.IllegalStateException
- if overriding is not enabled.public static void setActiveProjectOverride(Project project)
java.lang.IllegalStateException
- if overriding is not enabled or if the
overridden workspace is null and the project to set is not null.