did you have a look what happens in
zoomToSelectedItemsPlugIn.zoom()
?
how it works?
..ede
On 05.03.2013 13:29, Asma ouqalli wrote:
> i think i didn't get what u said.
> i have to run the execute method of ZoomtoSelectedItemsPlugin?
> ok here's the code of my plugin (the execute method):
>
>
Hi,
To zoom on the selected feature, you may also use lower level function.
You can access to viewport through
WorkbenchContext -> LayerViewPanel -> Viewport
then use the zoom method
Michaël
Check
i think i didn't get what u said.
i have to run the execute method of ZoomtoSelectedItemsPlugi
i think i didn't get what u said.
i have to run the execute method of ZoomtoSelectedItemsPlugin?
ok here's the code of my plugin (the execute method):
public boolean execute(final PlugInContext context) throws Exception {
reportNothingToUndoYet(context);
Layer layer=context.getSelectedLayer(0);
of course,
but be aware, you make your plugin dependent on the Zoom Plugin though... you
can try
A) run the execute() method programmatically
B) check the source of the Zoom Plugin and copy the parts you need, zooming
pretty much only uses OJ internals and zoom implementations are pretty
lightw
Hello michael,
thank you very much.
I want to ask if there is a possibility to use methods of a plugin in
another plugin.
because i need the zoom method in the ZoomToSelectedItemsPlugIn to use use
in mine, so as after clicking the search button, the plugin zoom on the
item found after returning the
Hi Asma,
i changed the method of doing that.
What i did until now is to create a class "SearchCadaste" where i
declared my frame containing Comboboxes and textfield and Search button.
i create also a plugin "ViewAtrributePlugIn" that calls the class. and
i want to fill the ComboBoxes so in the
Hello Michael
i changed the method of doing that.
What i did until now is to create a class "SearchCadaste" where i declared
my frame containing Comboboxes and textfield and Search button.
i create also a plugin "ViewAtrributePlugIn" that calls the class. and i
want to fill the ComboBoxes so in the
Hi,
OK, seems you already explored the code.
I feel like what you want to achieve is a bit different from
a AttributeTablePanel which is a component containing a
table (JTable) not ComboBoxes.
AttributeTablePanel is quite complex. It contains a special table
(with a geometry column), it is also
hello Micha,
what i want is to add a plugin that adds via a popupmenu a frame containing
AttributeTablePanel in a OneLayerAttributeTab.
this AttributeTAblePanel will contain 3 comboBox each one will be
populated by records of a specific column of the selected layer.
and im thinking on adapting th
Hi Asma,
Not sure I understand what you want to achieve.
Do you want to create a dialog box to allow the user to select attributes
Or do you want to display an Attribute Table with some attributes ?
To build a dialog box, com.vividsolutions.jump.workbench.ui.MultiInputDialog
is your friend.
In
Hello,
am trying to code a java class(plugin) that creates a popupmenuitem that
brings multiple attributes of the selected layer on a combobox on openjump.
am trying now to do the same as the "ViewAttributePlugIn" so instead of
bringing all the attributes, i want to bring only 3 columns on the comb
11 matches
Mail list logo