EGF Engine
Release 0.1.0

org.eclipse.egf.pattern
Class PatternActivator

java.lang.Object
  extended by Plugin
      extended by org.eclipse.egf.common.activator.AbstractActivator
          extended by org.eclipse.egf.pattern.PatternActivator

public class PatternActivator
extends AbstractActivator


Constructor Summary
PatternActivator()
           
 
Method Summary
static PatternActivator getDefault()
          Get shared instance.
 boolean producePatterns(String fullId_p, boolean forkJob_p, IProgressMonitor progressMonitor_p)
          Produce patterns pointed out by given ids path.
 void start(BundleContext context_p)
           
 void stop(BundleContext context_p)
           
 
Methods inherited from class org.eclipse.egf.common.activator.AbstractActivator
getPluginID, log, log, log, log, log, log, log, newErrorStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternActivator

public PatternActivator()
Method Detail

start

public void start(BundleContext context_p)
           throws Exception
Throws:
Exception
See Also:
org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext)

stop

public void stop(BundleContext context_p)
          throws Exception
Throws:
Exception
See Also:
org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)

getDefault

public static PatternActivator getDefault()
Get shared instance.

Returns:

producePatterns

public boolean producePatterns(String fullId_p,
                               boolean forkJob_p,
                               IProgressMonitor progressMonitor_p)
Produce patterns pointed out by given ids path.

Parameters:
fullId_p - Either the absolute id of a library, or the absolute id of a pattern.
forkJob_p - Should production be executed in a job ? If true, there is no need for a specific progress monitor.
progressMonitor_p - A progress monitor to use in case of a synchronous production (can be null if no progress reporting is required).
Returns:

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.