cz.cuni.pogamut.posh.explorer
Class ExplorerFactory

Package class diagram package ExplorerFactory
java.lang.Object
  extended by cz.cuni.pogamut.posh.explorer.ExplorerFactory

public final class ExplorerFactory
extends Object

Factory for creating the crawler explorers. Explorers are GUI elements that display crawled items.

Author:
Honza

Method Summary
static Explorer<cz.cuni.amis.pogamut.sposh.executor.PrimitiveData> createActionsExplorer(IPaletteActions paletteActions, org.netbeans.api.project.Project project, CrawlerListener<cz.cuni.amis.pogamut.sposh.executor.PrimitiveData>... listeners)
          Create explorer for actions (classes implementing IAction) on classpath of the project.
static Explorer<cz.cuni.amis.pogamut.sposh.elements.ActionPattern> createAPExplorer(IPaletteActions paletteActions, cz.cuni.amis.pogamut.sposh.elements.PoshPlan lapTree)
          Create explorer for action patterns in the @plan.
static Explorer<cz.cuni.amis.pogamut.sposh.elements.Competence> createCompetenceExplorer(IPaletteActions paletteActions, cz.cuni.amis.pogamut.sposh.elements.PoshPlan plan)
          Create explorer for competences in the @plan.
static Explorer<cz.cuni.amis.pogamut.sposh.executor.PrimitiveData> createSensesExplorer(IPaletteActions paletteActions, org.netbeans.api.project.Project project, CrawlerListener<cz.cuni.amis.pogamut.sposh.executor.PrimitiveData>... listeners)
          Create explorer for sense (classes implementing ISense) on classpath of the project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createActionsExplorer

public static Explorer<cz.cuni.amis.pogamut.sposh.executor.PrimitiveData> createActionsExplorer(IPaletteActions paletteActions,
                                                                                                org.netbeans.api.project.Project project,
                                                                                                CrawlerListener<cz.cuni.amis.pogamut.sposh.executor.PrimitiveData>... listeners)
Create explorer for actions (classes implementing IAction) on classpath of the project. The crawler for actions is automatically started, no need to start it.

Parameters:
paletteActions - Actions for the palette created explorer belongs to
project - Project whose classpath is searched for actions and used by the new action wizard.
listeners - Listeners to be registered with crawler, they are automatically removed, once crawling is finished.
Returns:
Created explorer.

createSensesExplorer

public static Explorer<cz.cuni.amis.pogamut.sposh.executor.PrimitiveData> createSensesExplorer(IPaletteActions paletteActions,
                                                                                               org.netbeans.api.project.Project project,
                                                                                               CrawlerListener<cz.cuni.amis.pogamut.sposh.executor.PrimitiveData>... listeners)
Create explorer for sense (classes implementing ISense) on classpath of the project. The crawler for sense is automatically started, no need to start it.

Parameters:
paletteActions - Actions for the palette created explorer belongs to
project - Project whose classpath is searched for sense.
listeners - Listeners to be registered with crawler, they are automatically removed, once crawling is finished.
Returns:
Created explorer.

createCompetenceExplorer

public static Explorer<cz.cuni.amis.pogamut.sposh.elements.Competence> createCompetenceExplorer(IPaletteActions paletteActions,
                                                                                                cz.cuni.amis.pogamut.sposh.elements.PoshPlan plan)
Create explorer for competences in the @plan.

Parameters:
paletteActions - Actions for the palette created explorer belongs to
plan - Plan in which explorer looks for competences.
Returns:
Created explorer

createAPExplorer

public static Explorer<cz.cuni.amis.pogamut.sposh.elements.ActionPattern> createAPExplorer(IPaletteActions paletteActions,
                                                                                           cz.cuni.amis.pogamut.sposh.elements.PoshPlan lapTree)
Create explorer for action patterns in the @plan.

Parameters:
paletteActions - Actions for the palette created explorer belongs to
plan - Plan in which explorer looks for action patterns.
Returns:
Created explorer


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.