}
}
};
IAction flatAction =
new ToggleAction("org.jamesii.logview.toggle", "Flat",
IconManager.getIcon(IconIdentifier.FLAT_SMALL),
new String[] { "?last" }, null, null, this) {
/**
* The flat icon.
*/
@SuppressWarnings("unused")
private final Icon flatIcon = IconManager
.getIcon(IconIdentifier.FLAT_SMALL);
/**
* The hierarchical icon.
*/
@SuppressWarnings("unused")
private final Icon hierarchicalIcon = IconManager
.getIcon(IconIdentifier.HIERARCHICAL_SMALL);
@Override
protected void toggleChanged(boolean previousState) {
/*
* model.setFlat(!previousState); if (previousState) {
* this.setLabel("Flat"); this.setIcon(flatIcon); } else {
* this.setLabel("Hierarchical"); this.setIcon(hierarchicalIcon); }
*/
}
};
flatAction.setEnabled(false);
Icon exceptionIcon = null;
exceptionIcon = IconManager.getIcon(IconIdentifier.ERROR_SMALL, null);
final IAction showThrownAction =