public class MetamodelBrowser extends Object implements IAdaptable
Modifier and Type | Field and Description |
---|---|
static int |
CHECK_STYLE |
static int |
DEFAULT |
static int |
SHOW_CLASSIFIER_CONTENTS |
static int |
SHOW_PACKAGE_CONTENTS |
static int |
SHOW_PACKAGE_ONLY |
Constructor and Description |
---|
MetamodelBrowser(Composite parent) |
MetamodelBrowser(Composite parent,
int browserStyle) |
Modifier and Type | Method and Description |
---|---|
Object |
getAdapter(Class key) |
Composite |
getControl() |
<T> T |
getElementAdapter(Object element,
Class<T> adapter) |
List<EModelElement> |
getModelElementSelection() |
<T extends EModelElement> |
getModelElementSelection(Class<T> type) |
IPropertySheetPage |
getPropertySheetPage() |
TreeViewer |
getViewer() |
EObject |
navigate(EModelElement eModelElement) |
boolean |
setFocus() |
public static final int SHOW_PACKAGE_ONLY
public static final int SHOW_PACKAGE_CONTENTS
public static final int SHOW_CLASSIFIER_CONTENTS
public static final int CHECK_STYLE
public static final int DEFAULT
public MetamodelBrowser(Composite parent)
public MetamodelBrowser(Composite parent, int browserStyle)
public <T extends EModelElement> List<T> getModelElementSelection(Class<T> type)
public List<EModelElement> getModelElementSelection()
public Composite getControl()
public TreeViewer getViewer()
public EObject navigate(EModelElement eModelElement)
public boolean setFocus()
public Object getAdapter(Class key)
getAdapter
in interface IAdaptable
public IPropertySheetPage getPropertySheetPage()
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.