Package org.gvsig.app.project.documents
Interface DocumentAction
- All Superinterfaces:
org.gvsig.tools.extensionpoint.ExtensionSingleton
- All Known Implementing Classes:
AbstractDocumentAction,CopyDocumentAction,CutDocumentAction,PasteDocumentAction
public interface DocumentAction
extends org.gvsig.tools.extensionpoint.ExtensionSingleton
Interface que deben den cumplir las acciones asociadas
a un documento
Las acciones de un documento se registraran a traves del metodo registerDocumentAction del ProjectFactory
Por lo general extender de la clase AbstractDocumentAction
Las acciones de un documento se registraran a traves del metodo registerDocumentAction del ProjectFactory
Por lo general extender de la clase AbstractDocumentAction
-
Method Summary
Modifier and TypeMethodDescriptionvoidReturns a paragraph with the action description for this document type.getGroup()Gets the group name for this action.getId()Gets the unique identifier for this action.intgetOrder()Representa el orden en el que se presentara la accion entre elresto de acciones de este tipo documento alla donde estas se presenten.getTitle()Returns a phrase with the action title for this document.type.booleanisAvailable(Document document, List<Document> documents) boolean
-
Method Details
-
getId
String getId()Gets the unique identifier for this action.- Returns:
- id as String
-
isVisible
-
isAvailable
-
execute
- Parameters:
document- Optionally a document with a special role or null if there is not a document with a special roledocuments- Documents to manage
-
getGroup
DocumentActionGroup getGroup()Gets the group name for this action.- Returns:
- group name as String
-
getOrder
int getOrder()Representa el orden en el que se presentara la accion entre elresto de acciones de este tipo documento alla donde estas se presenten.- Returns:
- title as String
-
getTitle
String getTitle()Returns a phrase with the action title for this document.type.- Returns:
- description as String
-
getDescription
String getDescription()Returns a paragraph with the action description for this document type.- Returns:
- description as String
-