com.togethersoft.openapi.ide.tools
Interface IdeToolManager


public interface IdeToolManager

Defines manager for this tool. Gives ability to launch tool command, load/save tool in config and other activities.

Author:
TogetherSoft
Since: Together 4.0
See Also: IdeTool, IdeToolFilter

Method Summary
 IdeToolFiltercreateDefaultToolFilter()
          Creates tool filter which recognizes filename pattern and assumes that first number
not in file name is line and second is column.
 IdeToolFiltercreatePatternToolFilter(String name)
          Creates pattern tool filter using patern saved in config under property name 'name'
( see tool.config for examples of such filters ).
 IdeToolFiltercreateTransparentToolFilter()
          Creates filter that just echoes all input into message window.
 voidlaunchTool(IdeContext context, IdeTool tool, boolean synchronous)
          Executes in specified IdeContext command described by IdeTool ,
whether blocking on execution ( synchronous == true ) or not .
 IdeToolloadTool(String propertyPrefix)
          Load tool from config stored under propertyPrefix in config : example tool.config loadTool("tool.a") will
load external editor tool.
 voidsaveTool(String propertyPrefix, IdeTool tool)
          Store tool under specified config prefix.
 voidsaveTool(IdeTool tool)
          Store Ide tool under default prefix - "tool".

Method Detail

createDefaultToolFilter

public IdeToolFilter createDefaultToolFilter()
Creates tool filter which recognizes filename pattern and assumes that first number
not in file name is line and second is column.

createPatternToolFilter

public IdeToolFilter createPatternToolFilter(String name)
Creates pattern tool filter using patern saved in config under property name 'name'
( see tool.config for examples of such filters ).

createTransparentToolFilter

public IdeToolFilter createTransparentToolFilter()
Creates filter that just echoes all input into message window.

launchTool

public void launchTool(IdeContext context, IdeTool tool, boolean synchronous)
Executes in specified IdeContext command described by IdeTool ,
whether blocking on execution ( synchronous == true ) or not .

loadTool

public IdeTool loadTool(String propertyPrefix)
Load tool from config stored under propertyPrefix in config : example tool.config loadTool("tool.a") will
load external editor tool.

saveTool

public void saveTool(String propertyPrefix, IdeTool tool)
Store tool under specified config prefix.

saveTool

public void saveTool(IdeTool tool)
Store Ide tool under default prefix - "tool".