Package ucar.unidata.idv
Class JythonManager.LibHolder
java.lang.Object
ucar.unidata.ui.TextSearcher.TextWrapper
ucar.unidata.idv.JythonManager.LibHolder
- Enclosing class:
JythonManager
Class LibHolder holds all things for a single lib
- Version:
- $Revision: 1.3 $
- Author:
- IDV Development Team
-
Constructor Summary
ConstructorsConstructorDescriptionLibHolder
(boolean editable, JythonManager jythonManager, String label, ucar.unidata.idv.JythonManager.MyPythonEditor editor, String filePath, JComponent wrapper) ctor -
Method Summary
Methods inherited from class ucar.unidata.ui.TextSearcher.TextWrapper
find, getTextComponent, removeHighlights, resetToCurrentSearchIndex, setSearchIndex, setTextComponent
-
Constructor Details
-
LibHolder
public LibHolder(boolean editable, JythonManager jythonManager, String label, ucar.unidata.idv.JythonManager.MyPythonEditor editor, String filePath, JComponent wrapper) ctor- Parameters:
editable
- am I editablejythonManager
- the jytyon managerlabel
- lableeditor
- editorfilePath
- lib filewrapper
- wrapper
-
-
Method Details
-
getName
name- Returns:
- name
-
getFunctions
Parse the functions if needed- Returns:
- functions
-
isEditable
public boolean isEditable()Is this lib editable- Returns:
- is editable
-
getText
Get text- Returns:
- text
-
setText
Set text- Parameters:
text
- text
-
setText
Set text- Parameters:
text
- textandEnable
- enable
-
copy
public void copy()copy
-