commit | e9049c9e028f3c5ad34c4280bef4e773465f2fe0 | [log] [tgz] |
---|---|---|
author | kchong <kchong> | Tue Feb 12 04:01:51 2008 +0000 |
committer | kchong <kchong> | Tue Feb 12 04:01:51 2008 +0000 |
tree | 215fde61150cbf44bea0d161772c81825e9657d2 | |
parent | a9059141066aa0a463397abc9363ddaef9fb1426 [diff] |
[218370] file still marked as dirty when edit in design view then save in source view
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-adt/org/eclipse/wst/xsd/ui/internal/adt/editor/CommonMultiPageEditor.java b/bundles/org.eclipse.wst.xsd.ui/src-adt/org/eclipse/wst/xsd/ui/internal/adt/editor/CommonMultiPageEditor.java index cc26820..341ddc7 100644 --- a/bundles/org.eclipse.wst.xsd.ui/src-adt/org/eclipse/wst/xsd/ui/internal/adt/editor/CommonMultiPageEditor.java +++ b/bundles/org.eclipse.wst.xsd.ui/src-adt/org/eclipse/wst/xsd/ui/internal/adt/editor/CommonMultiPageEditor.java
@@ -462,25 +462,11 @@ } } - /** - * Returns <code>true</code> if the command stack is dirty - * - * @see org.eclipse.ui.ISaveablePart#isDirty() - */ - public boolean isDirty() - { - if (getCommandStack().isDirty()) - return true; - else - return super.isDirty(); - } - public StructuredTextEditor getTextEditor() { return structuredTextEditor; } - - + protected Composite createGraphPageComposite() { Composite parent = new Composite(getContainer(), SWT.NONE);