edu.ksu.cis.cadena.core
Class CadenaCorePlugin

java.lang.Object
  extended by Plugin
      extended by edu.ksu.cis.cadena.core.CadenaCorePlugin

public class CadenaCorePlugin
extends Plugin

Author:
jesse TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
static java.lang.String PLUGIN_ID
           
 
Constructor Summary
CadenaCorePlugin()
           
 
Method Summary
static CadenaCorePlugin getDefault()
           
 MarkerManager getMarkerManager()
           
 java.util.Map<URI,URI> getModuleMap()
          Creates a copy of the module map.
 java.util.Set<URI> getModules()
          Creates a copy of the key set from the module map.
 java.util.Map<URI,URI> getStyleMap()
          Creates a copy of the style map.
 java.util.Set<URI> getStyles()
          Creates a copy of the key set from the style map.
 void setMarkerManager(MarkerManager markerManager)
           
 void start(BundleContext context)
          Populates the specification maps from Eclipse plugin specifications
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
See Also:
Constant Field Values
Constructor Detail

CadenaCorePlugin

public CadenaCorePlugin()
Method Detail

getDefault

public static CadenaCorePlugin getDefault()
Returns:
the CadenaCorePlugin for the current Eclipse runtime.

start

public void start(BundleContext context)
           throws java.lang.Exception
Populates the specification maps from Eclipse plugin specifications

Throws:
java.lang.Exception

getStyles

public java.util.Set<URI> getStyles()
Creates a copy of the key set from the style map. This is the set of all style URIs provided by extensions (i.e. the platform).

Returns:
The Set of provided style URIs.

getStyleMap

public java.util.Map<URI,URI> getStyleMap()
Creates a copy of the style map. The style map is created by reading the Eclipse plugin registry and finding all of the style specifications.

Returns:
The copied Map.

getModules

public java.util.Set<URI> getModules()
Creates a copy of the key set from the module map. This is the set of all modules URIs provided by extensions (i.e. the platform).

Returns:
The Set of provided module URIs.

getModuleMap

public java.util.Map<URI,URI> getModuleMap()
Creates a copy of the module map. The module map is created by reading the Eclipse plugin registry and finding all of the module specifications.

Returns:
The copied Map.

setMarkerManager

public void setMarkerManager(MarkerManager markerManager)

getMarkerManager

public MarkerManager getMarkerManager()