//TODO: move it to separate class
private Menu packageNewMenu() {
Menu m = new Menu();
m.addItem(new Item(constants.NewPackage1(), new BaseItemListenerAdapter() {
public void onClick(BaseItem item, EventObject e) {
NewPackageWizard wiz = new NewPackageWizard(new Command() {
public void execute() {
refreshPackageTree();
}
});
wiz.show();
}
}, "images/new_package.gif")); //NON-NLS
m.addItem(new Item(constants.NewRule(), new BaseItemListenerAdapter() {
public void onClick(BaseItem item, EventObject e) {