use of com.sun.web.ui.model.CCActionTableModel in project OpenAM by OpenRock.
the class PolicyOpViewBeanBase method createResponseProviderTableModels.
protected void createResponseProviderTableModels() {
tblResponseProvidersModel = new CCActionTableModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/tblPMResponseProviders.xml"));
tblResponseProvidersModel.setTitleLabel("label.items");
tblResponseProvidersModel.setActionValue("tblResponseProvidersButtonAdd", "button.new");
tblResponseProvidersModel.setActionValue("tblResponseProvidersButtonDelete", "button.delete");
tblResponseProvidersModel.setActionValue(TBL_RESPONSE_ATTRIBUTES_COL_NAME, "policy.responseproviders.table.column.name");
tblResponseProvidersModel.setActionValue(TBL_RESPONSE_ATTRIBUTES_COL_TYPE, "policy.responseproviders.table.column.type");
tblResponseProvidersModel.setActionValue(TBL_RESPONSE_ATTRIBUTES_COL_ACTION, "policy.responseproviders.table.column.action");
propertySheetModel.setModel(TBL_RESPONSE_ATTRIBUTES, tblResponseProvidersModel);
}
use of com.sun.web.ui.model.CCActionTableModel in project OpenAM by OpenRock.
the class PolicyOpViewBeanBase method createConditionTableModels.
protected void createConditionTableModels() {
tblConditionsModel = new CCActionTableModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/tblPMConditions.xml"));
tblConditionsModel.setTitleLabel("label.items");
tblConditionsModel.setActionValue("tblConditionsButtonAdd", "button.new");
tblConditionsModel.setActionValue("tblConditionsButtonDelete", "button.delete");
tblConditionsModel.setActionValue(TBL_CONDITIONS_COL_NAME, "policy.conditions.table.column.name");
tblConditionsModel.setActionValue(TBL_CONDITIONS_COL_TYPE, "policy.conditions.table.column.type");
propertySheetModel.setModel(TBL_CONDITIONS, tblConditionsModel);
}
use of com.sun.web.ui.model.CCActionTableModel in project OpenAM by OpenRock.
the class PolicyOpViewBeanBase method createSubjectTableModels.
protected void createSubjectTableModels() {
tblSubjectsModel = new CCActionTableModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/tblPMSubjects.xml"));
tblSubjectsModel.setTitleLabel("label.items");
tblSubjectsModel.setActionValue("tblSubjectsButtonAdd", "button.new");
tblSubjectsModel.setActionValue("tblSubjectsButtonDelete", "button.delete");
tblSubjectsModel.setActionValue(TBL_SUBJECTS_COL_NAME, "policy.subjects.table.column.name");
tblSubjectsModel.setActionValue(TBL_SUBJECTS_COL_TYPE, "policy.subjects.table.column.type");
tblSubjectsModel.setActionValue(TBL_SUBJECTS_COL_ACTION, "policy.subjects.table.column.action");
propertySheetModel.setModel(TBL_SUBJECTS, tblSubjectsModel);
}
use of com.sun.web.ui.model.CCActionTableModel in project OpenAM by OpenRock.
the class SCPolicyViewBean method createResourceComparatorTableModel.
private void createResourceComparatorTableModel() {
CCActionTableModel tblModel = new CCActionTableModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/tblPolicyResourceComparator.xml"));
tblModel.setTitleLabel("label.items");
tblModel.setActionValue(TBL_RESOURCE_COMPARATOR_COL_NAME, "policy.service.table.resource.comparator.name");
tblModel.setActionValue(TBL_RESOURCE_COMPARATOR_COL_ACTION, "policy.service.table.resource.comparator.action");
tblModel.setActionValue(TBL_RESOURCE_COMPARATOR_ADD_BTN, "policy.service.table.resource.comparator.add.button");
tblModel.setActionValue(TBL_RESOURCE_COMPARATOR_DELETE_BTN, "policy.service.table.resource.comparator.delete.button");
propertySheetModel.setModel(TBL_RESOURCE, tblModel);
}
use of com.sun.web.ui.model.CCActionTableModel in project OpenAM by OpenRock.
the class SCConfigConsoleViewBean method createTableModels.
protected void createTableModels() {
SCConfigModel model = (SCConfigModel) getModel();
tblModelConsole = new CCActionTableModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/tblSCConfigConsole.xml"));
List svcNames = model.getServiceNames(SEC_CONSOLE);
populateTableModel(tblModelConsole, svcNames, SEC_CONSOLE);
}
Aggregations