public class ElementlistManager
extends java.lang.Object
| Constructor and Description |
|---|
ElementlistManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fillElementList(IGetDataResponse pResp,
FileDescriptor pFD,
IElementList pElementList,
IExecutionContext pContext)
Finds the file output parameter from the given tool descriptor and
converts the physical element list into element list entries.
|
static void |
fillElementList(ISystemImage pImg,
java.io.InputStream pIS,
FileDescriptor pFD,
IElementList pElementList,
IExecutionContext pContext)
Deprecated.
used
fillElementList(IGetDataResponse, FileDescriptor, IElementList, IExecutionContext)
instead because the local code page
IGetDataResponse.getLocalCodePage() used to create
the input stream is needed to read it.) |
static void |
fillElementList(ToolDescriptor pTd,
IElementList pElementList,
ActionDescriptor filActDescr,
IExecutionContext pContext)
Finds the file output parameter from the given tool descriptor and
converts the physical element list into element list entries.
|
static ElementType |
getElementTypeFromProperties(java.util.Collection<IPropertyValue> pPropertyValues)
Gets the element type from a collection of property values by searching
the match name.
|
static IElement |
getLastInsertedElement()
Deprecated.
does not work anymore. Use logical resource operation names (
RActionTool.getAffectedResourceName()). |
static void |
notifyRefresh()
Deprecated.
does not refresh the tree view.
|
static void |
refreshElementList(IElementList pEleList,
boolean pPhysicalRefresh,
IExecutionContext pContext,
org.eclipse.core.runtime.IProgressMonitor pMon)
Refreshes an
IElementList. |
static void |
refreshElementList(IElementList pEleList,
boolean pPhysicalRefresh,
org.eclipse.core.runtime.IProgressMonitor pMon)
Refreshes an
IElementList. |
public static void fillElementList(ToolDescriptor pTd, IElementList pElementList, ActionDescriptor filActDescr, IExecutionContext pContext) throws TaurusCoreException, TaurusToolException
pTd - the tool descriptor containing the file output parameterpElementList - the element list to fillfilActDescr - the action descriptorpContext - the execution contextTaurusToolException - see TaurusCoreExceptionTaurusCoreException - if filling the element list fails for various reasons,
including:
@Deprecated public static void fillElementList(ISystemImage pImg, java.io.InputStream pIS, FileDescriptor pFD, IElementList pElementList, IExecutionContext pContext) throws TaurusCoreException, TaurusToolException
fillElementList(IGetDataResponse, FileDescriptor, IElementList, IExecutionContext)
instead because the local code page
IGetDataResponse.getLocalCodePage() used to create
the input stream is needed to read it.)pImg - the system imagepIS - contents of the physical element listpFD - the file descriptor of the physical element listpElementList - the element list to fillpContext - the execution contextTaurusToolException - see TaurusCoreExceptionTaurusCoreException - if filling the element list fails for various reasons,
including:
public static void fillElementList(IGetDataResponse pResp, FileDescriptor pFD, IElementList pElementList, IExecutionContext pContext) throws TaurusCoreException, TaurusToolException
pResp - the data response (contents of the physical element list and
the local code page used to create it)pFD - the file descriptor of the physical element listpElementList - the element list to fillpContext - the execution contextTaurusToolException - see TaurusCoreExceptionTaurusCoreException - if filling the element list fails for various reasons,
including:
@Deprecated public static void notifyRefresh()
public static ElementType getElementTypeFromProperties(java.util.Collection<IPropertyValue> pPropertyValues)
pPropertyValues - a collection of property values (usually the contents of a
physical element list line)null if no element type could be
foundProperty.getSpecialProperty(),
ESpecialProperties.ELEMENT_TYPE@Deprecated public static IElement getLastInsertedElement()
RActionTool.getAffectedResourceName()).public static void refreshElementList(IElementList pEleList, boolean pPhysicalRefresh, org.eclipse.core.runtime.IProgressMonitor pMon)
IElementList. Depending on the physical refresh
parameter, the list will be re-created or just updated.pEleList - the element list to be refreshedpPhysicalRefresh - if true the element list will be recreated by
calling its refresh-action. If false the list
will only be re-ordered.pMon - a progress monitorpublic static void refreshElementList(IElementList pEleList, boolean pPhysicalRefresh, IExecutionContext pContext, org.eclipse.core.runtime.IProgressMonitor pMon)
IElementList. Depending on the physical refresh
parameter, the list will be re-created or just updated.pEleList - the element list to be refreshedpPhysicalRefresh - if true the element list will be recreated by
calling its refresh-action. If false the list
will only be re-ordered.pContext - the execution contextpMon - progress monitorCopyright © 2015 Micro Focus GmbH. All rights reserved.