下面列出了怎么用org.eclipse.ui.IPerspectiveFactory的API类实例代码及写法,或者点击链接到github查看源代码。
@Override
public IPerspectiveFactory createFactory() {
try {
return new SimulationPerspectiveFactory(
(IPerspectiveFactory) getConfigElement().createExecutableExtension("class"));
} catch (final CoreException e) {
e.printStackTrace();
throw new RuntimeException(e);
}
}
SimulationPerspectiveFactory(final IPerspectiveFactory original) {
this.original = original;
}