Restructured ComponentAdapter; added ManualSwitchAdapter
[Mograsim.git] / LogicUI / src / era / mi / gui / modeladapter / componentadapters / ComponentAdapter.java
index 8598fa8..c109d73 100644 (file)
@@ -11,6 +11,8 @@ import era.mi.logic.wires.Wire;
 
 public interface ComponentAdapter<G extends GUIComponent>
 {
+       public Class<G> getSupportedClass();
+
        public Component createAndLinkComponent(Timeline timeline, LogicModelParameters params, G guiComponent,
                        Map<Pin, Wire> logicWiresPerPin);
 }
\ No newline at end of file