public class WorkspaceEventImpl extends Object implements WorkspaceEvent
| Modifier and Type | Field and Description |
|---|---|
protected WorkspaceItem |
target |
protected WorkspaceEventType |
type |
| Constructor and Description |
|---|
WorkspaceEventImpl(WorkspaceEventType type,
WorkspaceItem target)
Create a new event.
|
| Modifier and Type | Method and Description |
|---|---|
WorkspaceItem |
getTarget() |
WorkspaceEventType |
getType() |
String |
toString() |
protected WorkspaceEventType type
protected WorkspaceItem target
public WorkspaceEventImpl(WorkspaceEventType type, WorkspaceItem target)
type - the event type.target - the event target.public WorkspaceItem getTarget()
getTarget in interface WorkspaceEventpublic WorkspaceEventType getType()
getType in interface WorkspaceEventCopyright © 2016. All Rights Reserved.