Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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
protected  void brandMainWindow()
           
protected  void copyExtensionUserData()
          Copy any extension user data (files & directories) to the system extension directory.
protected  Addin[] createCoreModules()
          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  java.lang.String getSplashScreenFilename()
          Returns the filename for the splash screen image, relative to the platform bin directory.
protected  void initAboutBoxModel()
           
protected  void initializeLookAndFeel()
          Initializes the look and feel for the platform.
protected  void initProductAndUserAddins()
           
protected  void installAboutBox(AboutBoxFactory factory)
           
protected  boolean isHeadless()
           
protected  java.net.URL productSystemDirectory()
           
static 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.


getSplashScreenFilename

protected java.lang.String getSplashScreenFilename()
Returns the filename for the splash screen image, relative to the platform bin directory.

This implementation looks up the system property ide.splash.screen. If set, the value of this property is returned, otherwise splash.gif is returned.

Returns:
the filename of the splash screen image. May return null to indicate that no splash screen should be used.

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()
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()

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()

startupImpl

protected void startupImpl()

initProductAndUserAddins

protected void initProductAndUserAddins()

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.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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