public class LibraryModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected URLPath |
clsPath |
protected URLPath |
docPath |
protected Library |
lib |
protected MutableLibraryList |
list |
protected java.lang.String |
name |
protected java.awt.Component |
panel |
protected URLPath |
srcPath |
Constructor and Description |
---|
LibraryModel(Library lib,
MutableLibraryList list,
java.awt.Component panel) |
Modifier and Type | Method and Description |
---|---|
Library |
commit() |
void |
setClassPath(URLPath path) |
void |
setDocPath(URLPath path) |
void |
setName(java.lang.String name) |
void |
setSourcePath(URLPath path) |
protected void |
showError(java.lang.String errMsg,
java.lang.String title) |
protected java.awt.Component panel
protected Library lib
protected java.lang.String name
protected MutableLibraryList list
protected URLPath clsPath
protected URLPath srcPath
protected URLPath docPath
public LibraryModel(Library lib, MutableLibraryList list, java.awt.Component panel)
public void setName(java.lang.String name)
public void setClassPath(URLPath path)
public void setSourcePath(URLPath path)
public void setDocPath(URLPath path)
public Library commit() throws java.lang.Exception
java.lang.Exception
protected void showError(java.lang.String errMsg, java.lang.String title)