Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide
Class IdeCore

java.lang.Object
  extended by oracle.ide.IdeCore


public class IdeCore
extends java.lang.Object

Core IDE functionality.


Field Summary
protected  java.lang.String productID
           

 

Constructor Summary
protected IdeCore(IdeArgs ideArgs)
           

 

Method Summary
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()
           
static java.lang.String getIdeStartupTaskKey()
           
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 initProductAndUserAddins(TaskMonitor ts)
           
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.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

productID

protected java.lang.String productID

Constructor Detail

IdeCore

protected IdeCore(IdeArgs ideArgs)

Method Detail

useInvokeLaterForAddinsLoadedEvenThoughHeadless

public 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.

getSecurityManager

protected java.lang.SecurityManager getSecurityManager()

getAddinManager

protected AddinManager getAddinManager()
Returns an AddinManager instance. The AddinManager, when present, is a unique core Addin in that it must be initialized earlier in the startup sequence in order for extension classpaths to be ready for migration.

This implementation returns null.

Returns:
the addin manager implementation. May return null if no addin manager is required.

createCoreModules

protected Addin[] createCoreModules(IdeMainWindow mainWindow)
Returns an array of core services to initialize.

This implementation returns null.

Returns:
core services to initialize. May return null if there are no core modules.

initializeLookAndFeel

protected void initializeLookAndFeel()
Initializes the look and feel for the platform.

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.


getIdeArgs

public IdeArgs getIdeArgs()

isHeadless

protected boolean isHeadless()

isInOSGiMode

protected boolean isInOSGiMode()
For detecting at runtime if IDE is in OSGi mode.

getProductID

protected java.lang.String getProductID()

getProperty

protected java.lang.String getProperty(java.lang.String key,
                                       java.lang.String def)

getMainWindow

protected IdeMainWindow getMainWindow()

productSystemDirectory

protected java.net.URL productSystemDirectory()

_registerStreamFactory

public static void _registerStreamFactory()
Deprecated. without replacement
See Also:
http://ide.us.oracle.com/doc/OSGi_Stream_Handler_Factory_Changes_for_OSGi_in_11.1.2.0.0

registerStreamFactory

protected void registerStreamFactory()

startupImpl

protected void startupImpl()

initProductAndUserAddins

protected void initProductAndUserAddins()

initProductAndUserAddins

protected void initProductAndUserAddins(TaskMonitor ts)

copyExtensionUserData

protected void copyExtensionUserData()
Copy any extension user data (files & directories) to the system extension directory.

installAboutBox

protected void installAboutBox(AboutBoxFactory factory)

getProductNameFromBranding

protected java.lang.String getProductNameFromBranding()

getProductShortNameFromBranding

protected java.lang.String getProductShortNameFromBranding()

initAboutBoxModel

protected void initAboutBoxModel()

brandMainWindow

protected void brandMainWindow()

setActiveWorkspaceOverrideEnabled

public static void setActiveWorkspaceOverrideEnabled(boolean enabled)
Enable or disable overriding of the active workspace and project. The initial overridden valuew for workspace and project are null. Enable and disable calls must be paired, and nested enable calls are not allowed. (Nested calls could be supported if needed.)
Throws:
java.lang.IllegalStateException - if enabling and overriding is already enabled or if disabling and overriding is already disabled.

setActiveWorkspaceOverride

public static void setActiveWorkspaceOverride(Workspace workspace)
Sets the overridden value of the active workspace.
Throws:
java.lang.IllegalStateException - if overriding is not enabled.

setActiveProjectOverride

public static void setActiveProjectOverride(Project project)
Sets the overridden value of the active workspace.
Throws:
java.lang.IllegalStateException - if overriding is not enabled or if the overridden workspace is null and the project to set is not null.

getIdeStartupTaskKey

public static java.lang.String getIdeStartupTaskKey()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.