diff options
Diffstat (limited to 'bundles/org.eclipse.wst.xsd.ui/src-adt-xsd-typeviz/org/eclipse/wst/xsd/ui/internal/adt/typeviz/TypeVizEditorMode.java')
-rw-r--r-- | bundles/org.eclipse.wst.xsd.ui/src-adt-xsd-typeviz/org/eclipse/wst/xsd/ui/internal/adt/typeviz/TypeVizEditorMode.java | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd-typeviz/org/eclipse/wst/xsd/ui/internal/adt/typeviz/TypeVizEditorMode.java b/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd-typeviz/org/eclipse/wst/xsd/ui/internal/adt/typeviz/TypeVizEditorMode.java deleted file mode 100644 index ce5b93a294..0000000000 --- a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd-typeviz/org/eclipse/wst/xsd/ui/internal/adt/typeviz/TypeVizEditorMode.java +++ /dev/null @@ -1,43 +0,0 @@ -package org.eclipse.wst.xsd.ui.internal.adt.typeviz; - -import org.eclipse.gef.EditPartFactory; -import org.eclipse.jface.viewers.IContentProvider; -import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorMode; -import org.eclipse.wst.xsd.ui.internal.adt.outline.ADTContentOutlineProvider; -import org.eclipse.wst.xsd.ui.internal.adt.typeviz.design.figures.TypeVizFigureFactory; -import org.eclipse.wst.xsd.ui.internal.design.editparts.XSDEditPartFactory; - -public class TypeVizEditorMode extends EditorMode -{ - private EditPartFactory editPartFactory; - public final static String ID = "org.eclipse.wst.xsd.ui.typeviz"; - - public Object getAdapter(Class adapter) - { - return null; - } - - public String getDisplayName() - { - return "Advanced"; - } - - public EditPartFactory getEditPartFactory() - { - if (editPartFactory == null) - { - editPartFactory = new XSDEditPartFactory(new TypeVizFigureFactory()); - } - return editPartFactory; - } - - public String getId() - { - return ID; - } - - public IContentProvider getOutlineProvider() - { - return new ADTContentOutlineProvider(); - } -} |