public final class ExecutableFileNode extends AbstractFileInfoNode
| Modifier and Type | Class and Description |
|---|---|
static class |
ExecutableFileNode.ExecutableDTO |
AbstractFileInfoNode.DataTransferObject, AbstractFileInfoNode.IChildrenFactory| Modifier and Type | Field and Description |
|---|---|
static DataFlavor |
DATA_FLAVOR
Descreve o formato de objeto que pode ser transferido pelas operações de
transferência (drag&drop ou clipboard) na árvore.
|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| Constructor and Description |
|---|
ExecutableFileNode(VersionTree tree,
csbase.logic.algorithms.AlgorithmVersionInfo version,
String platform,
csbase.logic.FileInfo file)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractFileInfoNode.DataTransferObject |
createDataTransferObject()
Cria um objeto utilizado para encapsular dados a serem transmitidos através
de um
TransferHandler. |
JPopupMenu |
createPopupMenu()
Cria um menu pop-up para este nó.
|
protected csbase.logic.IPathFactory |
createSourcePathFactory(AbstractFileInfoNode.DataTransferObject dto)
Obtém uma fábrica que gere um caminho físico até os arquivos representados
pelo dto.
|
protected csbase.logic.IPathFactory |
createTargetPathFactory()
Obtém uma fábrica que gere o caminho físico até o diretório representado
por este nó.
|
DataFlavor |
getDataFlavor()
Obtém o
DataFlavor do objeto.Este objeto só poderá ser exportado para um ITransferableTarget que aceitar este DataFlavor. |
String |
getPlatform()
Retorna o nome da plataforma associada a este nó.
|
csbase.logic.ClientAlgorithmFile.AlgorithmFileType |
getType()
Retorna o tipo de arquivo associado a este nó
|
addChild, allowMultipleSelection, canImport, compareTo, getData, getFile, getImageIcon, getSelectedFiles, getVersion, importDataadd, getName, getTree, getWindowbreadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toStringpublic static final DataFlavor DATA_FLAVOR
public ExecutableFileNode(VersionTree tree, csbase.logic.algorithms.AlgorithmVersionInfo version, String platform, csbase.logic.FileInfo file)
tree - Árvore que detém este nó.version - Versão que detém o arquivo representado por este nó.platform - Plataforma que detém o arquivo representado por este nó.file - Arquivo representado por este nó.public JPopupMenu createPopupMenu()
createPopupMenu in class AbstractVersionTreeNodepublic DataFlavor getDataFlavor()
DataFlavor do objeto.ITransferableTarget que aceitar este DataFlavor.DataFlavor do objeto.protected final AbstractFileInfoNode.DataTransferObject createDataTransferObject()
TransferHandler.createDataTransferObject in class AbstractFileInfoNodeTransferHandler.protected final csbase.logic.IPathFactory createSourcePathFactory(AbstractFileInfoNode.DataTransferObject dto)
createSourcePathFactory in class AbstractFileInfoNodedto - Objeto utilizado para encapsular dados a serem transmitidos
através de um TransferHandler.protected final csbase.logic.IPathFactory createTargetPathFactory()
createTargetPathFactory in class AbstractFileInfoNodepublic csbase.logic.ClientAlgorithmFile.AlgorithmFileType getType()
getType in class AbstractFileInfoNodepublic String getPlatform()
Copyright © 2019. All rights reserved.