Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » getting current page index from MultiPageEditorPart
getting current page index from MultiPageEditorPart [message #222767] Wed, 13 September 2006 04:54
Eclipse UserFriend
Originally posted by:

i am having a multi page editor which extends MultiPageEditorPart and while
changing in my model, i call AbstractEditPart.refreshChildren(). so it
results in refresing all the pages of my editor(here in refreshChildren(),
one has to give the list of childerens which it demands in
getModelChildren().) so at one point i can get an instance of
MultiPageEditorPart and also the active page

IWorkbenchPage activePage =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage();
DesignGraphMultiPageEditor activeEditor = (DesignGraphMultiPageEditor)

but i do want the accordingly current editor page index for which refresing
is processing.
lets say that the active page is 2nd one but when it is refresing for page
1st i want to get that refresing page index =1.
can anyone please help me out
Previous Topic:Hooking a Table View with Graphical Editor
Next Topic:Can I change palette's title?
Goto Forum:

Current Time: Sun May 27 12:16:47 GMT 2018

Powered by FUDForum. Page generated in 0.01635 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top