public interface Document extends Persistent, Contains, PropertiesSupport
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCESS_DOCUMENT_AUTHORIZATION |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ProjectDocumentListener listener)
Register a ProjectDocumentListener.
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Añade un listener para los cambios en las bounded properties
|
void |
afterAdd() |
void |
afterRemove() |
java.lang.String |
getComment()
Obtiene los comentarios del proyecto
|
java.lang.String |
getCreationDate()
Obtiene la fecha de creación del elemento
|
DocumentManager |
getFactory() |
javax.swing.JComponent |
getMainComponent()
Return the main JComponent associated to this document.
|
IWindow |
getMainWindow()
Return the main window associated to this document.
|
java.lang.String |
getName()
Obtiene el nombre del elemento
|
boolean |
getOpenWhenTheUserCreates() |
java.lang.String |
getOwner()
Obtiene el propietario del elemento
|
Project |
getProject() |
IWindow |
getPropertiesWindow() |
java.lang.String |
getTypeName() |
WindowLayout |
getWindowLayout() |
boolean |
isAvailable() |
boolean |
isLocked()
Tells whether if this project's element is locked/protected or not.
|
boolean |
isModified() |
boolean |
isTemporary() |
void |
lock()
Locks this project element protecting it from deleting from the project.
|
void |
refresh() |
void |
setComment(java.lang.String string)
Establece los comentarios del proyecto
|
void |
setCreationDate(java.lang.String string)
Establece la fecha de creación del elemento.
|
void |
setModified(boolean modified) |
void |
setName(java.lang.String string)
Establece el nombre del elemento
|
void |
setOwner(java.lang.String string)
Establece el propietario del elemento
|
void |
setProject(Project project) |
void |
setWindowLayout(WindowLayout layout) |
void |
unlock()
Unlocks this element.
|
loadFromState, saveToState
getProperties, getProperty, setProperty
static final java.lang.String ACCESS_DOCUMENT_AUTHORIZATION
java.lang.String getName()
void setName(java.lang.String string)
string
- java.lang.String getCreationDate()
java.lang.String getOwner()
java.lang.String getTypeName()
void setCreationDate(java.lang.String string)
string
- void setOwner(java.lang.String string)
string
- java.lang.String getComment()
void setComment(java.lang.String string)
string
- Project getProject()
void setProject(Project project)
void lock()
void unlock()
boolean isLocked()
DocumentManager getFactory()
boolean isModified()
void setModified(boolean modified)
void addListener(ProjectDocumentListener listener)
listener
- ProjectDocumentListenervoid addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- void afterRemove()
void afterAdd()
WindowLayout getWindowLayout()
void setWindowLayout(WindowLayout layout)
IWindow getPropertiesWindow()
IWindow getMainWindow()
this.getFactory().getMainWindow(doc)
javax.swing.JComponent getMainComponent()
this.getFactory().getMainComponent(doc)
boolean isTemporary()
boolean isAvailable()
boolean getOpenWhenTheUserCreates()
void refresh()