Rectangle localBounds = SwingUtil.convertBoundsToGlassCoords(pane.getViewport());
if (localBounds.contains(p))
{
List result = new ArrayList();
result.add(new Importer("addNode", this, new DataFlavor [] { ClientFlavors.NODE_PROVIDER }));
result.add(new Importer("addTextElement", this, new DataFlavor [] { ClientFlavors.TEXT_ELEMENT }));
result.add(new Importer("addHLine", this, new DataFlavor [] { ModelerFlavors.HLINE }));
result.add(new Importer("addVLine", this, new DataFlavor [] { ModelerFlavors.VLINE }));
return result;
}
return null;