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: pushpemdra.singh.headstrong.com

Hi
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)
activePage.getActiveEditor();

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:Rectanle Figure showing wide gaps
Goto Forum:
  


Current Time: Fri Apr 26 10:13:00 GMT 2024

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

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

Back to the top