public class Selection extends ContextItem
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Activities.Presentation.View.Selection
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Activities.Presentation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: System.Activities.Presentation
|
static java.lang.String |
className
Qualified class name: System.Activities.Presentation.View.Selection
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Selection() |
Selection(IEnumerable_1 selectedObjects) |
Selection(IEnumerable_1 selectedObjects,
Predicate_1 match) |
Selection(IEnumerable selectedObjects) |
Selection(IEnumerable selectedObjects,
Predicate_1 match) |
Selection(ModelItem... selectedObjects) |
Selection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Selection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Selection, a cast assert is made to check if types are compatible. |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
ModelItem |
getPrimarySelection() |
IEnumerable_1 |
getSelectedObjects() |
int |
getSelectionCount() |
static Selection |
Select(EditingContext context,
ModelItem itemToSelect) |
static Selection |
SelectOnly(EditingContext context,
ModelItem itemToSelect) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
static void |
Subscribe(EditingContext context,
SubscribeContextCallback_1 handler) |
static Selection |
Toggle(EditingContext context,
ModelItem itemToToggle) |
static Selection |
Union(EditingContext context,
ModelItem itemToAdd) |
static void |
Unsubscribe(EditingContext context,
SubscribeContextCallback_1 handler) |
getItemTypepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic Selection()
throws java.lang.Throwable
java.lang.Throwablepublic Selection(IEnumerable_1 selectedObjects) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException
public Selection(IEnumerable_1 selectedObjects, Predicate_1 match) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException
public Selection(IEnumerable selectedObjects) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException
public Selection(IEnumerable selectedObjects, Predicate_1 match) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException
public Selection(ModelItem... selectedObjects) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic Selection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Selection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Selection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSelection instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ContextItemString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ContextItemString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ContextItemObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ContextItemString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ContextItemJCType representing the CLR Type of the instantiated Classpublic ModelItem getPrimarySelection() throws java.lang.Throwable
java.lang.Throwablepublic IEnumerable_1 getSelectedObjects() throws java.lang.Throwable
java.lang.Throwablepublic int getSelectionCount()
throws java.lang.Throwable
java.lang.Throwablepublic static Selection Select(EditingContext context, ModelItem itemToSelect) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException
public static Selection SelectOnly(EditingContext context, ModelItem itemToSelect) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class ContextItempublic static void Subscribe(EditingContext context, SubscribeContextCallback_1 handler) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException
public static Selection Toggle(EditingContext context, ModelItem itemToToggle) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException
public static Selection Union(EditingContext context, ModelItem itemToAdd) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException
public static void Unsubscribe(EditingContext context, SubscribeContextCallback_1 handler) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException