Search in sources :

Example 46 with StringParameterValue

use of au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue in project constellation by constellation-app.

the class VisualGraphTopComponent method getActions.

@Override
public Action[] getActions() {
    // Add new actions above the default actions.
    final ArrayList<Action> actionList = new ArrayList<>();
    // An action that closes the topcomponent without saving the (possibly modified) graph.
    final Action discard = new AbstractAction(DISCARD) {

        @Override
        public void actionPerformed(final ActionEvent e) {
            savable.setModified(false);
            close();
        }
    };
    actionList.add(discard);
    // If this graph is in a nebula, add some nebula-related actions.
    final NebulaDataObject nebula = getGraphNode().getDataObject().getNebulaDataObject();
    if (nebula != null) {
        // Discard the nebula without saving.
        final Action discardNebula = new AbstractAction("Discard nebula") {

            @Override
            public void actionPerformed(final ActionEvent e) {
                TopComponent.getRegistry().getOpened().stream().filter(tc -> (tc instanceof VisualGraphTopComponent)).map(tc -> (VisualGraphTopComponent) tc).forEach(vtc -> {
                    final NebulaDataObject ndo = vtc.getGraphNode().getDataObject().getNebulaDataObject();
                    if (nebula.equalsPath(ndo)) {
                        vtc.savable.setModified(false);
                        vtc.close();
                    }
                });
            }
        };
        actionList.add(discardNebula);
        // Are there any graphs in this nebula (if it exists) that need saving?
        final List<Savable> savables = getNebulaSavables(nebula);
        if (!savables.isEmpty()) {
            // There's at least one graph in this nebula that needs saving...
            final Action saveNebula = new AbstractAction("Save nebula") {

                @Override
                public void actionPerformed(final ActionEvent e) {
                    try {
                        for (final Savable s : savables) {
                            s.save();
                        }
                    } catch (final IOException ex) {
                        LOGGER.log(Level.SEVERE, ex.getLocalizedMessage(), ex);
                    }
                }
            };
            actionList.add(saveNebula);
        } else {
            // No graphs in this nebula need saving, so offer to close the nebula.
            final Action closeNebula = new AbstractAction("Close nebula") {

                @Override
                public void actionPerformed(final ActionEvent e) {
                    TopComponent.getRegistry().getOpened().stream().filter(tc -> (tc instanceof VisualGraphTopComponent)).map(tc -> (VisualGraphTopComponent) tc).forEach(vtc -> {
                        final NebulaDataObject ndo = vtc.getGraphNode().getDataObject().getNebulaDataObject();
                        if (nebula.equalsPath(ndo)) {
                            vtc.close();
                        }
                    });
                }
            };
            actionList.add(closeNebula);
        }
    }
    // An action that renames the topcomponent without saving the (possibly modified) graph.
    final Action rename = new AbstractAction("Rename") {

        @Override
        public void actionPerformed(final ActionEvent e) {
            final PluginParameters parameters = new PluginParameters();
            final PluginParameter<StringParameterValue> newGraphNameParameter = StringParameterType.build(NEW_GRAPH_NAME_PARAMETER_ID);
            newGraphNameParameter.setName("New Graph Name");
            newGraphNameParameter.setStringValue(graphNode.getDisplayName());
            newGraphNameParameter.storeRecentValue();
            parameters.addParameter(newGraphNameParameter);
            final PluginParametersSwingDialog dialog = new PluginParametersSwingDialog("Rename Graph", parameters);
            dialog.showAndWait();
            if (PluginParametersSwingDialog.OK.equals(dialog.getResult())) {
                final String newGraphName = parameters.getStringValue(NEW_GRAPH_NAME_PARAMETER_ID);
                if (!newGraphName.isEmpty()) {
                    try {
                        // set the graph object name so the name is retained when you Save As
                        graphNode.getDataObject().rename(newGraphName);
                        // set the other graph name properties
                        graphNode.setName(newGraphName);
                        graphNode.setDisplayName(newGraphName);
                        // set the top component
                        setName(newGraphName);
                        setDisplayName(newGraphName);
                        // this changes the text on the tab
                        setHtmlDisplayName(newGraphName);
                    } catch (final IOException ex) {
                        throw new RuntimeException(String.format("The name %s already exists.", newGraphName), ex);
                    }
                    savable.setModified(true);
                }
            }
        }
    };
    actionList.add(rename);
    // Add the default actions.
    for (final Action action : super.getActions()) {
        actionList.add(action);
    }
    return actionList.toArray(new Action[actionList.size()]);
}
Also used : Color(java.awt.Color) DropTarget(java.awt.dnd.DropTarget) GZIPInputStream(java.util.zip.GZIPInputStream) GraphObjectUtilities(au.gov.asd.tac.constellation.graph.file.GraphObjectUtilities) PluginParametersSwingDialog(au.gov.asd.tac.constellation.plugins.gui.PluginParametersSwingDialog) StringParameterType(au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterType) DrawLinksAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawLinksAction) RecordStore(au.gov.asd.tac.constellation.graph.processing.RecordStore) HandleIoProgress(au.gov.asd.tac.constellation.utilities.gui.HandleIoProgress) DropTargetAdapter(java.awt.dnd.DropTargetAdapter) ActionReference(org.openide.awt.ActionReference) StringUtils(org.apache.commons.lang3.StringUtils) DataObject(org.openide.loaders.DataObject) SchemaFactoryUtilities(au.gov.asd.tac.constellation.graph.schema.SchemaFactoryUtilities) PasteFromClipboardAction(au.gov.asd.tac.constellation.graph.interaction.plugins.clipboard.PasteFromClipboardAction) Map(java.util.Map) DropTargetDropEvent(java.awt.dnd.DropTargetDropEvent) SwingWorker(javax.swing.SwingWorker) UserInterfaceIconProvider(au.gov.asd.tac.constellation.utilities.icon.UserInterfaceIconProvider) GraphManager(au.gov.asd.tac.constellation.graph.manager.GraphManager) KeyStroke(javax.swing.KeyStroke) JToolBar(javax.swing.JToolBar) DropTargetDragEvent(java.awt.dnd.DropTargetDragEvent) Component(java.awt.Component) GraphChangeEvent(au.gov.asd.tac.constellation.graph.monitor.GraphChangeEvent) AutosaveUtilities(au.gov.asd.tac.constellation.graph.file.save.AutosaveUtilities) PluginInfo(au.gov.asd.tac.constellation.plugins.PluginInfo) NotifyDescriptor(org.openide.NotifyDescriptor) GraphUpdateController(au.gov.asd.tac.constellation.plugins.update.GraphUpdateController) ToggleSelectionModeAction(au.gov.asd.tac.constellation.graph.interaction.plugins.draw.ToggleSelectionModeAction) AbstractAction(javax.swing.AbstractAction) GraphJsonWriter(au.gov.asd.tac.constellation.graph.file.io.GraphJsonWriter) UpdateController(au.gov.asd.tac.constellation.plugins.update.UpdateController) NbBundle(org.openide.util.NbBundle) NbPreferences(org.openide.util.NbPreferences) GraphWriteMethods(au.gov.asd.tac.constellation.graph.GraphWriteMethods) ContractAllCompositesAction(au.gov.asd.tac.constellation.graph.interaction.plugins.composite.ContractAllCompositesAction) UndoRedo(org.openide.awt.UndoRedo) DrawBlazesAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawBlazesAction) DnDConstants(java.awt.dnd.DnDConstants) Action(javax.swing.Action) ImageUtilities(org.openide.util.ImageUtilities) BufferedOutputStream(java.io.BufferedOutputStream) ArrayList(java.util.ArrayList) Graph(au.gov.asd.tac.constellation.graph.Graph) DrawConnectionLabelsAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawConnectionLabelsAction) AbstractLookup(org.openide.util.lookup.AbstractLookup) GraphReadMethods(au.gov.asd.tac.constellation.graph.GraphReadMethods) Schema(au.gov.asd.tac.constellation.graph.schema.Schema) PluginTags(au.gov.asd.tac.constellation.plugins.templates.PluginTags) DrawFlags(au.gov.asd.tac.constellation.utilities.visual.DrawFlags) GraphUpdateManager(au.gov.asd.tac.constellation.plugins.update.GraphUpdateManager) ToggleDrawDirectedAction(au.gov.asd.tac.constellation.graph.interaction.plugins.draw.ToggleDrawDirectedAction) SaveAsCapable(org.openide.loaders.SaveAsCapable) PluginParameters(au.gov.asd.tac.constellation.plugins.parameters.PluginParameters) MemoryManager(au.gov.asd.tac.constellation.utilities.memory.MemoryManager) ButtonGroup(javax.swing.ButtonGroup) GraphDataObject(au.gov.asd.tac.constellation.graph.file.GraphDataObject) Node(org.openide.nodes.Node) IOException(java.io.IOException) FileUtils(org.apache.commons.io.FileUtils) GraphRecordStoreUtilities(au.gov.asd.tac.constellation.graph.processing.GraphRecordStoreUtilities) PluginException(au.gov.asd.tac.constellation.plugins.PluginException) File(java.io.File) FileExtensionConstants(au.gov.asd.tac.constellation.utilities.file.FileExtensionConstants) ActionReferences(org.openide.awt.ActionReferences) SimplePlugin(au.gov.asd.tac.constellation.plugins.templates.SimplePlugin) Savable(org.netbeans.api.actions.Savable) ActionID(org.openide.awt.ActionID) ReadableGraph(au.gov.asd.tac.constellation.graph.ReadableGraph) SimpleEditPlugin(au.gov.asd.tac.constellation.plugins.templates.SimpleEditPlugin) PluginType(au.gov.asd.tac.constellation.plugins.PluginType) CopyToClipboardAction(au.gov.asd.tac.constellation.graph.interaction.plugins.clipboard.CopyToClipboardAction) DrawNodeLabelsAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawNodeLabelsAction) VisualGraphDefaults(au.gov.asd.tac.constellation.graph.visual.framework.VisualGraphDefaults) CloseAction(au.gov.asd.tac.constellation.graph.interaction.plugins.io.CloseAction) HelpCtx(org.openide.util.HelpCtx) StringParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue) PluginExecution(au.gov.asd.tac.constellation.plugins.PluginExecution) BorderLayout(java.awt.BorderLayout) InstanceContent(org.openide.util.lookup.InstanceContent) DrawNodesAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawNodesAction) Lookup(org.openide.util.Lookup) SaveNotification(au.gov.asd.tac.constellation.graph.file.SaveNotification) UnsupportedFlavorException(java.awt.datatransfer.UnsupportedFlavorException) CutToClipboardAction(au.gov.asd.tac.constellation.graph.interaction.plugins.clipboard.CutToClipboardAction) Image(java.awt.Image) BufferedImage(java.awt.image.BufferedImage) Toggle3DAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.Toggle3DAction) Collection(java.util.Collection) SaveAsAction(au.gov.asd.tac.constellation.graph.interaction.plugins.io.SaveAsAction) Icon(javax.swing.Icon) Logger(java.util.logging.Logger) FileUtil(org.openide.filesystems.FileUtil) DrawConnectionsAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawConnectionsAction) DrawTransactionsAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawTransactionsAction) Dimension(java.awt.Dimension) List(java.util.List) RecordStoreUtilities(au.gov.asd.tac.constellation.graph.processing.RecordStoreUtilities) DeveloperPreferenceKeys(au.gov.asd.tac.constellation.preferences.DeveloperPreferenceKeys) Graphics(java.awt.Graphics) ApplicationPreferenceKeys(au.gov.asd.tac.constellation.preferences.ApplicationPreferenceKeys) VisualManager(au.gov.asd.tac.constellation.utilities.visual.VisualManager) CloneableTopComponent(org.openide.windows.CloneableTopComponent) ConnectionMode(au.gov.asd.tac.constellation.graph.schema.visual.attribute.objects.ConnectionMode) AbstractSavable(org.netbeans.spi.actions.AbstractSavable) StatusDisplayer(org.openide.awt.StatusDisplayer) GraphNodeFactory(au.gov.asd.tac.constellation.graph.node.GraphNodeFactory) TopComponent(org.openide.windows.TopComponent) DataFlavor(java.awt.datatransfer.DataFlavor) Transferable(java.awt.datatransfer.Transferable) UpdateComponent(au.gov.asd.tac.constellation.plugins.update.UpdateComponent) HashMap(java.util.HashMap) VisualConcept(au.gov.asd.tac.constellation.graph.schema.visual.concept.VisualConcept) SwingConstants(javax.swing.SwingConstants) Level(java.util.logging.Level) FileObject(org.openide.filesystems.FileObject) GraphChangeListener(au.gov.asd.tac.constellation.graph.monitor.GraphChangeListener) SwingUtilities(javax.swing.SwingUtilities) ToggleGraphVisibilityAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.ToggleGraphVisibilityAction) Graphics2D(java.awt.Graphics2D) PluginInteraction(au.gov.asd.tac.constellation.plugins.PluginInteraction) PluginParameter(au.gov.asd.tac.constellation.plugins.parameters.PluginParameter) DrawEdgesAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawEdgesAction) NebulaDataObject(au.gov.asd.tac.constellation.graph.file.nebula.NebulaDataObject) OutputStream(java.io.OutputStream) FileInputStream(java.io.FileInputStream) DialogDisplayer(org.openide.DialogDisplayer) PluginGraphs(au.gov.asd.tac.constellation.plugins.PluginGraphs) ActionEvent(java.awt.event.ActionEvent) DualGraph(au.gov.asd.tac.constellation.graph.locking.DualGraph) GraphVisualManagerFactory(au.gov.asd.tac.constellation.graph.interaction.framework.GraphVisualManagerFactory) ExpandAllCompositesAction(au.gov.asd.tac.constellation.graph.interaction.plugins.composite.ExpandAllCompositesAction) ConstellationLoggerHelper(au.gov.asd.tac.constellation.plugins.logging.ConstellationLoggerHelper) GraphNode(au.gov.asd.tac.constellation.graph.node.GraphNode) InputMap(javax.swing.InputMap) ConstellationIcon(au.gov.asd.tac.constellation.utilities.icon.ConstellationIcon) RecentGraphScreenshotUtilities(au.gov.asd.tac.constellation.graph.interaction.plugins.io.screenshot.RecentGraphScreenshotUtilities) InputStream(java.io.InputStream) DrawLinksAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawLinksAction) PasteFromClipboardAction(au.gov.asd.tac.constellation.graph.interaction.plugins.clipboard.PasteFromClipboardAction) ToggleSelectionModeAction(au.gov.asd.tac.constellation.graph.interaction.plugins.draw.ToggleSelectionModeAction) AbstractAction(javax.swing.AbstractAction) ContractAllCompositesAction(au.gov.asd.tac.constellation.graph.interaction.plugins.composite.ContractAllCompositesAction) DrawBlazesAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawBlazesAction) Action(javax.swing.Action) DrawConnectionLabelsAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawConnectionLabelsAction) ToggleDrawDirectedAction(au.gov.asd.tac.constellation.graph.interaction.plugins.draw.ToggleDrawDirectedAction) CopyToClipboardAction(au.gov.asd.tac.constellation.graph.interaction.plugins.clipboard.CopyToClipboardAction) DrawNodeLabelsAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawNodeLabelsAction) CloseAction(au.gov.asd.tac.constellation.graph.interaction.plugins.io.CloseAction) DrawNodesAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawNodesAction) CutToClipboardAction(au.gov.asd.tac.constellation.graph.interaction.plugins.clipboard.CutToClipboardAction) Toggle3DAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.Toggle3DAction) SaveAsAction(au.gov.asd.tac.constellation.graph.interaction.plugins.io.SaveAsAction) DrawConnectionsAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawConnectionsAction) DrawTransactionsAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawTransactionsAction) ToggleGraphVisibilityAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.ToggleGraphVisibilityAction) DrawEdgesAction(au.gov.asd.tac.constellation.graph.interaction.plugins.display.DrawEdgesAction) ExpandAllCompositesAction(au.gov.asd.tac.constellation.graph.interaction.plugins.composite.ExpandAllCompositesAction) ActionEvent(java.awt.event.ActionEvent) ArrayList(java.util.ArrayList) StringParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue) IOException(java.io.IOException) PluginParametersSwingDialog(au.gov.asd.tac.constellation.plugins.gui.PluginParametersSwingDialog) Savable(org.netbeans.api.actions.Savable) AbstractSavable(org.netbeans.spi.actions.AbstractSavable) NebulaDataObject(au.gov.asd.tac.constellation.graph.file.nebula.NebulaDataObject) PluginParameters(au.gov.asd.tac.constellation.plugins.parameters.PluginParameters) AbstractAction(javax.swing.AbstractAction)

Example 47 with StringParameterValue

use of au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue in project constellation by constellation-app.

the class FindFormatter method createParameters.

@Override
public PluginParameters createParameters() {
    PluginParameters params = new PluginParameters();
    final PluginParameter<StringParameterValue> findParameter = StringParameterType.build(FIND_PARAMETER_ID);
    findParameter.setName("Find");
    findParameter.setStringValue("");
    params.addParameter(findParameter);
    return params;
}
Also used : StringParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue) PluginParameters(au.gov.asd.tac.constellation.plugins.parameters.PluginParameters)

Example 48 with StringParameterValue

use of au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue in project constellation by constellation-app.

the class FindReplaceFormatter method createParameters.

@Override
public PluginParameters createParameters() {
    PluginParameters params = new PluginParameters();
    final PluginParameter<StringParameterValue> findParameter = StringParameterType.build(FIND_PARAMETER_ID);
    findParameter.setName("Find");
    findParameter.setStringValue("");
    params.addParameter(findParameter);
    final PluginParameter<StringParameterValue> replaceParameter = StringParameterType.build(REPLACE_PARAMETER_ID);
    replaceParameter.setName("Replace");
    replaceParameter.setStringValue("");
    params.addParameter(replaceParameter);
    return params;
}
Also used : StringParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue) PluginParameters(au.gov.asd.tac.constellation.plugins.parameters.PluginParameters)

Example 49 with StringParameterValue

use of au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue in project constellation by constellation-app.

the class ScriptFormatter method createParameters.

@Override
public PluginParameters createParameters() {
    PluginParameters params = new PluginParameters();
    final PluginParameter<StringParameterValue> scriptParameter = StringParameterType.build(SCRIPT_PARAMETER_ID);
    StringParameterType.setLines(scriptParameter, 10);
    scriptParameter.setName("Script");
    scriptParameter.setStringValue("");
    params.addParameter(scriptParameter);
    return params;
}
Also used : StringParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue) PluginParameters(au.gov.asd.tac.constellation.plugins.parameters.PluginParameters)

Example 50 with StringParameterValue

use of au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue in project constellation by constellation-app.

the class TestParameterBuildingPlugin method createParameters.

@Override
public PluginParameters createParameters() {
    final PluginParameters params = new PluginParameters();
    final PluginParameter<SingleChoiceParameterValue> fupChoiceParam = SingleChoiceParameterType.build(CHOICE_PARAMETER_ID);
    fupChoiceParam.setName(SOME_CHOICE_NAME);
    fupChoiceParam.setDescription(SOME_CHOICE_DESCRIPTION);
    SingleChoiceParameterType.setOptions(fupChoiceParam, Arrays.asList("Choice 1", "Choice 2", "Choice 3"));
    SingleChoiceParameterType.setChoice(fupChoiceParam, "Choice 1");
    params.addParameter(fupChoiceParam);
    final PluginParameter<LocalDateParameterValue> ldParam = LocalDateParameterType.build(LOCALDATE_PARAMETER_ID);
    ldParam.setName("Date");
    ldParam.setDescription("Pick a day");
    params.addParameter(ldParam);
    final PluginParameter<IntegerParameterValue> lenParam = IntegerParameterType.build(INT_PARAMETER_ID);
    lenParam.setName(SOME_INT_NAME);
    lenParam.setDescription(SOME_INT_DESCRIPTION);
    lenParam.setIntegerValue(5);
    params.addParameter(lenParam);
    final PluginParameter<FloatParameterValue> thresholdParam = FloatParameterType.build(FLOAT_PARAMETER_ID);
    thresholdParam.setName(FLOAT_NAME);
    thresholdParam.setDescription(FLOAT_DESCRIPTION);
    thresholdParam.setFloatValue(0F);
    FloatParameterType.setMinimum(thresholdParam, 0);
    FloatParameterType.setMaximum(thresholdParam, 1);
    FloatParameterType.setStep(thresholdParam, 0.1F);
    params.addParameter(thresholdParam);
    final PluginParameter<BooleanParameterValue> caseParam = BooleanParameterType.build(BOOLEAN_PARAMETER_ID);
    caseParam.setName(SOME_BOOLEAN_NAME);
    caseParam.setDescription(SOME_BOOLEAN_DESCRIPTION);
    params.addParameter(caseParam);
    for (int i = 0; i < 2; i++) {
        final PluginParameter<StringParameterValue> text = StringParameterType.build("text" + i);
        text.setName("Some text " + i);
        text.setDescription("Type some text into this thing");
        text.setStringValue("Value " + i);
        params.addParameter(text);
    }
    return params;
}
Also used : LocalDateParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.LocalDateParameterType.LocalDateParameterValue) FloatParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.FloatParameterType.FloatParameterValue) StringParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue) BooleanParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.BooleanParameterType.BooleanParameterValue) IntegerParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.IntegerParameterType.IntegerParameterValue) PluginParameters(au.gov.asd.tac.constellation.plugins.parameters.PluginParameters) SingleChoiceParameterValue(au.gov.asd.tac.constellation.plugins.parameters.types.SingleChoiceParameterType.SingleChoiceParameterValue)

Aggregations

PluginParameters (au.gov.asd.tac.constellation.plugins.parameters.PluginParameters)50 StringParameterValue (au.gov.asd.tac.constellation.plugins.parameters.types.StringParameterValue)50 BooleanParameterValue (au.gov.asd.tac.constellation.plugins.parameters.types.BooleanParameterType.BooleanParameterValue)13 SingleChoiceParameterValue (au.gov.asd.tac.constellation.plugins.parameters.types.SingleChoiceParameterType.SingleChoiceParameterValue)9 PluginParameter (au.gov.asd.tac.constellation.plugins.parameters.PluginParameter)6 ObjectParameterValue (au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue)5 ArrayList (java.util.ArrayList)5 Map (java.util.Map)5 ParameterChange (au.gov.asd.tac.constellation.plugins.parameters.ParameterChange)3 IntegerParameterValue (au.gov.asd.tac.constellation.plugins.parameters.types.IntegerParameterType.IntegerParameterValue)3 Graph (au.gov.asd.tac.constellation.graph.Graph)2 ColorParameterValue (au.gov.asd.tac.constellation.plugins.parameters.types.ColorParameterType.ColorParameterValue)2 NbPreferences (org.openide.util.NbPreferences)2 GraphElementType (au.gov.asd.tac.constellation.graph.GraphElementType)1 GraphReadMethods (au.gov.asd.tac.constellation.graph.GraphReadMethods)1 GraphWriteMethods (au.gov.asd.tac.constellation.graph.GraphWriteMethods)1 ReadableGraph (au.gov.asd.tac.constellation.graph.ReadableGraph)1 StoreGraph (au.gov.asd.tac.constellation.graph.StoreGraph)1 GraphDataObject (au.gov.asd.tac.constellation.graph.file.GraphDataObject)1 GraphObjectUtilities (au.gov.asd.tac.constellation.graph.file.GraphObjectUtilities)1