package de.uks.beast.editor.provider;

import org.eclipse.graphiti.dt.AbstractDiagramTypeProvider;
import org.eclipse.graphiti.tb.IToolBehaviorProvider;

public class EditorDiagramTypeProvider extends AbstractDiagramTypeProvider
{
	
	private IToolBehaviorProvider[] toolBehaviorProviders;
	
	public EditorDiagramTypeProvider()
	{
		super();
		setFeatureProvider(new EditorFeatureProvider(this));
	}
	
	@Override
	public IToolBehaviorProvider[] getAvailableToolBehaviorProviders() {
        if (toolBehaviorProviders == null) {
            toolBehaviorProviders =
                new IToolBehaviorProvider[] { new EditorToolBehaviorProvider(this) };
        }
        return toolBehaviorProviders;
    }
	
}

@@ -258,17 +258,17 @@
 ovider%5B%5D
- 
+%09
 toolBeha
@@ -284,16 +284,20 @@
 ders;%0A%09%0A
+%09%0A%09%0A
 %09public 
@@ -398,16 +398,20 @@
 );%0A%09%7D%0A%09%0A
+%09%0A%09%0A
 %09@Overri
@@ -480,27 +480,22 @@
 viders()
- %7B%0A        
+%0A%09%7B%0A%09%09
 if (tool
@@ -524,23 +524,16 @@
 ull)
- %7B%0A            
+%0A%09%09%7B%0A%09%09%09
 tool
@@ -555,24 +555,8 @@
 rs =
-%0A               
  new
@@ -626,26 +626,14 @@
  %7D;%0A
-        %7D%0A        
+%09%09%7D%0A%09%09
 retu
@@ -662,12 +662,9 @@
 rs;%0A
-    
+%09
 %7D%0A%09%0A

test commit after fixing merging errors