blob: 94df33a7003e9593e67a12b2fa4d7ade2ac0605a (
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
|
/*******************************************************************************
* Copyright (c) 2011 CEA LIST.
* 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:
* CEA LIST - initial API and implementation
*******************************************************************************/
package org.eclipse.papyrus.qompass.designer.core.extensions;
import org.eclipse.uml2.uml.InstanceSpecification;
import org.eclipse.uml2.uml.Property;
/**
* Interface used by Qompass extensions that supports specific instance configurators,
* used for containers.
*/
public interface IInstanceConfigurator {
/**
* configure an instance (within a container)
*
* @param instance
* the instance of an element which should be configured.
* @param componentPart
* the property that represents the component within the enclosing composite. May be null, if the instance
* that should be configured is the main instance.
* @param parentInstance
* additional information, if the element that should be configured is part of a container, e.g. an interceptor
* or an extension within the container.
*/
public void configureInstance(InstanceSpecification instance, Property componentPart, InstanceSpecification parentInstnace);
}
|