Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » IWorkbenchWindow at ApplyRefactoringScriptAction
IWorkbenchWindow at ApplyRefactoringScriptAction [message #851187] Fri, 20 April 2012 18:36
Jongwook Kim is currently offline Jongwook KimFriend
Messages: 7
Registered: March 2012
Junior Member
package org.eclipse.jdt.internal.ui.refactoring.actions;

public final class ApplyRefactoringScriptAction implements IWorkbenchWindowActionDelegate
{
...
private IWorkbenchWindow fWindow= null;
...

public void init(final IWorkbenchWindow window)
{
fWindow= window;
}
...
}

We can find IWorkbenchWindow is initialized by init(), and init() is called internally at running Eclipse. Could we create the same IWorkbenchWindow instance at Java codes?

[Updated on: Fri, 20 April 2012 18:38]

Report message to a moderator

Previous Topic:Adding Struts 2.x + Spring 2.5 + Hibernate 3.1 capabilities
Next Topic:how does eclipse debug java codes? it uses which jar classes, thx a lot
Goto Forum:
  


Current Time: Sat Dec 20 07:28:13 GMT 2014

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

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