public class ModuleLibraryTable extends java.lang.Object implements LibraryTable, LibraryTable.ModifiableModel
LibraryTable.Listener, LibraryTable.ModifiableModel
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static LibraryTablePresentation |
MODULE_LIBRARY_TABLE_PRESENTATION |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEditable
public static final LibraryTablePresentation MODULE_LIBRARY_TABLE_PRESENTATION
public Library [] getLibraries()
getLibraries
in interface LibraryTable
getLibraries
in interface LibraryTable.ModifiableModel
public Library createLibrary()
createLibrary
in interface LibraryTable
public Library createLibrary(java.lang.String name)
createLibrary
in interface LibraryTable
createLibrary
in interface LibraryTable.ModifiableModel
public Library createLibrary(java.lang.String name, PersistentLibraryKind type)
createLibrary
in interface LibraryTable.ModifiableModel
public Library createLibrary(java.lang.String name, PersistentLibraryKind kind, ProjectModelExternalSource externalSource)
createLibrary
in interface LibraryTable.ModifiableModel
public void removeLibrary(Library library)
removeLibrary
in interface LibraryTable
removeLibrary
in interface LibraryTable.ModifiableModel
public java.util.Iterator<Library> getLibraryIterator()
getLibraryIterator
in interface LibraryTable
getLibraryIterator
in interface LibraryTable.ModifiableModel
public java.lang.String getTableLevel()
getTableLevel
in interface LibraryTable
public LibraryTablePresentation getPresentation()
getPresentation
in interface LibraryTable
public Library getLibraryByName(java.lang.String name)
getLibraryByName
in interface LibraryTable
getLibraryByName
in interface LibraryTable.ModifiableModel
public void addListener(LibraryTable.Listener listener)
addListener
in interface LibraryTable
public void addListener(LibraryTable.Listener listener, Disposable parentDisposable)
addListener
in interface LibraryTable
public void removeListener(LibraryTable.Listener listener)
removeListener
in interface LibraryTable
public Module getModule()
public void commit()
commit
in interface LibraryTable.ModifiableModel
public void dispose()
Disposable
dispose
in interface Disposable
public boolean isChanged()
isChanged
in interface LibraryTable.ModifiableModel
public LibraryTable.ModifiableModel getModifiableModel()
LibraryTable
LibraryTable.ModifiableModel.commit()
or disposed Disposer.dispose(Disposable)
getModifiableModel
in interface LibraryTable