/** * Default constructor. * * @param editor * {@link FormEditor} page belongs to. */ public ApplicationDefinitionPage(FormEditor editor) { super(editor, ID, TITLE); editor.addPropertyListener(this); ApplicationDefinitionEditorInput input = (ApplicationDefinitionEditorInput) getEditor().getEditorInput(); this.application = input.getApplication(); }
/** * Default constructor. * * @param formPage * {@link FormPage} creating the part. * @param parent * Parent composite. * @param toolkit * {@link FormToolkit} */ public ExcludeRulesPart(FormPage formPage, Composite parent, FormToolkit toolkit) { this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); checkAndGetEditorInput(); createPart(parent, toolkit); }
/** * Default constructor. * * @param formPage * Form page the block is being created on. */ public JmxMasterDetailsBlock(FormPage formPage) { this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); checkAndGetEditorInput(); this.jmxAssignments = new ArrayList<>(); if (CollectionUtils.isNotEmpty(profileData.getJmxBeanAssignments())) { jmxAssignments.addAll(profileData.getJmxBeanAssignments()); } this.serializationManager = InspectIT.getService(SerializationManagerProvider.class).createSerializer(); }
/** * @param formPage * {@link FormPage} part being displayed. */ public SensorAssignmentMasterBlock(FormPage formPage) { this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); checkAndGetEditorInput(); this.serializationManager = InspectIT.getService(SerializationManagerProvider.class).createSerializer(); }
/** * Constructor. * * @param formPage * The {@link FormPage} to create this master block for. */ public BusinessTransactionMasterBlock(FormPage formPage) { this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); ApplicationDefinitionEditorInput input = (ApplicationDefinitionEditorInput) formPage.getEditor().getEditorInput(); applicationDefinition = input.getApplication(); validationManager = new BusinessTransactionValidationManager(); }
/** * * @param formPage * {@link FormPage} creating the part. * @param parent * Parent composite. * @param toolkit * {@link FormToolkit} */ public AgentMappingPart(FormPage formPage, Composite parent, FormToolkit toolkit) { this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); this.managedForm = formPage.getManagedForm(); AgentMappingInput input = (AgentMappingInput) formPage.getEditor().getEditorInput(); this.cmrRepositoryDefinition = input.getCmrRepositoryDefinition(); this.agentMappings = input.getAgentMappings(); this.inputList = new ArrayList<>(); this.environments = new ArrayList<>(input.getEnvironments()); if (CollectionUtils.isNotEmpty(agentMappings.getMappings())) { inputList.addAll(agentMappings.getMappings()); } createPart(parent, toolkit); InspectIT.getDefault().getInspectITConfigurationInterfaceManager().addEnvironmentChangeListener(this); }
/** * Default constructor. * * @param formPage * {@link FormPage} section belongs to. * @param parent * Parent composite. * @param toolkit * {@link FormToolkit} * @param style * Style used for creating the section. */ public JmxSensorOptionsPart(FormPage formPage, Composite parent, FormToolkit toolkit, int style) { super(parent, toolkit, style); EnvironmentEditorInput input = (EnvironmentEditorInput) formPage.getEditor().getEditorInput(); this.environment = input.getEnvironment(); this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); // client createClient(getSection(), toolkit); // text and description on our own getSection().setText("JMX Sensor Options"); Label label = toolkit.createLabel(getSection(), "Define options for JMX sensor"); label.setForeground(toolkit.getColors().getColor(IFormColors.TITLE)); getSection().setDescriptionControl(label); }
/** * Default constructor. * * @param formPage * {@link FormPage} section belongs to. * @param parent * Parent composite. * @param toolkit * {@link FormToolkit} * @param style * Style used for creating the section. */ public ProfileSelectionPart(FormPage formPage, Composite parent, FormToolkit toolkit, int style) { super(parent, toolkit, style); EnvironmentEditorInput input = (EnvironmentEditorInput) formPage.getEditor().getEditorInput(); this.cmrRepositoryDefinition = input.getCmrRepositoryDefinition(); this.environment = input.getEnvironment(); this.profiles = new ArrayList<>(input.getProfiles()); this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); // client createClient(getSection(), toolkit); // text and description on our own getSection().setText("Profiles"); Label label = toolkit.createLabel(getSection(), "Select profiles to use within environment"); label.setForeground(toolkit.getColors().getColor(IFormColors.TITLE)); getSection().setDescriptionControl(label); // profile change listener InspectIT.getDefault().getInspectITConfigurationInterfaceManager().addProfileChangeListener(this); }
/** * Default constructor. * * @param formPage * {@link FormPage} section belongs to. * @param parent * Parent composite. * @param toolkit * {@link FormToolkit} * @param style * Style used for creating the section. */ public SensorOptionsPart(FormPage formPage, Composite parent, FormToolkit toolkit, int style) { super(parent, toolkit, style); EnvironmentEditorInput input = (EnvironmentEditorInput) formPage.getEditor().getEditorInput(); this.environment = input.getEnvironment(); this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); // client createClient(getSection(), toolkit); // text and description on our own getSection().setText("Sensor Options"); Label label = toolkit.createLabel(getSection(), "Define options for specific sensors"); label.setForeground(toolkit.getColors().getColor(IFormColors.TITLE)); getSection().setDescriptionControl(label); }
/** * Default constructor. * * @param formPage * {@link FormPage} section belongs to. * @param parent * Parent composite. * @param toolkit * {@link FormToolkit} * @param style * Style used for creating the section. */ public EnvironmentSettingsPart(FormPage formPage, Composite parent, FormToolkit toolkit, int style) { super(parent, toolkit, style); EnvironmentEditorInput input = (EnvironmentEditorInput) formPage.getEditor().getEditorInput(); this.environment = input.getEnvironment(); this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); // client createPart(getSection(), toolkit); // text and description on our own getSection().setText("Strategies and Options"); Label label = toolkit.createLabel(getSection(), "Define different options and strategies of the environment."); label.setForeground(toolkit.getColors().getColor(IFormColors.TITLE)); getSection().setDescriptionControl(label); }
/** * Default constructor. * * @param formPage * {@link FormPage} section belongs to. * @param parent * Parent composite. * @param toolkit * {@link FormToolkit} * @param style * Style used for creating the section. */ public PlatformSensorSelectionPart(FormPage formPage, Composite parent, FormToolkit toolkit, int style) { super(parent, toolkit, style); EnvironmentEditorInput input = (EnvironmentEditorInput) formPage.getEditor().getEditorInput(); this.environment = input.getEnvironment(); this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); // client createClient(getSection(), toolkit); // text and description on our own getSection().setText("Platform Sensors"); Label label = toolkit.createLabel(getSection(), "Select platform sensor to be active within environment"); label.setForeground(toolkit.getColors().getColor(IFormColors.TITLE)); getSection().setDescriptionControl(label); }
/** * Default constructor. * * @param formPage * {@link FormPage} section belongs to. * @param parent * Parent composite. * @param toolkit * {@link FormToolkit} * @param style * Style used for creating the section. */ public EUMSettingsPart(FormPage formPage, Composite parent, FormToolkit toolkit, int style) { super(parent, toolkit, style); EnvironmentEditorInput input = (EnvironmentEditorInput) formPage.getEditor().getEditorInput(); this.environment = input.getEnvironment(); this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); // client createPart(getSection(), toolkit); // text and description on our own getSection().setText("User Experience Monitoring"); Label label = toolkit.createLabel(getSection(), "Configuration of the User Experience Monitoring"); label.setForeground(toolkit.getColors().getColor(IFormColors.TITLE)); getSection().setDescriptionControl(label); }
/** * Default constructor. * * @param formPage * {@link FormPage} section belongs to. * @param parent * Parent composite. * @param toolkit * {@link FormToolkit} * @param style * Style used for creating the section. */ public LoggingSensorOptionsPart(FormPage formPage, Composite parent, FormToolkit toolkit, int style) { super(parent, toolkit, style); EnvironmentEditorInput input = (EnvironmentEditorInput) formPage.getEditor().getEditorInput(); this.environment = input.getEnvironment(); this.formPage = formPage; this.formPage.getEditor().addPropertyListener(this); // client createClient(getSection(), toolkit); // text and description on our own getSection().setText("Logging Sensor Options"); Label label = toolkit.createLabel(getSection(), "Define options for logging sensors"); label.setForeground(toolkit.getColors().getColor(IFormColors.TITLE)); getSection().setDescriptionControl(label); }