Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] GEF PrintAction not enabled in the ViewPart

I added a printaction to the ViewPart by calling the makeActions() method inside the createControl Method.

private void makeActions() {
       printAction = new PrintAction(getSite().getPart());
}

I can see the print action added to the viewpart. But it is always disabled. How do i enable it?

Thanks in advance,

Regards
Kathir.




Back to the top