Gephi Toolkit Javadoc

org.gephi.datalab.api
Class DataLaboratoryHelper

java.lang.Object
  extended by org.gephi.datalab.api.DataLaboratoryHelper

public class DataLaboratoryHelper
extends java.lang.Object

Helper class for simplifying the use of Data Laboratory API and SPI.


Constructor Summary
DataLaboratoryHelper()
           
 
Method Summary
 void executeAttributeColumnsManipulator(AttributeColumnsManipulator m, AttributeTable table, AttributeColumn column)
          Prepares the dialog UI of a AttributeColumnsManipulator if it has one and executes the manipulator in a separate Thread when the dialog is accepted or directly if there is no UI.
 void executeManipulator(Manipulator m)
          Prepares the dialog UI of a manipulator if it has one and executes the manipulator in a separate Thread when the dialog is accepted or directly if there is no UI.
 AttributeColumnsManipulator getAttributeColumnsManipulatorByName(java.lang.String name)
          Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist
 AttributeColumnsManipulator[] getAttributeColumnsManipulators()
          Prepares an array that has one instance of every AttributeColumnsManipulator implementation that has a builder registered and returns it.
 AttributeColumnsMergeStrategy[] getAttributeColumnsMergeStrategies()
          Prepares an array that has one new instance of every AttributeColumnsMergeStrategy implementation that is registered.
 AttributeColumnsMergeStrategy getAttributeColumnsMergeStrategyByName(java.lang.String name)
          Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist
 AttributeRowsMergeStrategy[] getAttributeRowsMergeStrategies()
          Prepares an array that has one new instance of every AttributeRowsMergeStrategy implementation that is registered.
 AttributeRowsMergeStrategy getAttributeRowsMergeStrategyByName(java.lang.String name)
          Returns the AttributeRowsMergeStrategy with that class name or null if it does not exist
 AttributeValueManipulator getAttributeValueManipulatorByName(java.lang.String name)
          Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist
 AttributeValueManipulator[] getAttributeValueManipulators()
          Prepares an array with one new instance of every AttributeValueManipulator that has a builder registered and returns it.
static DataLaboratoryHelper getDefault()
           
 EdgesManipulator getEdgesManipulatorByName(java.lang.String name)
          Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist
 EdgesManipulator[] getEdgesManipulators()
          Prepares an array with one new instance of every EdgesManipulator that has a builder registered and returns it.
 GeneralActionsManipulator getGeneralActionsManipulatorByName(java.lang.String name)
          Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist
 GeneralActionsManipulator[] getGeneralActionsManipulators()
          Prepares an array with one instance of every GeneralActionsManipulator that is registered.
 NodesManipulator getNodesManipulatorByName(java.lang.String name)
          Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist
 NodesManipulator[] getNodesManipulators()
          Prepares an array with one new instance of every NodesManipulator that has a builder registered and returns it.
 PluginGeneralActionsManipulator getPluginGeneralActionsManipulatorByName(java.lang.String name)
          Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist
 PluginGeneralActionsManipulator[] getPluginGeneralActionsManipulators()
          Prepares an array with one instance of every PluginGeneralActionsManipulator that is registered.
 boolean showAttributeRowsMergeStrategyUIDialog(AttributeRowsMergeStrategy m)
          This method shows the UI of an AttributeRowsMergeStrategy if it is provided and the AttributeRowsMergeStrategy can be executed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataLaboratoryHelper

public DataLaboratoryHelper()
Method Detail

getNodesManipulators

public NodesManipulator[] getNodesManipulators()

Prepares an array with one new instance of every NodesManipulator that has a builder registered and returns it.

It also returns the manipulators ordered first by type and then by position.

Returns:
Array of all NodesManipulator implementations

getEdgesManipulators

public EdgesManipulator[] getEdgesManipulators()

Prepares an array with one new instance of every EdgesManipulator that has a builder registered and returns it.

It also returns the manipulators ordered first by type and then by position.

Returns:
Array of all EdgesManipulator implementations

getGeneralActionsManipulators

public GeneralActionsManipulator[] getGeneralActionsManipulators()

Prepares an array with one instance of every GeneralActionsManipulator that is registered.

It also returns the manipulators ordered first by type and then by position.

Returns:
Array of all GeneralActionsManipulator implementations

getPluginGeneralActionsManipulators

public PluginGeneralActionsManipulator[] getPluginGeneralActionsManipulators()

Prepares an array with one instance of every PluginGeneralActionsManipulator that is registered.

It also returns the manipulators ordered first by type and then by position.

Returns:
Array of all PluginGeneralActionsManipulator implementations

getAttributeColumnsManipulators

public AttributeColumnsManipulator[] getAttributeColumnsManipulators()

Prepares an array that has one instance of every AttributeColumnsManipulator implementation that has a builder registered and returns it.

It also returns the manipulators ordered first by type and then by position.

Returns:
Array of all AttributeColumnsManipulator implementations

getAttributeValueManipulators

public AttributeValueManipulator[] getAttributeValueManipulators()

Prepares an array with one new instance of every AttributeValueManipulator that has a builder registered and returns it.

It also returns the manipulators ordered first by type and then by position.

Returns:
Array of all AttributeValueManipulator implementations

getAttributeColumnsMergeStrategies

public AttributeColumnsMergeStrategy[] getAttributeColumnsMergeStrategies()

Prepares an array that has one new instance of every AttributeColumnsMergeStrategy implementation that is registered.

It also returns the manipulators ordered first by type and then by position.

Returns:
Array of all AttributeColumnsMergeStrategy implementations

getAttributeRowsMergeStrategies

public AttributeRowsMergeStrategy[] getAttributeRowsMergeStrategies()

Prepares an array that has one new instance of every AttributeRowsMergeStrategy implementation that is registered.

It also returns the manipulators ordered first by type and then by position.

Returns:
Array of all AttributeRowsMergeStrategy implementations

executeManipulator

public void executeManipulator(Manipulator m)
Prepares the dialog UI of a manipulator if it has one and executes the manipulator in a separate Thread when the dialog is accepted or directly if there is no UI.

Parameters:
m - Manipulator to execute

showAttributeRowsMergeStrategyUIDialog

public boolean showAttributeRowsMergeStrategyUIDialog(AttributeRowsMergeStrategy m)
This method shows the UI of an AttributeRowsMergeStrategy if it is provided and the AttributeRowsMergeStrategy can be executed. These UI only configures (calls unSetup) the AttributeRowsMergeStrategy if the dialog is accepted, and it does not execute the AttributeRowsMergeStrategy.

Parameters:
m - AttributeRowsMergeStrategy
Returns:
True if the AttributeRowsMergeStrategy UI is provided

executeAttributeColumnsManipulator

public void executeAttributeColumnsManipulator(AttributeColumnsManipulator m,
                                               AttributeTable table,
                                               AttributeColumn column)
Prepares the dialog UI of a AttributeColumnsManipulator if it has one and executes the manipulator in a separate Thread when the dialog is accepted or directly if there is no UI.

Parameters:
m - AttributeColumnsManipulator
table - Table of the column
column - Column to manipulate

getNodesManipulatorByName

public NodesManipulator getNodesManipulatorByName(java.lang.String name)
Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist


getEdgesManipulatorByName

public EdgesManipulator getEdgesManipulatorByName(java.lang.String name)
Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist


getGeneralActionsManipulatorByName

public GeneralActionsManipulator getGeneralActionsManipulatorByName(java.lang.String name)
Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist


getPluginGeneralActionsManipulatorByName

public PluginGeneralActionsManipulator getPluginGeneralActionsManipulatorByName(java.lang.String name)
Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist


getAttributeColumnsManipulatorByName

public AttributeColumnsManipulator getAttributeColumnsManipulatorByName(java.lang.String name)
Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist


getAttributeValueManipulatorByName

public AttributeValueManipulator getAttributeValueManipulatorByName(java.lang.String name)
Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist


getAttributeColumnsMergeStrategyByName

public AttributeColumnsMergeStrategy getAttributeColumnsMergeStrategyByName(java.lang.String name)
Returns the AttributeColumnsMergeStrategy with that class name or null if it does not exist


getAttributeRowsMergeStrategyByName

public AttributeRowsMergeStrategy getAttributeRowsMergeStrategyByName(java.lang.String name)
Returns the AttributeRowsMergeStrategy with that class name or null if it does not exist


getDefault

public static DataLaboratoryHelper getDefault()

Gephi Toolkit Javadoc