Sunday, June 19, 2011

Adding a Damn View

Add extension point: org.eclipse.ui.views

Add extension:
id: com.blogspot.bananaesper.views.x
name: X
class: com.blogspot.bananaesper.XView

public class XView extends ViewPart {
public static final String ID = "com.blogspot.bananaesper.views.x";
}

public class Perspective implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(false);
layout.addView(XView.ID, IPageLayout.LEFT, 1.0f, layout.getEditorArea());
layout.addStandaloneView(XView.ID, false, IPageLayout.LEFT, 1.0f, layout.getEditorArea());
}
}

2 Comments:

At February 27, 2012, Anonymous Anonymous said...

Belstaff Brad jacket is the Tiger Shoes top luxury and fashion brand in the world which mainly specializes in producing the fashionable and luxurious clothing.

This style belstaff jacket outlet leather jacket is one of the most popular two Jackets.A veritable classic of the Belstaff range, exceptionally comfortable to wear.Four flap-and-press-stud front pockets,
< align="left">Belstaff Jackets practical for holding everything safely.This belatsff jacket men is intended to fit snugly to provide protection and ease of movement while Hogan Shoes on a motorcycle.

 
At May 14, 2012, Anonymous Portrait oil paintings said...

Very nice post,like your blog very much.Bookmark your blog and sharing with my friends.

 

Post a Comment

<< Home