blob: 99e9edff7362628c19081de94077d04b376b6d5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*******************************************************************************
* Copyright (c) 2004 Composent, Inc. and others. All rights reserved. This
* program and the accompanying materials are made available under the terms of
* the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors: Composent, Inc. - initial API and implementation
******************************************************************************/
package org.eclipse.ecf.core.sharedobject.events;
import org.eclipse.ecf.core.identity.ID;
public class SharedObjectActivatedEvent implements ISharedObjectActivatedEvent {
private final ID activatedID;
private final ID localContainerID;
public SharedObjectActivatedEvent(ID container, ID act) {
super();
this.localContainerID = container;
this.activatedID = act;
}
public ID getActivatedID() {
return activatedID;
}
public ID getLocalContainerID() {
return localContainerID;
}
public String toString() {
StringBuffer sb = new StringBuffer("SharedObjectActivatedEvent["); //$NON-NLS-1$
sb.append(getLocalContainerID()).append(";"); //$NON-NLS-1$
sb.append(getActivatedID()).append("]"); //$NON-NLS-1$
return sb.toString();
}
}
|