if (myModuleEdge.getOperations() instanceof StoreFlowRateControllableOperations) myFlowratePropertiesFrame = new StoreFlowratePropertiesFrame(this, myModuleEdge.getOperations(), myModuleEdge.getStoreImpl());
ModuleEdge theModuleEdge = (ModuleEdge)getOwner(); if (theModuleEdge.getOperations() instanceof StoreFlowRateControllableOperations) myFlowratePropertiesFrame = new StoreFlowratePropertiesFrame(this, theModuleEdge.getOperations(), theModuleEdge.getStoreImpl());
    public void editProperties(int x, int y){        if (myFlowratePropertiesFrame == null){            if (myModuleEdge.getOperations() instanceof StoreFlowRateControllableOperations)            	myFlowratePropertiesFrame = new StoreFlowratePropertiesFrame(this, myModuleEdge.getOperations(), myModuleEdge.getStoreImpl());            else            	myFlowratePropertiesFrame = new SimEnvironmentFlowratePropertiesFrame(this, myModuleEdge.getOperations(), myModuleEdge.getSimEnvironmentImpl());            myFlowratePropertiesFrame.pack();        }        myFlowratePropertiesFrame.setLocation(x, y);        myFlowratePropertiesFrame.setVisible(true);    }