PTP
Release 7.0

org.eclipse.ptp.etfw
Class ETFWUtils

java.lang.Object
  extended by org.eclipse.ptp.etfw.ETFWUtils

public class ETFWUtils
extends java.lang.Object

Utilities for accessing ETFW tools

Since:
7.0

Constructor Summary
ETFWUtils()
           
 
Method Summary
static java.util.ArrayList<AbstractToolDataManager> getPerfConfManagers()
          Initializes the list of user defined performance data managers if necessary and returns the list.
static AbstractToolDataManager getPerfDataManager(java.lang.String name)
          Given the name of a user defined performance data manager, returns the associatd AbstractToolDataManager object, or null if it is not found
static java.util.ArrayList<AbstractToolConfigurationTab> getPerfTabs()
          Returns the list of user defined performance tool configuration tab objects.
static ExternalToolProcess getTool(int dex)
          Returns the performance tool at index dex in the performance tools array
static ExternalToolProcess getTool(java.lang.String toolName)
          Returns the performance tool with the given name from the performance tools array, or null if not found
static IToolUITab[] getToolPanes()
          Returns an array of all of the non-virtual tool panes defined in available tool definition xml files Panes are ordered by tool, and within each tool by compilation, execution and analysis step
static ExternalToolProcess[] getTools()
          Returns an array of the ETFw tool objects defined in plugins or loaded from xml by the user
static java.util.ArrayList<IToolUITab> getToolUITabs()
          Returns a list of the tool UI tab objects defined by available tool workflows.
static void refreshTools(org.eclipse.jface.preference.IPreferenceStore store)
          Reinitializes the performance tool data structures from the given XML definition file(s).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ETFWUtils

public ETFWUtils()
Method Detail

getPerfConfManagers

public static java.util.ArrayList<AbstractToolDataManager> getPerfConfManagers()
Initializes the list of user defined performance data managers if necessary and returns the list.

Returns:

getPerfDataManager

public static AbstractToolDataManager getPerfDataManager(java.lang.String name)
Given the name of a user defined performance data manager, returns the associatd AbstractToolDataManager object, or null if it is not found

Parameters:
name - of the performance data manager
Returns:
selected performance data manager

getPerfTabs

public static java.util.ArrayList<AbstractToolConfigurationTab> getPerfTabs()
Returns the list of user defined performance tool configuration tab objects. Initializes the list first if necessary.

Returns:

getTool

public static ExternalToolProcess getTool(int dex)
Returns the performance tool at index dex in the performance tools array

Parameters:
dex -
Returns:

getTool

public static ExternalToolProcess getTool(java.lang.String toolName)
Returns the performance tool with the given name from the performance tools array, or null if not found

Parameters:
toolName -
Returns:

getToolPanes

public static IToolUITab[] getToolPanes()
Returns an array of all of the non-virtual tool panes defined in available tool definition xml files Panes are ordered by tool, and within each tool by compilation, execution and analysis step

Returns:
Since:
7.0

getTools

public static ExternalToolProcess[] getTools()
Returns an array of the ETFw tool objects defined in plugins or loaded from xml by the user

Returns:

getToolUITabs

public static java.util.ArrayList<IToolUITab> getToolUITabs()
Returns a list of the tool UI tab objects defined by available tool workflows. Initializes the list if necessary.

Since:
7.0

refreshTools

public static void refreshTools(org.eclipse.jface.preference.IPreferenceStore store)
Reinitializes the performance tool data structures from the given XML definition file(s).


PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.