#include "actionlayersremove.h"
-#include "rs_dialogfactory.h"
+#include "dialogfactory.h"
#include "drawing.h"
-ActionLayersRemove::ActionLayersRemove(RS_EntityContainer & container,
+ActionLayersRemove::ActionLayersRemove(EntityContainer & container,
GraphicView & graphicView):
ActionInterface("Remove Layer", container, graphicView)
{
void ActionLayersRemove::trigger()
{
- RS_DEBUG->print("ActionLayersRemove::trigger");
+ DEBUG->print("ActionLayersRemove::trigger");
if (graphic)
{
- RS_Layer * layer =
- RS_DIALOGFACTORY->requestLayerRemovalDialog(graphic->getLayerList());
+ Layer * layer =
+ DIALOGFACTORY->requestLayerRemovalDialog(graphic->getLayerList());
// Now remove the layer from the layer list:
graphic->removeLayer(layer);
}
finish();
- RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected());
+ DIALOGFACTORY->updateSelectionWidget(container->countSelected());
}
void ActionLayersRemove::init(int status)