Skip to main content

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


Hi Kathir, this question can be asked on the GEF newsgroup news://news.eclipse.org/eclipse.tools.gef

Cheers...
Anthony
--
Anthony Hunter mailto:anthonyh@xxxxxxxxxx
Software Development Manager: Eclipse Open Source Components
IBM Rational Software: Aurora / Modeling Tools
Phone: 613-591-7037



From: kathir <kathir@xxxxxxxxxxx>
To: gef-dev@xxxxxxxxxxx
Date: 01/02/2007 06:47 PM
Subject: [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.


_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gef-dev


Back to the top