public interface ECPModelElementOpenTester
Modifier and Type | Field and Description |
---|---|
static int |
NOT_APPLICABLE
Return this whenever the opener can't open a specific element.
|
Modifier and Type | Method and Description |
---|---|
int |
isApplicable(Object eObject)
This is called by the ECPHandlerHelper to check how well the corresponding
ECPModelElementOpener can
handle
the current Obejct. |
static final int NOT_APPLICABLE
int isApplicable(Object eObject)
ECPModelElementOpener
can
handle
the current Obejct.
The Tester with the highest result will be chosen. If the corresponding ECPModelElementOpener
can't
handle the EObject, the result should be NOT_APPLICABLE
.eObject
- the Object
to openCopyright © 2016. All rights reserved.